-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
79 lines (79 loc) · 2.62 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
{
"author": "Frithjof Winkelmann <[email protected]>",
"name": "@hoff97/tensor-js",
"description": "PyTorch like deep learning inferrence library",
"keywords": [
"pytorch",
"deep-learning",
"gpu",
"tensors"
],
"homepage": "https://github.com/Hoff97/tensorjs",
"repository": {
"type": "git",
"url": "https://github.com/Hoff97/tensorjs.git"
},
"license": "MIT",
"version": "0.3.0",
"types": "./dist/lib/library.d.ts",
"main": "./dist/lib/library.js",
"files": [
"dist"
],
"scripts": {
"build": "wasm-pack build && mkdir -p lib/wasm && cp pkg/rust_wasm_tensor* lib/wasm && webpack --env=production && tsc && cp lib/wasm/rust_wasm_tensor_bg.wasm dist/lib/wasm",
"build:wasm": "wasm-pack build && mkdir -p lib/wasm && cp pkg/rust_wasm_tensor* lib/wasm",
"build:copyWasm": "cp lib/wasm/rust_wasm_tensor_bg.wasm dist/lib/wasm",
"build:js": "webpack --env=production",
"build:ts": "tsc",
"test": "npm run test:rust && npm run test:integration",
"test:integration": "karma start karma.conf.js",
"test:integrationDebug": "karma start karma.conf.js --debug",
"test:performance": "karma start karma.performance.js",
"test:rust": "cargo test --tests",
"test:rustBenchmark": "cargo +nightly bench --features benchmark",
"docs": "typedoc",
"testData": "ts-node --project tsconfig.dev.json tools/test.ts",
"onnxTable": "ts-node --project tsconfig.dev.json tools/onnxTable.ts",
"lint": "gts lint",
"clean": "gts clean",
"fix": "gts fix"
},
"devDependencies": {
"@types/benchmark": "^2.1.0",
"@types/jasmine": "^3.3.13",
"@types/node": "^14.11.2",
"@wasm-tool/wasm-pack-plugin": "^1.1.0",
"arraybuffer-loader": "^1.0.8",
"benchmark": "^2.1.4",
"copy-webpack-plugin": "^5.0.3",
"file-loader": "^6.2.0",
"gts": "^3.1.0",
"istanbul-instrumenter-loader": "^3.0.1",
"karma": "^4.1.0",
"karma-benchmark": "^1.0.4",
"karma-benchmarkjs-reporter": "^1.0.0",
"karma-chrome-launcher": "^2.2.0",
"karma-cli": "^2.0.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-firefox-launcher": "^2.1.0",
"karma-jasmine": "^2.0.1",
"karma-sourcemap-loader": "^0.3.8",
"karma-spec-reporter": "0.0.32",
"karma-webpack": "^4.0.2",
"puppeteer": "^5.5.0",
"rimraf": "^3.0.0",
"ts-loader": "^8.0.12",
"ts-node": "^9.1.1",
"typedoc": "^0.20.13",
"typescript": "^4.0.3",
"wdio-chromedriver-service": "^6.0.4",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.3",
"webpack-dev-server": "^3.7.1"
},
"dependencies": {
"onnx-proto": "^4.0.4",
"regl": "^2.0.1"
}
}