Commit 2fdd2c14 authored by Jonathan Cunanan's avatar Jonathan Cunanan

Add babel ignore tests

parent e9b42815
{
"presets": ["@babel/preset-env"]
"presets": ["@babel/preset-env"],
"ignore": ["**/__tests__/**", "*.test.js", "*.spec.js"]
}
......@@ -6,7 +6,7 @@
"start": "npm run prod",
"dev": "NODE_ENV=development npm run watch ./src/bin/www",
"prod": "npm run build && NODE_ENV=production node ./dist/bin/www",
"build": "npm run clean && babel ./src --out-dir dist",
"build": "npm run clean && babel ./src --config-file ./.babelrc --out-dir dist",
"clean": "rimraf dist",
"watch": "nodemon --config ./nodemon.json --"
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment