forked from tensorflow/tfjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 3.26 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
{
"name": "@tensorflow/tfjs-converter",
"version": "0.0.0",
"description": "Tensorflow model converter for javascript",
"main": "dist/tf-converter.node.js",
"jsnext:main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"unpkg": "dist/tf-converter.min.js",
"jsdelivr": "dist/tf-converter.min.js",
"miniprogram": "dist/miniprogram",
"repository": {
"type": "git",
"url": "https://github.com/tensorflow/tfjs-converter.git"
},
"license": "Apache-2.0",
"peerDependencies": {
"@tensorflow/tfjs-core": "link:../tfjs-core"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-typescript": "^3.0.0",
"@tensorflow/tfjs-backend-cpu": "link:../tfjs-backend-cpu",
"@tensorflow/tfjs-core": "link:../tfjs-core",
"@types/deep-equal": "^1.0.1",
"@types/jasmine": "~2.8.6",
"@types/long": "~3.0.32",
"@types/node-fetch": "1.6.9",
"ajv": "~6.3.0",
"babel-core": "~6.26.3",
"babel-plugin-external-helpers": "~6.22.0",
"babel-preset-env": "~1.7.0",
"clang-format": "~1.2.2",
"copyfiles": "~1.2.0",
"deep-equal": "^1.0.1",
"jasmine-core": "~3.5.0",
"karma": "~4.0.1",
"karma-browserstack-launcher": "~1.4.0",
"karma-chrome-launcher": "~2.2.0",
"karma-firefox-launcher": "~1.1.0",
"karma-jasmine": "~2.0.1",
"karma-typescript": "~4.0.0",
"node-fetch": "~2.1.2",
"opn": "~5.1.0",
"protobufjs": "~6.8.6",
"rimraf": "~2.6.2",
"rollup": "~2.3.2",
"rollup-plugin-terser": "~5.3.0",
"rollup-plugin-visualizer": "~3.3.2",
"ts-node": "~8.8.2",
"tslint": "~5.8.0",
"tslint-no-circular-imports": "~0.5.0",
"typescript": "3.5.3",
"yalc": "~1.0.0-pre.21"
},
"scripts": {
"build": "yarn gen-json --test && tsc && yarn bundle",
"build-ci": "yarn gen-json --test && tsc && yarn bundle-ci",
"bundle": "rollup -c",
"bundle-ci": "rollup -c --ci",
"build-core": "cd ../tfjs-core && yarn && yarn build",
"build-backend-cpu": "cd ../tfjs-backend-cpu && yarn && yarn build",
"build-backend-cpu-ci": "cd ../tfjs-backend-cpu && yarn && yarn build-ci",
"build-core-ci": "cd ../tfjs-core && yarn && yarn build-ci",
"build-deps": "yarn build-core && yarn build-backend-cpu",
"build-deps-ci": "yarn build-core-ci && yarn build-backend-cpu",
"build-npm": "./scripts/build-npm.sh",
"link-local": "yalc link",
"publish-local": "yarn build-npm && yalc push",
"publish-npm": "npm publish",
"test": "yarn && yarn build-deps && yarn gen-json --test && ts-node -P tsconfig.test.json run_tests.ts",
"test-ci": "ts-node --skip-ignore -P tsconfig.test.json run_tests.ts",
"test-snippets": "ts-node --skip-ignore -s ./scripts/test_snippets.ts",
"lint": "tslint -p . -t verbose",
"make-version": "sh -c ./scripts/make-version",
"gen-doc": "ts-node -s ./scripts/gen_doc.ts",
"gen-json": "ts-node -s ./scripts/gen_json.ts",
"model-summary": "ts-node -s ./tools/model_summary.ts",
"pb2json": "ts-node -s ./tools/pb2json_converter.ts",
"build-pip-package": "yarn gen-json --test && cd python && ./build-pip-package.sh --test /tmp/tfjs-pips",
"run-python-tests": "yarn gen-json --test && cd python && ./run-python-tests.sh"
}
}