2016-09-12 19:54:07 +00:00
|
|
|
{
|
|
|
|
"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": {
|
2018-02-26 00:27:09 +00:00
|
|
|
"dev": "run-p dev:sass webpack-server",
|
2016-09-12 19:54:07 +00:00
|
|
|
"build": "run-s prebuild build:dir build:js build:sass",
|
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/",
|
2018-02-26 00:33:12 +00:00
|
|
|
"webpack-server": "set NODE_ENV=0&& webpack-dev-server --progress --color --open --hot",
|
2018-02-26 00:27:09 +00:00
|
|
|
"webpack-watch": "set NODE_ENV=0&& webpack --progress --color --watch --hot",
|
2016-10-07 03:07:17 +00:00
|
|
|
"dev:sass": "node-sass -w -r src/css/ -o src/public/assets/css/",
|
2016-09-12 19:54:07 +00:00
|
|
|
"dev:js": "set NODE_ENV=0&& webpack",
|
2018-05-14 03:56:41 +00:00
|
|
|
"build:dir": "copyfiles -u 1 src/public/**/* build/",
|
2016-09-12 19:54:07 +00:00
|
|
|
"build:sass": "node-sass --output-style compressed src/css/ -o build/public/assets/css/",
|
2018-02-26 00:27:09 +00:00
|
|
|
"build:js": "set NODE_ENV=1&& webpack --progress --color"
|
2016-09-12 19:54:07 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-01-23 22:23:50 +00:00
|
|
|
"es6-promise": "^4.2.5",
|
|
|
|
"three": "^0.100.0",
|
2018-02-26 00:27:09 +00:00
|
|
|
"tween.js": "^16.6.0"
|
2016-09-12 19:54:07 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-01-23 22:23:50 +00:00
|
|
|
"@babel/core": "^7.2.2",
|
|
|
|
"@babel/preset-env": "^7.3.1",
|
|
|
|
"babel-loader": "^8.0.5",
|
|
|
|
"copyfiles": "^2.1.0",
|
|
|
|
"eslint": "^5.12.1",
|
2018-05-14 03:56:41 +00:00
|
|
|
"node-sass": "^4.9.0",
|
2019-01-23 22:23:50 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
|
|
|
"rimraf": "^2.6.3",
|
|
|
|
"webpack": "^4.29.0",
|
|
|
|
"webpack-cli": "^3.2.1",
|
|
|
|
"webpack-dev-server": "^3.1.14"
|
2016-09-12 19:54:07 +00:00
|
|
|
}
|
|
|
|
}
|