-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
executable file
·61 lines (61 loc) · 1.5 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
{
"name": "libtorchjs",
"version": "1.0.0-alpha.4",
"description": "Node.js N-API wrapper for Libtorch",
"main": "lib/index.js",
"author": "Vova Manannikov <[email protected]>",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/vvmnnnkv/libtorchjs"
},
"engines": {
"node": "^6.14.2 || ^8 || ^9.11 || >=10"
},
"os": [
"linux",
"win32"
],
"cpu": [
"x64"
],
"keywords": [
"libtorch",
"pytorch",
"tensor",
"ScriptModule",
"neural-network",
"deep-learning",
"n-api",
"pre-built"
],
"scripts": {
"install": "node-pre-gyp install --fallback-to-build=false",
"pre-build": "node-pre-gyp rebuild package",
"pre-publish": "node-pre-gyp publish",
"pre-unpublish": "node-pre-gyp unpublish",
"cmake-rebuild": "ncmake rebuild",
"test": "mocha tests"
},
"dependencies": {
"node-pre-gyp": "^0.14.0",
"bindings": "^1.3.1"
},
"devDependencies": {
"aws-sdk": "2.x",
"chai": "^4.2.0",
"mocha": "^5.2.0",
"node-addon-api": "^1.6.2",
"node-cmake": "^2.5.1"
},
"binary": {
"module_name": "libtorchjs",
"module_path": "./lib/binding/napi-v{napi_build_version}",
"remote_path": "./{module_name}/v{version}/{configuration}/",
"package_name": "{platform}-{arch}-napi-v{napi_build_version}.tar.gz",
"host": "https://libtorchjs.s3.amazonaws.com/",
"napi_versions": [
3
]
}
}