forked from magiclen/node-crc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 1.6 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
{
"name": "node-crc",
"version": "2.1.0",
"description": "To compute CRC values by providing the length of bits, expression, reflection, an initial value and a final xor value. It has many built-in CRC functions.",
"main": "lib/lib.js",
"typings": "lib/lib.d.ts",
"scripts": {
"build": "npm run build:ts && npm run build:neon",
"build:ts": "tsc",
"build:watch": "tsc -w",
"build:neon": "cargo-cp-artifact -nc index.node -- cargo build --release --message-format=json-render-diagnostics",
"build:bin": "./build.sh",
"build:clean": "rimraf target && rimraf bin && cargo clean && mkdir -p bin",
"lint": "eslint src tests --fix",
"test": "mocha -r ts-node/register tests/**/*.test.ts",
"check": "npm run lint && npm run test",
"prepublishOnly": "npm run build:bin && npm run lint && npm run test"
},
"engines": {
"node": ">=16"
},
"repository": {
"type": "git",
"url": "git+https://github.com/magiclen/node-crc.git"
},
"keywords": [
"node.js",
"crc",
"crc8",
"crc16",
"crc32",
"crc64"
],
"author": "Magic Len <[email protected]> (https://magiclen.org)",
"license": "MIT",
"bugs": {
"url": "https://github.com/magiclen/node-crc/issues"
},
"homepage": "https://magiclen.org/node-js-crc/",
"dependencies": {
"@types/node": "^18.11.17",
"detect-libc": "^2.0.1"
},
"devDependencies": {
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"cargo-cp-artifact": "^0.1.7",
"chai": "^4.3.7",
"eslint": "^8.30.0",
"mocha": "^10.2.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
}
}