Remove jest as dependency from node-dev

This commit is contained in:
Jan Oberhauser 2019-11-25 23:29:28 +01:00
parent 3a1b90acb7
commit 5ae6a8044a
2 changed files with 1 additions and 21 deletions

View file

@ -23,7 +23,6 @@
"build": "tsc", "build": "tsc",
"postpack": "rm -f oclif.manifest.json", "postpack": "rm -f oclif.manifest.json",
"prepack": "echo \"Building project...\" && rm -rf dist && tsc -b && oclif-dev manifest", "prepack": "echo \"Building project...\" && rm -rf dist && tsc -b && oclif-dev manifest",
"test": "jest",
"tslint": "tslint -p tsconfig.json -c tslint.json", "tslint": "tslint -p tsconfig.json -c tslint.json",
"watch": "tsc --watch" "watch": "tsc --watch"
}, },
@ -65,23 +64,5 @@
"request": "^2.88.0", "request": "^2.88.0",
"tmp-promise": "^2.0.2", "tmp-promise": "^2.0.2",
"typescript": "~3.5.2" "typescript": "~3.5.2"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testURL": "http://localhost/",
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testPathIgnorePatterns": [
"/dist/",
"/node_modules/"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json",
"node"
]
} }
} }

View file

@ -4,8 +4,7 @@
"es2017" "es2017"
], ],
"types": [ "types": [
"node", "node"
"jest"
], ],
"module": "commonjs", "module": "commonjs",
"esModuleInterop": true, "esModuleInterop": true,