-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
78 lines (78 loc) · 1.94 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
{
"name": "@spider-rs/spider-rs",
"version": "0.0.157",
"main": "index.js",
"types": "index.d.ts",
"napi": {
"name": "spider-rs",
"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",
"universal-apple-darwin"
]
}
},
"license": "MIT",
"keywords": [
"spider",
"crawler"
],
"repository": "https://github.com/spider-rs/spider-nodejs",
"devDependencies": {
"@napi-rs/cli": "^2.18.4",
"@swc-node/register": "^1.10.9",
"@swc/core": "^1.7.0",
"@types/node": "^20.14.5",
"ava": "^6.1.3",
"prettier": "^3.3.3",
"typescript": "^5.4.5"
},
"ava": {
"require": [
"@swc-node/register"
],
"extensions": [
"ts"
],
"timeout": "5m",
"workerThreads": false,
"environmentVariables": {
"TS_NODE_PROJECT": "./tsconfig.json"
}
},
"engines": {
"node": ">= 10"
},
"scripts": {
"artifacts": "napi artifacts",
"bench": "cd bench && npm run bench",
"bench:oss": "cd bench && npm run bench:oss",
"build": "napi build --platform --release --pipe \"prettier -w\"",
"build:debug": "napi build --platform --pipe \"prettier -w\"",
"format": "run-p format:prettier format:rs format:toml",
"format:prettier": "prettier . -w",
"format:toml": "taplo format",
"format:rs": "cargo fmt",
"lint": "eslint . -c ./.eslintrc.yml",
"prepublishOnly": "napi prepublish -t npm",
"test": "ava",
"version": "napi version"
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always"
},
"packageManager": "[email protected]"
}