forked from tensorflow/tfjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.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
{
"name": "@tensorflow/tfjs-layers",
"version": "0.0.0",
"description": "TensorFlow layers API in JavaScript",
"license": "Apache-2.0 AND MIT",
"private": false,
"main": "dist/tf-layers.node.js",
"types": "dist/index.d.ts",
"jsnext:main": "dist/index.js",
"module": "dist/index.js",
"jsdelivr": "dist/tf-layers.min.js",
"unpkg": "dist/tf-layers.min.js",
"miniprogram": "dist/miniprogram",
"devDependencies": {
"@babel/polyfill": "^7.8.7",
"@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-backend-webgl": "link:../tfjs-backend-webgl",
"@tensorflow/tfjs-core": "link:../tfjs-core",
"@types/jasmine": "~2.5.53",
"clang-format": "~1.2.2",
"http-server": "~0.10.0",
"jasmine": "~3.1.0",
"jasmine-core": "~3.1.0",
"karma": "~4.2.0",
"karma-browserstack-launcher": "~1.6.0",
"karma-chrome-launcher": "~2.2.0",
"karma-firefox-launcher": "~1.1.0",
"karma-jasmine": "~1.1.1",
"karma-typescript": "~5.2.0",
"karma-typescript-es6-transform": "^5.0.2",
"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.11.0",
"tslint-no-circular-imports": "^0.5.0",
"typescript": "3.5.3",
"yalc": "~1.0.0-pre.21"
},
"scripts": {
"prep": "yarn install && yarn build-ci",
"build": "tsc && yarn bundle",
"build-ci": "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-backend-webgl": "cd ../tfjs-backend-webgl && yarn && yarn build",
"build-backend-webgl-ci": "cd ../tfjs-backend-webgl && yarn && yarn build-ci",
"build-core-ci": "cd ../tfjs-core && yarn && yarn build-ci",
"build-deps": "yarn build-core && yarn build-backend-cpu && yarn build-backend-webgl",
"build-deps-ci": "yarn build-core-ci && yarn build-backend-cpu-ci && yarn build-backend-webgl-ci",
"build-npm": "./scripts/build-npm.sh",
"format": "./tools/clang_format_ts.sh",
"link-local": "yalc link",
"publish-local": "yarn build-npm && yalc push",
"publish-npm": "npm publish",
"test": "yarn && yarn build-deps && karma start",
"test-dev": "karma start",
"test-ci": "./scripts/test-ci.sh",
"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",
"run-browserstack": "karma start --browsers='bs_chrome_mac' --singleRun --reporters='dots,karma-typescript'",
"lint": "tslint -p . -t verbose"
},
"peerDependencies": {
"@tensorflow/tfjs-core": "link:../tfjs-core"
}
}