2016-09-12 19:54:07 +00:00
|
|
|
{
|
|
|
|
"name": "threejs-es6-webpack-boilerplate",
|
2021-04-05 15:43:35 +00:00
|
|
|
"version": "1.6.1",
|
2016-09-12 19:54:07 +00:00
|
|
|
"description": "Boilerplate for Three.js projects set up with Babel for ES6 and compiled with webpack",
|
|
|
|
"author": "Paul Graffam",
|
|
|
|
"main": "app.js",
|
2020-07-06 21:22:59 +00:00
|
|
|
"engines": {
|
|
|
|
"node": ">=10.0"
|
|
|
|
},
|
2016-09-12 19:54:07 +00:00
|
|
|
"scripts": {
|
2019-01-29 21:52:45 +00:00
|
|
|
"dev": "run-s dev:js webpack-server",
|
2021-03-24 23:09:33 +00:00
|
|
|
"build": "run-s build:dir build:js",
|
2016-10-07 03:07:17 +00:00
|
|
|
"prebuild": "run-s clean lint",
|
2016-09-12 19:54:07 +00:00
|
|
|
"clean": "rimraf build",
|
2016-10-07 03:07:17 +00:00
|
|
|
"lint": "eslint src/js/",
|
2021-03-24 23:09:33 +00:00
|
|
|
"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",
|
2019-01-29 21:52:45 +00:00
|
|
|
"build:dir": "copyfiles -a -u 2 src/public/assets/**/*.* build/",
|
2021-03-24 23:09:33 +00:00
|
|
|
"build:js": "webpack --env NODE_ENV=prod --progress --color"
|
2016-09-12 19:54:07 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-03-24 23:09:33 +00:00
|
|
|
"@tweenjs/tween.js": "^18.6.4",
|
2020-03-17 22:37:47 +00:00
|
|
|
"es6-promise": "^4.2.8",
|
2021-03-24 23:09:33 +00:00
|
|
|
"three": "^0.126.1"
|
2016-09-12 19:54:07 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-03-24 23:09:33 +00:00
|
|
|
"@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",
|
2021-06-10 17:24:46 +00:00
|
|
|
"sass": "^1.34.1",
|
2019-01-23 22:23:50 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
2021-03-24 23:09:33 +00:00
|
|
|
"optimize-css-assets-webpack-plugin": "^5.0.4",
|
|
|
|
"postcss-loader": "^5.2.0",
|
2020-07-06 21:22:59 +00:00
|
|
|
"rimraf": "^3.0.2",
|
2021-03-24 23:09:33 +00:00
|
|
|
"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"
|
2016-09-12 19:54:07 +00:00
|
|
|
}
|
|
|
|
}
|