47 lines
1.5 KiB
JSON
47 lines
1.5 KiB
JSON
{
|
|
"name": "threejs-es6-webpack-boilerplate",
|
|
"version": "1.0.0",
|
|
"description": "Boilerplate for Three.js projects set up with Babel for ES6 and compiled with webpack",
|
|
"author": "Paul Graffam",
|
|
"main": "app.js",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"es6-promise": "^4.2.5",
|
|
"three": "^0.100.0",
|
|
"tween.js": "^16.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "^9.4.7",
|
|
"@babel/core": "^7.2.2",
|
|
"@babel/preset-env": "^7.3.1",
|
|
"babel-loader": "^8.0.5",
|
|
"copyfiles": "^2.1.0",
|
|
"css-loader": "^2.1.0",
|
|
"eslint": "^5.12.1",
|
|
"html-webpack-plugin": "^3.2.0",
|
|
"mini-css-extract-plugin": "^0.5.0",
|
|
"node-sass": "^4.11.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
|
"postcss-loader": "^3.0.0",
|
|
"rimraf": "^2.6.3",
|
|
"sass-loader": "^7.1.0",
|
|
"style-loader": "^0.23.1",
|
|
"uglifyjs-webpack-plugin": "^2.1.1",
|
|
"webpack": "^4.29.0",
|
|
"webpack-cli": "^3.2.1",
|
|
"webpack-dev-server": "^3.1.14"
|
|
}
|
|
}
|