forked from distroinfinity/tfjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 3.6 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
{
"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-replace": "^2.3.3",
"@rollup/plugin-typescript": "^3.0.0",
"@tensorflow/tfjs-backend-cpu": "link:../tfjs-backend-cpu",
"@tensorflow/tfjs-core": "link:../tfjs-core",
"@types/argparse": "^1.0.38",
"@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",
"argparse": "^1.0.10",
"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",
"node-fetch": "~2.6.1",
"opn": "~5.1.0",
"protobufjs": "~6.8.6",
"rimraf": "~2.6.2",
"rollup": "~2.3.2",
"rollup-plugin-terser": "~7.0.2",
"rollup-plugin-visualizer": "~3.3.2",
"ts-morph": "^7.1.3",
"ts-node": "~8.8.2",
"tslint": "~6.1.3",
"tslint-no-circular-imports": "~0.7.0",
"typescript": "3.5.3",
"yalc": "~1.0.0-pre.50"
},
"scripts": {
"build": "yarn gen-json --test && yarn gen-kernel2ops && tsc && yarn bundle",
"build-ci": "yarn gen-json --test && yarn gen-kernel2ops && 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 build && yarn gen-json --test && yarn gen-kernel2ops && ts-node --transpile-only -P tsconfig.test.json src/run_tests.ts",
"test-ci": "ts-node --transpile-only --skip-ignore -P tsconfig.test.json src/run_tests.ts",
"test-dev": "tsc && ts-node --transpile-only -P tsconfig.test.json src/run_tests.ts",
"test-snippets": "yarn && yarn build-deps && yarn build && ts-node --skip-ignore -s ./scripts/test_snippets.ts",
"test-snippets-ci": "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",
"gen-kernel2ops": "ts-node -s scripts/kernels_to_ops.ts --out metadata/kernel2op.json"
}
}