fix(build): build all of src

This commit is contained in:
Kent C. Dodds
2016-10-04 11:52:58 -06:00
parent 8da54d0d5a
commit e847b1859f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
"scripts": {
"start": "npm run test:watch",
"prebuild": "rimraf dist && mkdir dist",
"build": "cd src && babel index.js -d ../dist && cd ..",
"build": "babel --copy-files --out-dir dist --ignore *.test.js src",
"commit": "git-cz",
"eslint": "eslint src/ -c other/src.eslintrc --ignore-path other/src.eslintignore && eslint src/*.test.js",
"check-coverage": "istanbul check-coverage --statements 100 --branches 100 --functions 100 --lines 100",
+1 -1
View File
@@ -17,7 +17,7 @@ function crossEnv(args) {
function getCommandArgsAndEnvVars(args) { // eslint-disable-line
let command;
const envVars = Object.assign({}, process.env);
const commandArgs = args.slice().map(commandConvert);
const commandArgs = args.map(commandConvert);
while (commandArgs.length) {
const shifted = commandArgs.shift();
const match = envSetterRegex.exec(shifted);