feat: run jest at root level
This commit is contained in:
@@ -58,20 +58,17 @@
|
||||
"babel-preset-stage-0": "^6.24.1",
|
||||
"cross-env": "^5.0.5",
|
||||
"dependency-check": "^2.9.1",
|
||||
"jest": "^21.2.1",
|
||||
"rimraf": "^2.6.1"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
|
||||
"commitmsg": "npm test",
|
||||
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
|
||||
"dev-test": "jest --bail --watch",
|
||||
"plot": "gnuplot -p memory-test.gnu",
|
||||
"posttest": "dependency-check ./package.json",
|
||||
"prebuild": "rimraf dist/",
|
||||
"predev": "npm run prebuild",
|
||||
"prepublish": "npm run build",
|
||||
"test": "jest"
|
||||
"prepublish": "npm run build"
|
||||
},
|
||||
"babel": {
|
||||
"plugins": [
|
||||
@@ -89,11 +86,5 @@
|
||||
],
|
||||
"stage-0"
|
||||
]
|
||||
},
|
||||
"jest": {
|
||||
"roots": [
|
||||
"<rootDir>/src"
|
||||
],
|
||||
"testRegex": "\\.spec\\.js$"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user