-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
package.json
120 lines (120 loc) · 4.05 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "@tensorflow/tfjs-core",
"version": "0.0.0",
"description": "Hardware-accelerated JavaScript library for machine intelligence",
"private": false,
"main": "dist/index.js",
"jsdelivr": "dist/tf-core.min.js",
"unpkg": "dist/tf-core.min.js",
"types": "dist/index.d.ts",
"jsnext:main": "dist/index.mjs",
"module": "dist/index.mjs",
"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.9.0",
"@bazel/ibazel": "^0.15.10",
"@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": "6.3.2",
"karma-browserstack-launcher": "~1.6.0",
"karma-chrome-launcher": "~3.1.0",
"karma-jasmine": "~4.0.1",
"karma-typescript": "~5.5.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": "yarn build",
"build": "bazel build :tfjs-core_pkg",
"bundle": "bazel build :tfjs-core_pkg",
"bundle-ci": "yarn bundle",
"build-npm": "bazel build :tfjs-core_pkg",
"build-deps": "yarn build",
"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": "bazel run :tfjs-core_pkg.publish",
"lint": "tslint -p . -t verbose",
"coverage": "bazel coverage :tfjs-core_node_test",
"test": "bazel test --flaky_test_attempts=3 :tfjs-core_test :test_snippets_test :tfjs-core_node_test tfjs-core_async_backends_test --test_output=all",
"test-dev": "ibazel test --flaky_test_attempts=3 :tfjs-core_test :test_snippets_test :tfjs-core_node_test tfjs-core_async_backends_test --test_output=all",
"test-bundle-size": "./scripts/test-bundle-size.js",
"test-browser": "bazel test --flaky_test_attempts=3 :tfjs-core_test --test_output=all",
"test-browser-debug": "bazel run :tfjs-core_test",
"test-node": "bazel test :tfjs-core_node_test --test_output=all",
"test-node-debug": "bazel run :tfjs-core_node_test --config=debug",
"test-async-backends": "bazel test :tfjs-core_async_backends_test --test_output=all",
"test-snippets": "bazel test :test_snippets_test --test_output=all"
},
"dependencies": {
"@types/long": "^4.0.1",
"@types/offscreencanvas": "~2019.3.0",
"@types/seedrandom": "2.4.27",
"@types/webgl-ext": "0.0.30",
"long": "4.0.0",
"node-fetch": "~2.6.1",
"seedrandom": "2.4.3"
},
"browser": {
"node-fetch": false,
"util": false,
"crypto": false,
"worker_threads": false
},
"sideEffects": [
"./dist/index.js",
"./dist/engine.js",
"./dist/tensor.js",
"./dist/base_side_effects.js",
"./dist/flags.js",
"./dist/platforms/*.js",
"./dist/register_all_gradients.js",
"./dist/public/chained_ops/*.js",
"./dist/io/*.js",
"./dist/index.mjs",
"./dist/engine.mjs",
"./dist/tensor.mjs",
"./dist/base_side_effects.mjs",
"./dist/flags.mjs",
"./dist/platforms/*.mjs",
"./dist/register_all_gradients.mjs",
"./dist/public/chained_ops/*.mjs",
"./dist/io/*.mjs",
"./src/index.mjs",
"./src/engine.mjs",
"./src/tensor.mjs",
"./src/base_side_effects.mjs",
"./src/flags.mjs",
"./src/platforms/*.mjs",
"./src/register_all_gradients.mjs",
"./src/public/chained_ops/*.mjs",
"./src/io/*.mjs"
]
}