forked from aligator/gcode-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.41 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
{
"name": "gcode-viewer",
"version": "0.6.2",
"description": "A simple gcode viewer lib using three.js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/aligator/gcode-viewer",
"author": "aligator <me@aligator.dev>",
"license": "MIT",
"files": [
"dist/**/*",
"_bundles/**/*",
"dist-esm/**/*"
],
"scripts": {
"clean": "rm -rf _bundles dist dist-esm",
"build": "NODE_ENV=production && yarn clean && tsc && tsc -m es6 --outDir dist-esm && webpack",
"build:dev": "yarn clean && tsc && tsc -m es6 --outDir dist-esm && webpack",
"prepublish": "yarn format && yarn build && yarn test",
"postpublish": "sed -i \"s|https://unpkg.com/gcode-viewer@[0-9]*\\.[0-9]*\\.[0-9]*|https://unpkg.com/gcode-viewer@$(jq -r .version package.json)|g\" example/*.html && git add example/*.html",
"release": "release-it",
"test": "jest",
"format": "prettier -w \"**/*.{js,ts,css,scss,md}\""
},
"dependencies": {
"three": "^0.151.3"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/three": "^0.150.1",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"prettier": "^3.4.1",
"release-it": "^17.10.0",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.2",
"typescript": "^5.0.4",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "^5.79.0",
"webpack-cli": "^5.0.1"
},
"packageManager": "yarn@3.5.0"
}