-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
82 lines (82 loc) · 2.01 KB
/
package.json
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 <[email protected]>",
"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.21.4",
"@babel/eslint-parser": "^7.21.3",
"@swc/core": "^1.3.46",
"@swc/jest": "^0.2.24",
"bundlewatch": "^0.3.3",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.5.0",
"jest-t-assert": "^0.3.0",
"node-gyp": "^9.3.1",
"prettier": "^2.8.7",
"rimraf": "^4.4.1",
"rollup": "^3.20.2",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-swc3": "^0.8.1"
},
"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": "[email protected]"
}