forked from tensorflow/tfjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
95 lines (95 loc) · 3.13 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
{
"name": "@tensorflow/tfjs-backend-webgl",
"version": "0.0.0",
"description": "GPU accelerated WebGL backend for TensorFlow.js",
"private": false,
"main": "dist/tf-backend-webgl.node.js",
"jsdelivr": "dist/tf-backend-webgl.min.js",
"unpkg": "dist/tf-backend-webgl.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.git"
},
"license": "Apache-2.0",
"devDependencies": {
"@babel/polyfill": "^7.8.7",
"@bazel/bazelisk": "^1.10.1",
"@bazel/ibazel": "^0.15.10",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-typescript": "^3.0.0",
"@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core",
"@types/jasmine": "~3.0.0",
"clang-format": "~1.2.4",
"jasmine": "~3.1.0",
"jasmine-core": "~3.1.0",
"karma": "~6.3.1",
"karma-browserstack-launcher": "~1.6.0",
"karma-chrome-launcher": "~2.2.0",
"karma-commonjs": "^1.0.0",
"karma-jasmine": "~1.1.1",
"karma-typescript": "~5.5.1",
"karma-typescript-es6-transform": "^5.0.2",
"npm-run-all": "~4.1.3",
"rimraf": "~2.6.2",
"rollup": "~2.3.2",
"rollup-plugin-terser": "~7.0.2",
"rollup-plugin-visualizer": "~3.3.2",
"ts-node": "~7.0.0",
"typescript": "3.5.3",
"yalc": "~1.0.0-pre.50"
},
"scripts": {
"build-ci": "yarn build",
"build": "bazel build :tfjs-backend-webgl_pkg",
"bundle": "bazel build :tfjs-backend-webgl_pkg",
"bundle-ci": "yarn bundle",
"build-link-package": "cd ../link-package && yarn build",
"build-deps": "yarn build-link-package",
"build-deps-ci": "yarn build-deps",
"build-npm": "bazel build :tfjs-backend-webgl_pkg",
"link-local": "yalc link",
"publish-local": "rimraf dist/ && yarn build && rollup -c && yalc push",
"publish-npm": "bazel run :tfjs-backend-webgl_pkg.publish",
"test": "yarn test-dev",
"test-dev": "ibazel run :tfjs-backend-webgl2_test --test-output=streamed",
"coverage": "KARMA_COVERAGE=1 karma start --browsers='Chrome' --singleRun",
"run-browserstack": "bazel test :browserstack_bs_chrome_mac_tfjs-backend-webgl2_test"
},
"dependencies": {
"@tensorflow/tfjs-backend-cpu": "link:../link-package/node_modules/@tensorflow/tfjs-backend-cpu",
"@types/offscreencanvas": "~2019.3.0",
"@types/seedrandom": "2.4.27",
"@types/webgl-ext": "0.0.30",
"@types/webgl2": "0.0.6",
"seedrandom": "2.4.3"
},
"peerDependencies": {
"@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core"
},
"browser": {
"util": false,
"crypto": false
},
"sideEffects": [
"./dist/register_all_kernels.js",
"./dist/flags_webgl.js",
"./dist/base.js",
"./dist/index.js",
"./dist/register_all_kernels.mjs",
"./dist/flags_webgl.mjs",
"./dist/base.mjs",
"./dist/index.mjs",
"./src/register_all_kernels.mjs",
"./src/flags_webgl.mjs",
"./src/base.mjs",
"./src/index.mjs"
]
}