-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.75 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
{
"name": "@depcheck-rs-node/core",
"repository": "https://github.com/Dominionys/depcheck-rs.git",
"version": "0.0.32",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/"
],
"napi": {
"name": "depcheck-rs-node",
"triples": {
"additional": [
"aarch64-apple-darwin",
"aarch64-linux-android",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
"aarch64-pc-windows-msvc",
"armv7-unknown-linux-gnueabihf",
"x86_64-unknown-linux-musl",
"x86_64-unknown-freebsd",
"i686-pc-windows-msvc",
"armv7-linux-androideabi"
]
}
},
"license": "MIT",
"engines": {
"node": ">= 10"
},
"scripts": {
"artifacts": "napi artifacts",
"prepublishOnly": "yarn build:ts && yarn copy-bindings && napi prepublish -t npm",
"version:patch": "cargo workspaces version patch --no-git-push --no-git-tag --no-global-tag -y && npm version patch",
"version": "napi version",
"build": "napi build --platform --cargo-name depcheck_rs_npm --js ./node/src/binding.js --dts ./node/src/binding.d.ts -p depcheck-rs-node --release",
"build:debug": "napi build --platform --cargo-name depcheck_rs_npm --js ./node/src/binding.js --dts ./node/src/binding.d.ts -p depcheck-rs-node",
"build:ts": "tsc --project tsconfig.build.json",
"build:ts:debug": "tsc --noEmit",
"test": "yarn copy-test-bindings && jest",
"clean": "rimraf node/dist",
"copy-bindings": "node copy-bindings.js",
"copy-test-bindings": "node copy-test-bindings.js"
},
"devDependencies": {
"@napi-rs/cli": "^2.10.1",
"@types/jest": "^27.4.1",
"jest": "^27.5.1",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.4",
"typescript": "^4.6.3"
}
}