-
-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 2.61 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 2.61 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
62
63
64
65
66
{
"name": "gcode-preview",
"version": "3.0.0-alpha.4",
"description": "Preview a 3d print from a gcode file",
"author": "remcoder@gmail.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "git@github.com: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": {
"@rollup/plugin-node-resolve": "^16.0.1",
"@types/node": "^24.0.10",
"@types/three": "0.178.0",
"@typescript-eslint/eslint-plugin": "^8.36.0",
"@typescript-eslint/parser": "^8.36.0",
"concurrently": "^9.2.0",
"copyfiles": "^2.4.1",
"eslint": "^8.57.1",
"happy-dom": "^20.0.0",
"live-server": "^1.2.1 <1.2.2",
"prettier": "^3.6.2",
"rollup": "^4.44.2",
"rollup-plugin-dts": "^6.2.1",
"rollup-plugin-esbuild": "^6.2.1",
"rollup-plugin-typescript2": "^0.36.0",
"typedoc": "^0.28.7",
"vitest": "^3.2.4"
},
"scripts": {
"dev": "concurrently -n BUILD,SERVER -c bold.white.bgGreen,bold.white.bgBlue 'npm run dev:watch' 'npm run live-server'",
"dev:build": "export NODE_ENV=development; rollup -c",
"dev:watch": "export NODE_ENV=development; rollup -c -w",
"build": "rollup -c",
"build:watch": "rollup -c -w",
"demo": "npm run build && npm run live-server",
"live-server": "live-server demo --watch=.,js,../dist --mount=/lib:node_modules --mount=/dist:dist",
"typeCheck": "tsc --noEmit",
"lint": "prettier --check . && eslint -c .eslintrc.js .",
"lint:fix": "npm run prettier:fix && npm run eslint:fix",
"eslint:fix": "eslint -c .eslintrc.js . --fix",
"prettier:fix": "prettier --plugin-search-dir . --write .",
"test": "vitest run",
"test:watch": "vitest --watch",
"preversion": "npm run typeCheck && npm run test && npm run lint",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"predeploy": "npm run build && npm run copy-deps && npm run copy-dist",
"copy-deps": "copyfiles -f node_modules/three/build/three.module.min.js demo/lib/three/build && copyfiles -f node_modules/three/build/three.core.min.js demo/lib/three/build && copyfiles -f node_modules/lil-gui/dist/lil-gui.esm.min.js demo/lib/lil-gui/dist",
"copy-dist": "copyfiles -f dist/gcode-preview.es.js demo/dist",
"deploy:preview": "live-server demo",
"typedoc": "typedoc",
"typedoc:watch": "typedoc --watch",
"check": "npm run test && npm run typeCheck && npm run lint && echo '😅 All checks passed!'"
},
"dependencies": {
"lil-gui": "^0.20.0",
"three": "0.178.0"
}
}