-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 3.02 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 3.02 KB
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
89
90
91
92
93
{
"name": "js-xxhash",
"publishConfig": {
"access": "public",
"provenance": true
},
"version": "5.0.1",
"description": "Pure JS implementation of xxhash",
"main": "dist/cjs/index.cjs",
"types": "dist/cjs/index.d.cts",
"type": "module",
"exports": {
".": {
"import": "./index.mjs",
"types": "./dist/cjs/index.d.cts",
"require": "./dist/cjs/index.cjs"
}
},
"files": [
"index.mjs",
"dist/**",
"!dist/cjs/**/*.js",
"!dist/cjs/**/*.d.ts",
"!**/*.map",
"!**/*.perf.*",
"!**/*.test.*",
"!**/*.tsbuildinfo"
],
"scripts": {
"clean": "rimraf dist/**",
"test": "npm run test:esm && npm run test:integrations",
"test:esm": "mocha --recursive \"./dist/esm/**/*.test.js\"",
"test:integrations": "cd test && npm i && npm test",
"build": "tsc -b . && ts2mjs dist/cjs --cjs && npm run build:bundle",
"build:bundle": "esbuild --bundle --platform=node --target=node18 --outfile=dist/cjs/index.cjs src/index.ts",
"clean-build": "npm run clean && npm run build",
"coverage": "NODE_ENV=test c8 -r lcov -r html npm run test-ts",
"lint": "npm run install:test && eslint .",
"install:test": "cd test && npm i",
"prettier": "prettier . -w",
"test-ts": "mocha --experimental-specifier-resolution=node --experimental-loader=ts-node/esm --require ts-node/register --recursive \"src/**/*.test.ts\"",
"prepare": "npm run build",
"perf": "perf-insight --register jiti/register --file \"**/*.perf.{mts,ts}\"",
"insight:test": "perf-insight --register jiti/register --file \"test/**/*.perf.{mts,ts}\"",
"insight:utf8": "perf-insight --register jiti/register --file \"**/toUtf8.perf.{mts,ts}\"",
"ncu": "npx npm-check-updates",
"update-packages": "npx npm-check-updates -t semver -u && rimraf node_modules package-lock.json && npm i",
"watch": "tsc -b . -w"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Jason3S/xxhash.git"
},
"keywords": [
"xxhash",
"javascript",
"typescript"
],
"author": "Jason Dent",
"license": "MIT",
"bugs": {
"url": "https://github.com/Jason3S/xxhash/issues"
},
"homepage": "https://github.com/Jason3S/xxhash#readme",
"devDependencies": {
"@eslint/js": "^9.39.1",
"@tsconfig/node18": "^18.2.6",
"@types/chai": "^5.2.3",
"@types/mocha": "^10.0.10",
"@types/node": "^18.19.130",
"@types/xxhashjs": "^0.2.4",
"c8": "^10.1.3",
"chai": "^6.2.1",
"esbuild": "^0.27.0",
"eslint": "^9.39.1",
"globals": "^16.5.0",
"jiti": "^2.6.1",
"lorem-ipsum": "^2.0.8",
"mocha": "^11.7.5",
"perf-insight": "^2.0.1",
"prettier": "^3.6.2",
"ts-node": "^10.9.2",
"ts2mjs": "^4.0.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.47.0",
"xxhash-wasm": "^1.1.0",
"xxhashjs": "^0.2.2"
},
"engines": {
"node": ">=20.0.0"
},
"packageManager": "npm@11.6.2+sha512.ee22b335fcbc95662cdf3ab8a053daf045d9cf9c6df6040d28965abb707512b2c16fa6c5eec049d34c74f78f390cebd14f697919eadb97756564d4f9eccc4954"
}