mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-06-27 19:48:31 +08:00
Added new cleanup and copy scripts
This commit is contained in:
+12
-6
@@ -1,16 +1,18 @@
|
||||
{
|
||||
"name": "react-webpack-template",
|
||||
"version": "0.0.3",
|
||||
"description": "Base template for react and webpack",
|
||||
"version": "0.0.4",
|
||||
"description": "A base skeleton template for react and webpack without task runners",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node server.js --env=dev",
|
||||
"test": "karma start",
|
||||
"posttest": "npm run lint",
|
||||
"serve": "node server.js --env=dev",
|
||||
"servedist": "node server.js --env=dist",
|
||||
"dist": "webpack --env=dist",
|
||||
"lint": "eslint ./src"
|
||||
"serve:dist": "node server.js --env=dist",
|
||||
"dist": "npm run copy & webpack --env=dist",
|
||||
"lint": "eslint ./src",
|
||||
"copy": "copyfiles -f ./src/index.html ./dist",
|
||||
"clean": "rimraf dist/*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -19,7 +21,9 @@
|
||||
"keywords": [
|
||||
"React",
|
||||
"Webpack",
|
||||
"Babel"
|
||||
"Babel",
|
||||
"Boilerplate",
|
||||
"Demo"
|
||||
],
|
||||
"author": "Christian Schilling (cs@weblogixx.de)",
|
||||
"license": "MIT",
|
||||
@@ -31,6 +35,7 @@
|
||||
"babel-core": "^5.8.22",
|
||||
"babel-loader": "^5.3.2",
|
||||
"chai": "^3.2.0",
|
||||
"copyfiles": "^0.2.1",
|
||||
"css-loader": "^0.16.0",
|
||||
"eslint": "^1.2.1",
|
||||
"eslint-loader": "^1.0.0",
|
||||
@@ -50,6 +55,7 @@
|
||||
"open": "0.0.5",
|
||||
"phantomjs": "^1.9.18",
|
||||
"react-hot-loader": "^1.2.9",
|
||||
"rimraf": "^2.4.3",
|
||||
"style-loader": "^0.12.3",
|
||||
"url-loader": "^0.5.6",
|
||||
"webpack": "^1.12.0",
|
||||
|
||||
Reference in New Issue
Block a user