Add jest
Showing
.babelrc
deleted
100644 → 0
babel.config.js
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
| ... | ... | @@ -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 --config-file ./.babelrc --out-dir dist", | ||
| "build": "npm run clean && babel ./src --config-file ./babel.config.js --out-dir dist", | ||
| "clean": "rimraf dist", | ||
| "watch": "nodemon --config ./nodemon.json --" | ||
| }, | ||
| ... | ... | @@ -24,6 +24,7 @@ |
| "@babel/preset-env": "^7.3.1", | ||
| "eslint": "^5.13.0", | ||
| "eslint-plugin-import": "^2.16.0", | ||
| "jest": "^24.1.0", | ||
| "nodemon": "^1.18.9" | ||
| } | ||
| } |
Please register or sign in to comment