Updated packages, replaced deprecated ones

This commit is contained in:
Paul Graffam 2020-07-06 17:22:59 -04:00
parent 40dc533d59
commit ae1ec73418
3 changed files with 3187 additions and 2013 deletions

116
.eslintrc
View File

@ -1,60 +1,60 @@
{
"rules": {
"no-cond-assign": 1,
"no-console": 1,
"no-constant-condition": 1,
"no-control-regex": 1,
"no-debugger": 1,
"no-dupe-args": 1,
"no-dupe-keys": 1,
"no-duplicate-case": 1,
"no-empty-character-class": 1,
"no-empty": 1,
"no-ex-assign": 1,
"no-extra-boolean-cast": 1,
"no-extra-semi": 1,
"no-func-assign": 1,
"no-inner-declarations": 1,
"no-invalid-regexp": 1,
"no-irregular-whitespace": 1,
"no-negated-in-lhs": 1,
"no-obj-calls": 1,
"no-regex-spaces": 1,
"no-sparse-arrays": 1,
"no-unreachable": 1,
"use-isnan": 1,
"valid-typeof": 1,
"no-alert": 1,
"no-else-return": 1,
"no-eval": 1,
"no-extra-bind": 1,
"no-fallthrough": 1,
"no-octal": 1,
"no-proto": 1,
"no-redeclare": [1, {"builtinGlobals": true}],
"no-useless-call": 1,
"no-delete-var": 1,
"no-undef-init": 1,
"no-undef": 1,
"no-unused-vars": 1,
"camelcase": 1,
"eol-last": 1,
"indent": [1, 2, {"SwitchCase": 1}],
"no-array-constructor": 1,
"no-continue": 1,
"no-lonely-if": 1,
"no-mixed-spaces-and-tabs": 1,
"no-new-object": 1,
"no-const-assign": 1,
"prefer-const": 1,
"prefer-spread": 1
},
"env": {
"es6": true,
"browser": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
}
"rules": {
"no-cond-assign": 1,
"no-console": 1,
"no-constant-condition": 1,
"no-control-regex": 1,
"no-debugger": 1,
"no-dupe-args": 1,
"no-dupe-keys": 1,
"no-duplicate-case": 1,
"no-empty-character-class": 1,
"no-empty": 1,
"no-ex-assign": 1,
"no-extra-boolean-cast": 1,
"no-extra-semi": 1,
"no-func-assign": 1,
"no-inner-declarations": 1,
"no-invalid-regexp": 1,
"no-irregular-whitespace": 1,
"no-negated-in-lhs": 1,
"no-obj-calls": 1,
"no-regex-spaces": 1,
"no-sparse-arrays": 1,
"no-unreachable": 1,
"use-isnan": 1,
"valid-typeof": 1,
"no-alert": 1,
"no-else-return": 1,
"no-eval": 1,
"no-extra-bind": 1,
"no-fallthrough": 1,
"no-octal": 1,
"no-proto": 1,
"no-redeclare": [1, {"builtinGlobals": true}],
"no-useless-call": 1,
"no-delete-var": 1,
"no-undef-init": 1,
"no-undef": 1,
"no-unused-vars": 1,
"camelcase": 1,
"eol-last": 1,
"indent": [1, 2, {"SwitchCase": 1}],
"no-array-constructor": 1,
"no-continue": 1,
"no-lonely-if": 1,
"no-mixed-spaces-and-tabs": 1,
"no-new-object": 1,
"no-const-assign": 1,
"prefer-const": 1,
"prefer-spread": 1
},
"env": {
"es6": true,
"browser": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
}
}

5039
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,12 @@
{
"name": "threejs-es6-webpack-boilerplate",
"version": "1.0.0",
"version": "1.5.0",
"description": "Boilerplate for Three.js projects set up with Babel for ES6 and compiled with webpack",
"author": "Paul Graffam",
"main": "app.js",
"engines": {
"node": ">=10.0"
},
"scripts": {
"dev": "run-s dev:js webpack-server",
"build": "run-s prebuild build:dir build:js",
@ -14,33 +17,33 @@
"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"
"build:js": "webpack --env.NODE_ENV=prod --progress --color --verbose"
},
"dependencies": {
"@tweenjs/tween.js": "^18.6.0",
"es6-promise": "^4.2.8",
"three": "^0.100.0",
"tween.js": "^16.6.0"
"three": "^0.118.3"
},
"devDependencies": {
"@babel/core": "^7.8.7",
"@babel/preset-env": "^7.8.7",
"autoprefixer": "^9.7.4",
"babel-loader": "^8.0.6",
"copyfiles": "^2.2.0",
"css-loader": "^2.1.1",
"eslint": "^5.16.0",
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "^0.5.0",
"node-sass": "^4.13.1",
"@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",
"npm-run-all": "^4.1.5",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-loader": "^3.0.0",
"rimraf": "^2.7.1",
"sass-loader": "^7.3.1",
"style-loader": "^0.23.1",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
"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"
}
}