forked from tensorflow/tfjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 3.99 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "@tensorflow/tfjs-node",
"version": "0.0.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"gypfile": true,
"repository": {
"type": "git",
"url": "https://github.com/tensorflow/tfjs.git",
"directory": "tfjs-node"
},
"license": "Apache-2.0",
"engines": {
"node": ">=8.11.0"
},
"scripts": {
"build": "tsc && npx mkdirp dist/proto && cp src/proto/api_pb.js dist/proto/api_pb.js",
"build-ci": "tsc && npx mkdirp dist/proto && cp src/proto/api_pb.js dist/proto/api_pb.js",
"build-link-package": "cd ../link-package && yarn build",
"build-layers": "cd ../tfjs-layers && yarn && yarn build",
"build-layers-ci": "cd ../tfjs-layers && yarn && yarn build-ci",
"build-converter": "cd ../tfjs-converter && yarn && yarn build",
"build-converter-ci": "cd ../tfjs-converter && yarn && yarn build-ci",
"build-data": "cd ../tfjs-data && yarn && yarn build",
"build-data-ci": "cd ../tfjs-data && yarn && yarn build-ci",
"build-union": "cd ../tfjs && yarn && yarn build",
"build-union-ci": "cd ../tfjs && yarn && yarn build-ci",
"build-backend-webgl": "cd ../tfjs-backend-webgl && yarn && yarn build",
"build-backend-webgl-ci": "cd ../tfjs-backend-webgl && yarn && yarn build-ci",
"build-deps": "yarn build-link-package && yarn build-backend-webgl && yarn build-layers && yarn build-converter && yarn build-data && yarn build-union",
"build-deps-ci": "yarn build-link-package && yarn build-backend-webgl-ci && yarn build-layers-ci && yarn build-converter-ci && yarn build-data-ci && yarn build-union-ci",
"build-npm": "./scripts/build-npm.sh",
"build-addon": "./scripts/build-and-upload-addon.sh",
"build-addon-from-source": "node-pre-gyp install --build-from-source",
"clean-deps": "rm -rf deps && rm -rf lib",
"coverage": "nyc yarn ts-node -P tsconfig.test.json src/run_tests.ts",
"enable-gpu": "node scripts/install.js gpu download && yarn && yarn build-addon-from-source",
"ensure-cpu-gpu-packages-align": "node scripts/ensure-cpu-gpu-packages-align.js",
"format": "clang-format -i -style=Google binding/*.cc binding/*.h",
"install": "node scripts/install.js",
"install-from-source": "yarn clean-deps && yarn && yarn build-addon-from-source",
"link-local": "yalc link",
"lint": "tslint -p . -t verbose",
"prep": "cd node_modules/@tensorflow/tfjs-core && yarn && yarn build",
"publish-local": "yarn prep && yalc push",
"publish-npm": "npm publish",
"test": "yarn && yarn build-deps && yarn build && ts-node --transpile-only --skip-ignore -P tsconfig.test.json src/run_tests.ts",
"test-dev": "tsc && ts-node --transpile-only --skip-ignore -P tsconfig.test.json src/run_tests.ts",
"test-ci": "ts-node --transpile-only --skip-ignore -P tsconfig.test.json src/run_tests.ts",
"upload-windows-addon": "./scripts/build-and-upload-windows-addon.bat"
},
"devDependencies": {
"@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core",
"@types/jasmine": "~2.8.6",
"@types/node": "^10.5.1",
"@types/progress": "^2.0.1",
"@types/rimraf": "~2.0.2",
"@types/yargs": "^13.0.3",
"clang-format": "~1.2.2",
"jasmine": "~3.1.0",
"node-fetch": "~2.6.1",
"nyc": "^15.1.0",
"tmp": "^0.0.33",
"ts-node": "^5.0.1",
"tslint": "~6.1.3",
"tslint-no-circular-imports": "^0.7.0",
"typescript": "3.5.3",
"yalc": "~1.0.0-pre.50",
"yargs": "^16.2.0"
},
"dependencies": {
"@mapbox/node-pre-gyp": "1.0.4",
"@tensorflow/tfjs": "link:../tfjs",
"adm-zip": "^0.5.2",
"google-protobuf": "^3.9.2",
"https-proxy-agent": "^2.2.1",
"progress": "^2.0.0",
"rimraf": "^2.6.2",
"tar": "^4.4.6"
},
"binary": {
"module_name": "tfjs_binding",
"module_path": "./lib/napi-v{napi_build_version}",
"host": "https://storage.googleapis.com/tf-builds/pre-built-binary",
"remote_path": "./napi-v{napi_build_version}/{version}/",
"napi_versions": [
3,
4,
5,
6,
7,
8
]
}
}