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

40 lines
1.4 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",
2016-09-12 19:54:07 +00:00
"build": "run-s prebuild build:dir build:js build:sass",
"prebuild": "run-s clean lint",
2016-09-12 19:54:07 +00:00
"clean": "rimraf build",
"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",
"webpack-watch": "set NODE_ENV=0&& webpack --progress --color --watch --hot",
"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",
"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 --progress --color"
2016-09-12 19:54:07 +00:00
},
"dependencies": {
"es6-promise": "^4.2.4",
"three": "^0.90.0",
"tween.js": "^16.6.0"
2016-09-12 19:54:07 +00:00
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.1",
"copyfiles": "^1.2.0",
"eslint": "^4.18.1",
"node-sass": "^4.7.2",
"npm-run-all": "^4.1.2",
"rimraf": "^2.6.2",
"webpack": "^4.0.0",
"webpack-cli": "^2.0.8",
"webpack-dev-server": "^3.0.0-beta.2"
2016-09-12 19:54:07 +00:00
}
}