-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
55 lines (55 loc) · 1.74 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
{
"name": "@graphprotocol/cost-model",
"version": "0.1.18",
"description": "Cost model",
"main": "node-plugin/lib/index.js",
"types": "/node-plugin/lib/index.d.ts",
"files": [
"/node-plugin/lib",
"/node-plugin/src",
"/node-plugin/Cargo.toml",
"/lang/"
],
"repository": {
"type": "git",
"url": "https://github.com/graphprotocol/agora.git"
},
"author": "Zac Burns <[email protected]>",
"license": "MIT",
"os": [
"darwin",
"linux"
],
"cpu": [
"x64",
"arm",
"arm64"
],
"scripts": {
"build": "cargo-cp-artifact -a cdylib node_plugin ./node-plugin/native/index.node -- cargo build --manifest-path ./node-plugin/Cargo.toml --message-format=json-render-diagnostics",
"build-debug": "yarn build --",
"build-release": "yarn build --release",
"package": "node-pre-gyp package",
"publish-github-draft": "node-pre-gyp-github publish",
"publish-github": "node-pre-gyp-github publish --release",
"build-test-pack-publish": "yarn build-release && yarn test && yarn package && yarn publish-github",
"install": "node-pre-gyp install --fallback-to-build=false --update-binary || yarn build-release",
"test": "jest",
"clean": "cargo clean && rm -rf ./node-plugin/native ./build ./node_modules ./target"
},
"dependencies": {
"@mapbox/node-pre-gyp": "1.0.11",
"cargo-cp-artifact": "0.1.8"
},
"devDependencies": {
"jest": "27.5.1",
"node-pre-gyp-github": "1.4.4"
},
"binary": {
"module_name": "index",
"module_path": "./node-plugin/native",
"host": "https://github.com/graphprotocol/agora/releases/download/",
"remote_path": "v{version}",
"package_name": "graphprotocol-agora-plugin-v{version}-{node_abi}-{platform}-{arch}.tar.gz"
}
}