forked from tensorflow/tfjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 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
86
87
88
89
90
91
92
93
94
{
"name": "@tensorflow/tfjs-core",
"version": "0.0.0",
"description": "Hardware-accelerated JavaScript library for machine intelligence",
"private": false,
"main": "dist/tf-core.node.js",
"jsdelivr": "dist/tf-core.min.js",
"unpkg": "dist/tf-core.min.js",
"types": "dist/index.d.ts",
"jsnext:main": "dist/index.js",
"module": "dist/index.js",
"miniprogram": "dist/miniprogram",
"engines": {
"yarn": ">= 1.3.2"
},
"repository": {
"type": "git",
"url": "https://github.com/tensorflow/tfjs-core.git"
},
"license": "Apache-2.0",
"devDependencies": {
"@bazel/bazelisk": "^1.3.0",
"@bazel/typescript": "^0.27.8",
"@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",
"@types/jasmine": "~3.0.0",
"@types/node": "~9.6.0",
"@types/node-fetch": "~2.1.2",
"clang-format": "~1.2.4",
"jasmine": "~3.1.0",
"jasmine-core": "~3.1.0",
"karma": "~4.2.0",
"karma-browserstack-launcher": "~1.4.0",
"karma-chrome-launcher": "~2.2.0",
"karma-jasmine": "~1.1.0",
"karma-typescript": "~4.1.1",
"npm-run-all": "~4.1.3",
"rimraf": "~2.6.2",
"rollup": "~2.3.2",
"rollup-plugin-terser": "~5.3.0",
"rollup-plugin-visualizer": "~3.3.2",
"shelljs": "~0.8.3",
"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",
"yargs": "~13.2.2"
},
"scripts": {
"build-ci": "./scripts/enumerate-tests.js --ci && tsc && yarn bundle-ci && yarn build-test-snippets",
"build": "node ./scripts/enumerate-tests.js && tsc && yarn bundle",
"bundle": "rollup -c",
"bundle-ci": "rollup -c --ci",
"build-npm": "./scripts/build-npm.sh",
"build-deps": "yarn build && yarn build-cpu-backend",
"build-deps-ci": "yarn build-ci && yarn build-cpu-backend-ci",
"build-cpu-backend": "cd ../tfjs-backend-cpu && yarn && yarn build",
"build-cpu-backend-ci": "cd ../tfjs-backend-cpu && yarn && yarn build-ci",
"build:bazel": "bazelisk build //...",
"build-test-snippets": "yarn tsc --project ./scripts/test_snippets/tsconfig.json",
"format-all": "clang-format -i -style=Google --glob=src/**/*.ts",
"link-local": "yalc link",
"publish-local": "rimraf dist/ && yarn build && rollup -c && yalc push",
"publish-npm": "npm publish",
"lint": "tslint -p . -t verbose",
"coverage": "KARMA_COVERAGE=1 karma start --browsers='Chrome' --singleRun",
"test": "yarn && yarn build-deps && karma start",
"test-ci": "./scripts/test-ci.sh",
"test-webworker": "karma start --worker",
"run-browserstack": "karma start --browserstack",
"test-bundle-size": "./scripts/test-bundle-size.js",
"test-node": "rimraf dist/ && yarn build && ts-node --skip-ignore -P tsconfig.test.json dist/test_node.js",
"test-node-ci": "ts-node -P tsconfig.test.json dist/test_node.js",
"test-async-backends": "rimraf dist/ && yarn build && ts-node -P tsconfig.test.json dist/test_async_backends.js",
"test-async-backends-ci": "ts-node -P tsconfig.test.json dist/test_async_backends.js",
"test-snippets": "yarn build && yarn build-cpu-backend && ts-node -P tsconfig.test.json ./scripts/test_snippets/test_snippets.ts"
},
"dependencies": {
"@types/offscreencanvas": "~2019.3.0",
"@types/seedrandom": "2.4.27",
"@types/webgl-ext": "0.0.30",
"@types/webgl2": "0.0.4",
"node-fetch": "~2.1.2",
"seedrandom": "2.4.3"
},
"browser": {
"node-fetch": false,
"util": false,
"crypto": false
}
}