Skip to content

Commit

Permalink
change build to only babel compile
Browse files Browse the repository at this point in the history
  • Loading branch information
p0o committed Jan 4, 2017
1 parent a5afc06 commit f129739
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -7,7 +7,7 @@
"test": "ava ./test",
"test:watch": "ava --watch ./test",
"coverage": "cross-env NODE_ENV=test nyc npm test",
"build": "cross-env NODE_ENV=production webpack -p",
"build": "mkdir -p ./dist && cp -r ./src/* ./dist/ && babel ./src --out-dir ./dist",
"build:dev": "cross-env NODE_ENV=development webpack -d",
"server": "cross-env NODE_ENV=development webpack-dev-server -d --inline --hot"
},
Expand Down Expand Up @@ -47,6 +47,7 @@
},
"devDependencies": {
"ava": "^0.16.0",
"babel-cli": "^6.18.0",
"babel-core": "^6.17.0",
"babel-loader": "^6.2.5",
"babel-plugin-istanbul": "^2.0.3",
Expand Down

0 comments on commit f129739

Please sign in to comment.