summaryrefslogtreecommitdiff
path: root/node_modules/xxhash-wasm/package.json
blob: 2d60540501991ab9afb514c2645b7592710a2b86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
  "name": "xxhash-wasm",
  "version": "1.0.2",
  "description": "A WebAssembly implementation of xxHash",
  "type": "module",
  "main": "./cjs/xxhash-wasm.cjs",
  "module": "./esm/xxhash-wasm.js",
  "exports": {
    "types": "./types.d.ts",
    "import": "./esm/xxhash-wasm.js",
    "require": "./cjs/xxhash-wasm.cjs"
  },
  "types": "./types.d.ts",
  "author": "Michael Jungo <michaeljungo92@gmail.com>",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/jungomi/xxhash-wasm.git"
  },
  "files": [
    "cjs",
    "esm",
    "umd",
    "types.d.ts"
  ],
  "keywords": [
    "xxhash",
    "hash",
    "wasm",
    "webassembly"
  ],
  "scripts": {
    "build": "yarn run build-wasm && yarn run build-js",
    "build-js": "rollup -c",
    "build-wasm": "wasm-opt --enable-bulk-memory -O4 src/xxhash.wat -o src/xxhash.wasm",
    "clean": "rimraf coverage cjs esm umd",
    "fix": "eslint . --fix",
    "lint": "eslint .",
    "size": "bundlewatch",
    "test": "jest",
    "test-update": "jest --updateSnapshot",
    "test-coverage": "jest --coverage",
    "prebuild": "yarn run clean",
    "prepublish": "yarn run build"
  },
  "devDependencies": {
    "@babel/core": "^7.19.6",
    "@babel/eslint-parser": "^7.19.1",
    "@babel/preset-env": "^7.19.4",
    "bundlewatch": "^0.3.3",
    "eslint": "^8.26.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-prettier": "^4.2.1",
    "jest": "^29.2.2",
    "jest-t-assert": "^0.3.0",
    "node-gyp": "^9.3.0",
    "prettier": "^2.7.1",
    "rimraf": "^3.0.2",
    "rollup": "^3.2.5",
    "rollup-plugin-babel": "^4.4.0",
    "rollup-plugin-node-resolve": "^5.2.0",
    "rollup-plugin-replace": "^2.2.0",
    "rollup-plugin-terser": "^7.0.2"
  },
  "bundlewatch": {
    "files": [
      {
        "path": "./cjs/xxhash-wasm.cjs",
        "maxSize": "2.2kb"
      },
      {
        "path": "./esm/xxhash-wasm.js",
        "maxSize": "2.2kb"
      },
      {
        "path": "./umd/xxhash-wasm.js",
        "maxSize": "2.3kb"
      }
    ]
  },
  "packageManager": "yarn@3.2.4"
}