-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
88 lines (88 loc) · 2.19 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
83
84
85
86
87
88
{
"name": "xxhash-wasm",
"version": "1.1.0",
"description": "A WebAssembly implementation of xxHash",
"type": "module",
"main": "./cjs/xxhash-wasm.cjs",
"module": "./esm/xxhash-wasm.js",
"exports": {
"types": "./types.d.ts",
"workerd": "./workerd/xxhash-wasm.js",
"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",
"workerd",
"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.26.0",
"@babel/eslint-parser": "^7.25.9",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.15.0",
"@swc/core": "^1.9.2",
"@swc/jest": "^0.2.37",
"bundlewatch": "^0.4.0",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.12.0",
"jest": "^29.7.0",
"jest-t-assert": "^0.3.0",
"node-gyp": "^10.2.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"rollup": "^4.27.3",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-swc3": "^0.12.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]"
}