Add hot reload
This commit is contained in:
parent
9349a57781
commit
9cf8f73e18
17 changed files with 18538 additions and 1185 deletions
44
package.json
44
package.json
|
|
@ -4,10 +4,11 @@
|
|||
"description": "🔺 A simple hello triangle example introducing WebGPU.",
|
||||
"main": "dist/main.js",
|
||||
"scripts": {
|
||||
"start": "npm i && npm run build && npm run dev",
|
||||
"dev": "http-server",
|
||||
"build": "cross-env NODE_ENV=production ts-node webpack.ts"
|
||||
},
|
||||
"start": "webpack serve --open --mode development",
|
||||
"lint": "eslint --fix \"src/**/*.ts\" && prettier --write \"src/**/*.(ts|scss|json|html)\"",
|
||||
"build": "webpack --mode production",
|
||||
"update": "ncu"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/alaingalvan/webgpu-seed.git"
|
||||
|
|
@ -27,15 +28,32 @@
|
|||
},
|
||||
"homepage": "https://github.com/alaingalvan/webgpu-seed#readme",
|
||||
"devDependencies": {
|
||||
"@types/node": "^18.11.x",
|
||||
"@webgpu/types": "^0.1.26",
|
||||
"clean-webpack-plugin": "^4.0.x",
|
||||
"cross-env": "^7.0.x",
|
||||
"http-server": "^14.1.x",
|
||||
"ts-loader": "^9.4.x",
|
||||
"ts-node": "^10.9.x",
|
||||
"typescript": "^4.9.x",
|
||||
"webpack": "^5.75.x"
|
||||
"@webgpu/types": "^0.1.30",
|
||||
"@trivago/prettier-plugin-sort-imports": "^3.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.38.0",
|
||||
"css-loader": "^6.7.1",
|
||||
"eslint": "^8.23.1",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-unused-imports": "^2.0.0",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
"inline-source-webpack-plugin": "^2.0.1",
|
||||
"mini-css-extract-plugin": "^2.6.1",
|
||||
"npm-check-updates": "^16.3.2",
|
||||
"prettier": "^2.7.1",
|
||||
"resolve-url-loader": "^5.0.0",
|
||||
"responsive-loader": "^3.1.1",
|
||||
"sass": "^1.55.0",
|
||||
"sass-loader": "^13.0.2",
|
||||
"sharp": "^0.31.0",
|
||||
"string-replace-loader": "^3.1.0",
|
||||
"svg-inline-loader": "^0.8.2",
|
||||
"terser-webpack-plugin": "^5.3.6",
|
||||
"ts-loader": "^9.4.1",
|
||||
"typescript": "^4.8.3",
|
||||
"webpack": "^5.74.0",
|
||||
"webpack-cli": "^4.10.0",
|
||||
"webpack-dev-server": "^4.11.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"gl-matrix": "^3.4.3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue