forked from xyz-tools/gcode-preview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 2.28 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
{
"name": "gcode-preview",
"version": "2.17.0",
"description": "Preview a 3d print from a gcode file",
"author": "[email protected]",
"license": "MIT",
"repository": {
"type": "git",
"url": "[email protected]:remcoder/gcode-preview.git"
},
"homepage": "https://gcode-preview.web.app/",
"main": "dist/gcode-preview.es.js",
"files": [
"dist"
],
"types": "dist/gcode-preview.d.ts",
"devDependencies": {
"@types/node": "^18.19.33",
"@types/three": "^0.159.0",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"canvas2image": "^1.0.5",
"copyfiles": "^2.4.1",
"del-cli": "^5.0.0",
"eslint": "^8.56.0",
"happy-dom": "^13.8.6",
"live-server": "1.2.1",
"prettier": "^3.0.3",
"rollup": "2.79",
"rollup-plugin-dts": "^4.2.3",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.0",
"typedoc": "^0.26.3",
"typescript": "^4.9.5",
"vitest": "^1.5.1",
"watch": "^1.0.2"
},
"scripts": {
"typeCheck": "tsc --noEmit",
"build": "rollup -c",
"watch": "watch 'npm run predemo' src ",
"predemo": "npm run build && copyfiles -f dist/gcode-preview.es.js demo/build",
"demo": "live-server demo --watch=.,js --mount=/js:demo/js --mount=/build:node_modules",
"lint": "prettier --check . && eslint -c .eslintrc.js .",
"lint:fix": "eslint -c .eslintrc.js . --fix",
"prettier:fix": "prettier --plugin-search-dir . --write .",
"test": "vitest",
"test:watch": "vitest --watch",
"preversion": "npm run typeCheck && npm run test && npm run lint",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"xpostversion": "npm publish && npm run deploy",
"predeploy": "npm run build && copyfiles -f node_modules/three/build/three.module.js demo/build/three/build && copyfiles -f dist/gcode-preview.es.js demo/build && copyfiles -f node_modules/canvas2image/canvas2image.js demo/build/canvas2image && copyfiles -f node_modules/lil-gui/dist/lil-gui.esm.min.js demo/build/lil-gui/dist",
"deploy": "firebase deploy --only hosting",
"typedoc": "typedoc",
"typedoc:watch": "typedoc --watch"
},
"dependencies": {
"three": "^0.159.0",
"lil-gui": "^0.19.2"
}
}