-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.96 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 1.96 KB
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": "@salusoft89/planegcs",
"description": "A wasm build and a simple wrapper of the FreeCAD PlaneGCS (2D geometric constraint solver)",
"keywords": [
"wasm",
"freecad",
"gemetric",
"solver",
"2d",
"plane",
"geometry",
"constraint"
],
"homepage": "https://github.com/Salusoft89/planegcs",
"bugs": {
"url": "https://github.com/Salusoft89/planegcs/issues",
"email": "miroslav.sery@salusoft89.cz"
},
"repository": "github:Salusoft89/planegcs",
"license": "LGPL-2.0-or-later",
"version": "1.1.7",
"private": false,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/planegcs_dist",
"dist/sketch",
"dist/index.*",
"planegcs_dist/*.ts",
"sketch/*.ts",
"index.ts"
],
"type": "module",
"scripts": {
"update-freecad": "cd ./planegcs && ./update_freecad.sh",
"build:bindings": "cd build-bindings && ./process_all.sh",
"build:docker": "docker build -t gcs_builder .",
"build:wasm:debug": "docker run --rm -v $(pwd)/planegcs:/src gcs_builder sh -c 'emcmake cmake . -DCMAKE_BUILD_TYPE=Debug && emmake make -j $(nproc)' && cp planegcs/bin/* planegcs_dist",
"build:wasm": "docker run --rm -v $(pwd)/planegcs:/src gcs_builder sh -c 'emcmake cmake . -DCMAKE_BUILD_TYPE=Release && emmake make -j $(nproc) && ls -lh bin' && cp planegcs/bin/* planegcs_dist",
"build:all": "npm run build:docker && npm run build:bindings && npm run build:wasm",
"build:all-debug": "npm run build:docker && npm run build:bindings && npm run build:wasm:debug",
"test": "vitest run",
"test:basic": "vitest run -t 'basic:'",
"test:watch": "vitest",
"prepack": "./prepack.sh"
},
"devDependencies": {
"@types/node": "^20.11.30",
"@types/nunjucks": "^3.2.6",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"eslint": "^8.57.0",
"nunjucks": "^3.2.4",
"tree-sitter": "^0.20.6",
"tree-sitter-cpp": "^0.20.5",
"tsx": "^4.7.1",
"typescript": "^5.4.3",
"vite": "^5.2.6",
"vitest": "^2.0.2"
}
}