-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
70 lines (70 loc) · 2.47 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
{
"name": "opencascade-tools",
"version": "0.0.9",
"description": "Easy-to-use wrapper around OpenCASCADE Technology",
"license": "MIT",
"type": "module",
"main": "bin/api/node.js",
"browser": "bin/api/browser.js",
"types": "dts/api/common.d.ts",
"author": {
"name": "Georg Hackenberg",
"email": "[email protected]",
"url": "https://github.com/ghackenberg"
},
"repository": {
"type": "git",
"url": "https://github.com/ghackenberg/opencascade-tools",
"directory": "."
},
"engines": {
"node": ">=18.16.0",
"npm": ">=9.6.7"
},
"keywords": [
"opencascade",
"computer-aided design",
"cad",
"step",
"wavefront",
"obj",
"mtl",
"khronos",
"gltf",
"glb",
"webassembly",
"3d"
],
"bin": {
"opencascade-tools": "./bin/main.js"
},
"scripts": {
"clean": "rimraf bin && rimraf dts",
"build": "tsc",
"test": "npm run deploy-local && npm run test-all",
"test-all": "npm run test-help && npm run test-version && npm run test-iges && npm run test-step",
"test-help": "opencascade-tools --help",
"test-version": "opencascade-tools --version",
"test-iges": "npm run test-iges-obj && npm run test-iges-gltf && npm run test-iges-glb",
"test-iges-obj": "opencascade-tools --input ./test/iges-example.iges --format obj",
"test-iges-gltf": "opencascade-tools --input ./test/iges-example.iges --format gltf",
"test-iges-glb": "opencascade-tools --input ./test/iges-example.iges --format glb",
"test-step": "npm run test-step-obj && npm run test-step-gltf && npm run test-step-glb",
"test-step-obj": "opencascade-tools --input ./test/step-example.stp --format obj",
"test-step-gltf": "opencascade-tools --input ./test/step-example.stp --format gltf",
"test-step-glb": "opencascade-tools --input ./test/step-example.stp --format glb",
"deploy-local": "npm run clean && npm run build && npm install -g .",
"deploy-global": "npm run clean && npm run build && npm publish"
},
"dependencies": {
"commander": "^10.0.0",
"figlet": "^1.5.2",
"opencascade.js": "^2.0.0-beta.b5ff984"
},
"devDependencies": {
"@types/figlet": "^1.5.5",
"@types/node": "^18.16.16",
"rimraf": "^4.1.2",
"typescript": "^4.9.5"
}
}