diff --git a/package.json b/package.json index 37b8e15ca..05024644b 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,16 @@ "directories": { "doc": "docs" }, + "jest": { + "testPathIgnorePatterns": [ + "/packages/starter-kyts", + "/e2e_tests" + ] + }, "scripts": { - "test": "jest --testPathPattern /__tests__/", + "test": "jest", + "test-watch": "jest --watch", + "test-coverage": "jest --coverage", "e2e": "jest --config ./e2e_tests/jest.config.json --verbose --no-cache", "lint": "packages/kyt-core/node_modules/.bin/eslint --config packages/kyt-core/.eslintrc.json --ignore-pattern **/node_modules --ignore-pattern packages/starter-kyts ./" }, @@ -22,8 +30,8 @@ }, "homepage": "https://github.com/NYTimes/kyt#readme", "dependencies": { - "jest": "16.0.2", "ps-tree": "1.1.0", - "shelljs": "0.7.5" + "shelljs": "0.7.5", + "jest": "16.0.1" } } diff --git a/packages/kyt-cli/package.json b/packages/kyt-cli/package.json index b72eeda21..67f2f9c96 100644 --- a/packages/kyt-cli/package.json +++ b/packages/kyt-cli/package.json @@ -7,11 +7,9 @@ "kyt-cli": "index.js" }, "scripts": { - "test": "jest --testPathPattern /__tests__/" }, "license": "Apache-2.0", "devDependencies": { - "jest": "16.0.2" }, "dependencies": { "commander": "2.9.0", diff --git a/packages/kyt-core/package.json b/packages/kyt-core/package.json index 488ccb8c1..0b0682537 100644 --- a/packages/kyt-core/package.json +++ b/packages/kyt-core/package.json @@ -10,10 +10,6 @@ "node": ">=6.1.0" }, "scripts": { - "test": "jest --testPathPattern /__tests__/", - "e2e": "jest --config ./e2e_tests/jest.config.json --verbose --no-cache", - "test-watch": "jest --watch", - "test-coverage": "jest --coverage" }, "repository": { "type": "git", diff --git a/packages/kyt-utils/package.json b/packages/kyt-utils/package.json index 6e592ac25..3e2d82059 100644 --- a/packages/kyt-utils/package.json +++ b/packages/kyt-utils/package.json @@ -4,10 +4,8 @@ "description": "A shared kyt utility library.", "main": "logger.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" }, "devDependencies": { - "jest": "16.0.2" }, "author": "NYTimes", "license": "Apache-2.0"