-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
62 lines (62 loc) · 2.41 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
{
"name": "sn_nodejs",
"version": "0.11.21",
"description": "NodeJS binding for SAFE API",
"main": "lib/index.js",
"author": "Josh Wilson <[email protected]>",
"contributors": "Gabriel Viganotti <[email protected]>",
"license": "(MIT OR BSD-3-Clause)",
"scripts": {
"postinstall": "node scripts/postinstall.js",
"build": "neon build --release",
"build-mock": "cross-env RUSTFLAGS=\"--cfg feature=\\\"scl-mock\\\"\" yarn build",
"download-node-abi": "node-pre-gyp install --fallback-to-build=false || neon build --release",
"package": "node-pre-gyp package",
"package-electron": "yarn node-pre-gyp package --runtime=electron --target=8.4.0 --dist-url=https://electronjs.org/headers",
"package-electron7": "yarn node-pre-gyp package --runtime=electron --target=7.3.2 --dist-url=https://electronjs.org/headers",
"publish-gh-draft": "node-pre-gyp-github publish --release",
"neon-build-electron": "cross-env npm_config_target=8.4.0 npm_config_arch=x64 npm_config_disturl=https://electronjs.org/headers npm_config_runtime=electron neon build --release",
"neon-build-electron7": "cross-env npm_config_target=7.3.2 npm_config_arch=x64 npm_config_disturl=https://electronjs.org/headers npm_config_runtime=electron neon build --release",
"test-api": "yarn test --testPathIgnorePatterns auth",
"test-auth": "safe auth stop || true && yarn jest auth",
"test-with-mock": "yarn build-mock && yarn test --testPathIgnorePatterns auth",
"test-with-node": "yarn build && yarn test",
"test": "jest"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/maidsafe/sn_nodejs.git"
},
"files": [
"native/index.node",
"lib",
"scripts"
],
"binary": {
"module_name": "index",
"host": "https://github.com/maidsafe/sn_nodejs/releases/download/",
"remote_path": "v{version}",
"package_name": "{node_abi}-{platform}-{arch}.tar.gz",
"module_path": "./native",
"pkg_path": "."
},
"dependencies": {
"add": "^2.0.6",
"neon-cli": "^0.4.0",
"node-pre-gyp": "amilajack/node-pre-gyp#neon-compat",
"node-pre-gyp-github": "^1.4.3",
"yarn": "^1.17.3"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"cross-env": "^7.0.2",
"husky": "^4.2.3",
"jest": "^25.2.4"
}
}