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

45 lines
1.5 KiB
JSON
Raw Normal View History

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": {
"dev": "run-p dev:sass webpack-server webpack-watch",
"build": "run-s prebuild build:dir build:js build:sass",
"prebuild": "run-p clean lint",
"clean": "rimraf build",
"lint": "eslint src/js/; exit 0",
"webpack-server": "set NODE_ENV=0&& webpack-dev-server --hot --inline --open",
"webpack-watch": "set NODE_ENV=0&& webpack --progress --colors --watch --cache",
"dev:sass": "node-sass -w src/css/app.scss -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": "^3.2.1",
"normalize.css": "^4.2.0",
"three": "^0.79.0",
"tween.js": "16.2.0"
},
"devDependencies": {
"babel-core": "^6.13.2",
"babel-loader": "^6.2.5",
"babel-preset-es2015": "^6.13.2",
"copyfiles": "^1.0.0",
"eslint": "^3.4.0",
"file-loader": "^0.9.0",
"node-sass": "^3.8.0",
"npm-run-all": "^3.0.0",
"rimraf": "^2.5.4",
"webpack": "^1.13.2",
"webpack-dev-middleware": "^1.6.1",
"webpack-dev-server": "^1.15.0"
},
"engines": {
"node": "5.0.0"
}
}