-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
58 lines (58 loc) · 2.31 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
{
"name": "gltf-viewer",
"version": "1.0.0",
"description": "GLTF viewer",
"scripts": {
"all": "npm run update:modules && npm run format && npm run build && npm run copy:deploy && npm run dev",
"format": "prettier . --write --ignore-path .prettierignore && npx eslint ./src/** --fix",
"install:ncu": "npm install -g npm-check-updates",
"install:webpack": "npm install --save-dev webpack",
"update:modules": "ncu -u && npm update && npm i",
"build:client": "webpack --config ./src/client/webpack.prod.js",
"build:server": "tsc -p ./src/server",
"build": "npm run copy:assets && npm run copy:draco:src && npm run build:client && npm run build:server",
"dev": "webpack serve --config ./src/client/webpack.dev.js",
"start": "node ./dist/server/three_server.js",
"copy:assets": "copyfiles --flat ./deploy/*.glb ./dist/client",
"copy:draco:src": "copyfiles --flat ./node_modules/three/examples/jsm/libs/draco/* ./src/client/draco",
"copy:draco:deploy": "copyfiles --flat ./src/client/draco/* ./deploy/draco",
"copy:deploy": "npm run copy:draco:deploy && copyfiles --flat ./dist/client/*.js ./deploy && copyfiles --flat ./dist/client/*.png ./deploy && copyfiles --flat ./dist/client/*.envmap ./deploy",
"postinstall": "patch-package",
"patch:create": "npx patch-package realism-effects"
},
"author": "Rabbid76",
"license": "ISC",
"devDependencies": {
"@types/dat.gui": "^0.7.13",
"@types/express": "^5.0.0",
"@types/node": "^22.9.0",
"@types/three": "^0.169.0",
"@typescript-eslint/eslint-plugin": "8.13.0",
"@typescript-eslint/parser": "8.13.0",
"axios": "^1.7.7",
"copy-webpack-plugin": "^12.0.2",
"copyfiles": "^2.4.1",
"dat.gui": "^0.7.9",
"eslint": "9.14.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jest": "28.9.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.2.1",
"install-peers": "^1.0.4",
"npm-check-updates": "^17.1.10",
"patch-package": "^8.0.0",
"prettier": "3.3.3",
"raw-loader": "^4.0.2",
"ts-loader": "^9.5.1",
"typescript": "^5.6.3",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0",
"webpack-merge": "^6.0.1"
},
"dependencies": {
"express": "^4.21.1",
"lodash": "^4.17.21",
"three": "0.170.0"
}
}