Updated packages, fixed scripts

This commit is contained in:
Paul Graffam 2021-03-24 19:09:33 -04:00
parent 41569ab1b6
commit 26c84115ba
1 changed files with 26 additions and 26 deletions

View File

@ -1,6 +1,6 @@
{
"name": "threejs-es6-webpack-boilerplate",
"version": "1.5.0",
"version": "1.6.0",
"description": "Boilerplate for Three.js projects set up with Babel for ES6 and compiled with webpack",
"author": "Paul Graffam",
"main": "app.js",
@ -9,41 +9,41 @@
},
"scripts": {
"dev": "run-s dev:js webpack-server",
"build": "run-s prebuild build:dir build:js",
"build": "run-s build:dir build:js",
"prebuild": "run-s clean lint",
"clean": "rimraf build",
"lint": "eslint src/js/",
"webpack-server": "webpack-dev-server --env.NODE_ENV=dev --progress --color --open --hot",
"webpack-watch": "webpack --env.NODE_ENV=dev --progress --color --watch --hot",
"dev:js": "webpack --env.NODE_ENV=dev",
"webpack-server": "webpack serve --env NODE_ENV=dev --progress --color --open --hot",
"webpack-watch": "webpack --env NODE_ENV=dev --progress --color --watch --hot",
"dev:js": "webpack --env NODE_ENV=dev",
"build:dir": "copyfiles -a -u 2 src/public/assets/**/*.* build/",
"build:js": "webpack --env.NODE_ENV=prod --progress --color --verbose"
"build:js": "webpack --env NODE_ENV=prod --progress --color"
},
"dependencies": {
"@tweenjs/tween.js": "^18.6.0",
"@tweenjs/tween.js": "^18.6.4",
"es6-promise": "^4.2.8",
"three": "^0.118.3"
"three": "^0.126.1"
},
"devDependencies": {
"@babel/core": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"autoprefixer": "^9.8.4",
"babel-loader": "^8.1.0",
"copyfiles": "^2.3.0",
"css-loader": "^3.6.0",
"eslint": "^7.4.0",
"html-webpack-plugin": "^4.3.0",
"mini-css-extract-plugin": "^0.9.0",
"node-sass": "^4.14.1",
"@babel/core": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"autoprefixer": "^10.2.5",
"babel-loader": "^8.2.2",
"copyfiles": "^2.4.1",
"css-loader": "^5.2.0",
"eslint": "^7.22.0",
"html-webpack-plugin": "^5.3.1",
"mini-css-extract-plugin": "^1.3.9",
"node-sass": "^5.0.0",
"npm-run-all": "^4.1.5",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-loader": "^3.0.0",
"optimize-css-assets-webpack-plugin": "^5.0.4",
"postcss-loader": "^5.2.0",
"rimraf": "^3.0.2",
"sass-loader": "^8.0.2",
"style-loader": "^1.2.1",
"terser-webpack-plugin": "^3.0.6",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
"sass-loader": "^11.0.1",
"style-loader": "^2.0.0",
"terser-webpack-plugin": "^5.1.1",
"webpack": "^5.28.0",
"webpack-cli": "^4.5.0",
"webpack-dev-server": "^4.0.0-beta.1"
}
}