43 lines
1.4 KiB
JSON
43 lines
1.4 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-p dev:sass webpack-server webpack-watch",
|
|
"build": "run-s prebuild build:dir build:js build:sass",
|
|
"prebuild": "run-s clean lint",
|
|
"clean": "rimraf build",
|
|
"lint": "eslint src/js/",
|
|
"webpack-server": "set NODE_ENV=0&& webpack-dev-server --progress --colors --hot --inline --open",
|
|
"webpack-watch": "set NODE_ENV=0&& webpack --progress --colors --watch --cache",
|
|
"dev:sass": "node-sass -w -r src/css/ -o src/public/assets/css/",
|
|
"dev:js": "set NODE_ENV=0&& webpack",
|
|
"build:dir": "copyfiles -u 1 src/public/**/* build/",
|
|
"build:sass": "node-sass --output-style compressed src/css/ -o build/public/assets/css/",
|
|
"build:js": "set NODE_ENV=1&& webpack"
|
|
},
|
|
"dependencies": {
|
|
"es6-promise": "^4.0.5",
|
|
"three": "0.81.2",
|
|
"tween.js": "16.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-core": "^6.17.0",
|
|
"babel-loader": "^6.2.5",
|
|
"babel-preset-es2015": "^6.16.0",
|
|
"copyfiles": "^1.0.0",
|
|
"eslint": "^3.7.1",
|
|
"node-sass": "^3.10.1",
|
|
"npm-run-all": "^3.0.0",
|
|
"rimraf": "^2.5.4",
|
|
"webpack": "^1.13.2",
|
|
"webpack-dev-middleware": "^1.8.3",
|
|
"webpack-dev-server": "^1.16.2"
|
|
},
|
|
"engines": {
|
|
"node": "6.0.0"
|
|
}
|
|
}
|