forked from xyz-tools/gcode-preview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.62 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
{
"name": "gcode-preview",
"version": "2.7.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/",
"browser": "dist/gcode-preview.js",
"module": "dist/gcode-preview.es.js",
"files": [
"dist"
],
"types": "dist/gcode-preview.d.ts",
"devDependencies": {
"@types/jest": "^29.0.3",
"@types/three": "^0.144.0",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"copyfiles": "^2.4.1",
"del-cli": "^5.0.0",
"eslint": "^8.23.1",
"jest": "^29.0.3",
"live-server": "^1.2.1",
"rollup": "2.79",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.0",
"ts-jest": "^29.0.1",
"typescript": "^4.4.3",
"watch": "^1.0.2"
},
"scripts": {
"prebuild": "del-cli dist/**/*",
"build": "rollup -c && copyfiles dist/gcode-preview.js demo",
"watch": "watch 'npm run build' src",
"predemo": "npm run build && copyfiles -f node_modules/three/build/three.min.js demo",
"demo": "live-server demo --watch=.",
"lint": "eslint . --fix",
"test": "jest",
"test:watch": "jest --watch",
"preversion": "npm run test && npm run lint",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"postversion": "npm publish && npm run deploy",
"deploy": "firebase deploy --only hosting"
},
"dependencies": {
"three": "^0.144.0"
}
}