-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
46 lines (46 loc) · 1.72 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
{
"name": "rust-fetch",
"version": "0.8.6",
"description": "Rust HTTP wrapper for JS",
"main": "dist/index.js",
"license": "UNLICENSED",
"repository": {
"type": "git",
"url": "git+https://github.com/TextsHQ/rust-fetch.git"
},
"binary": {
"module_name": "rf",
"host": "https://github.com/TextsHQ/rust-fetch/releases/download/",
"remote_path": "v{version}",
"module_path": ".",
"package_name": "rust-fetch-{platform}-{arch}-napi-v6.tar.gz",
"pkg_path": "."
},
"scripts": {
"build-rust": "cargo-cp-artifact -nc rf.node -- cargo build --message-format=json-render-diagnostics",
"build": "tsc && yarn build-rust --release",
"install": "node-pre-gyp install --fallback-to-build=false",
"package": "node-pre-gyp package",
"upload-binary": "node-pre-gyp-github publish",
"test": "jest",
"lint": "eslint lib tests --ext ts,tsx,js,jsx --cache && cargo clippy --all -- -D warnings",
"lint:fix": "eslint lib tests --ext ts,tsx,js,jsx --cache --fix && cargo clippy --all -- -D warnings --fix"
},
"devDependencies": {
"@textshq/eslint-config": "https://github.com/TextsHQ/eslint-config#main",
"@types/jest": "^26.0.23",
"@types/tough-cookie": "^4.0.2",
"cargo-cp-artifact": "^0.1",
"eslint": "^8.39.0",
"eslint-plugin-jest": "^27.2.1",
"express": "^4.18.2",
"jest": "^27.0.4",
"node-pre-gyp-github": "https://github.com/rumblefrog/node-pre-gyp-github.git",
"typescript": "^5.0.2"
},
"dependencies": {
"form-data": "^4.0.0",
"node-pre-gyp": "^0.17.0",
"tough-cookie": "^4.1.2"
}
}