ThreeJS-Webpack-ES6-Boilerp.../package.json

50 lines
1.6 KiB
JSON

{
"name": "threejs-es6-webpack-boilerplate",
"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",
"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",
"build:dir": "copyfiles -a -u 2 src/public/assets/**/*.* build/",
"build:js": "webpack --env.NODE_ENV=prod --progress --color --verbose"
},
"dependencies": {
"@tweenjs/tween.js": "^18.6.0",
"es6-promise": "^4.2.8",
"three": "^0.118.3"
},
"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",
"npm-run-all": "^4.1.5",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-loader": "^3.0.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"
}
}