-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
73 lines (73 loc) · 1.92 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
{
"name": "piscina-locks",
"version": "3.0.0",
"description": "A Web Locks API implementation for Node.js",
"keywords": [
"worker_threads",
"locks"
],
"author": "James M Snell <[email protected]>",
"license": "MIT",
"main": "./dist/lib/index.js",
"exports": {
"import": "./dist/esm-wrapper.mjs",
"require": "./dist/lib/index.js"
},
"types": "./dist/lib/index.d.ts",
"scripts": {
"prebuildify": "prebuildify --napi --strip",
"install": "node-gyp-build",
"build": "npm run prebuildify && tsc && npm run gen-esm-wrapper",
"lint": "standardx \"**/*.{ts,mjs,js,cjs}\" | snazzy",
"test-only": "tap --ts",
"test": "npm run lint && npm run build && npm run test-only",
"gen-esm-wrapper": "gen-esm-wrapper . dist/esm-wrapper.mjs",
"prepack": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/piscinajs/piscina-locks.git"
},
"eslintConfig": {
"rules": {
"semi": [
"error",
"always"
],
"no-unused-vars": "off",
"no-use-before-define": "off",
"no-unreachable-loop": "off",
"no-dupe-class-members": "off",
"@typescript-eslint/no-unused-vars": "error"
},
"globals": {
"SharedArrayBuffer": true,
"Atomics": true,
"AbortController": true,
"MessageChannel": true
}
},
"standardx": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint/eslint-plugin"
]
},
"devDependencies": {
"@types/node": "^20.10.4",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"abort-controller": "^3.0.0",
"gen-esm-wrapper": "^1.1.3",
"prebuildify": "^6.0.1",
"snazzy": "^9.0.0",
"standardx": "^7.0.0",
"tap": "^15.0.6",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"dependencies": {
"node-addon-api": "^3.0.2",
"node-gyp-build": "^4.2.3"
}
}