Skip to content

Commit

Permalink
chore: add roots for jest
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell committed Mar 27, 2017
1 parent 94af62a commit 4cf1fe6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Expand Up @@ -20,7 +20,7 @@
"cleanup": "shx rm -rf umd lib lib-esm typings coverage docs",
"prebuild": "npm run cleanup && npm run verify",
"build": " tsc && tsc --module es2015 --target es2015 --outDir lib-esm && webpack",
"docs": "typedoc -p . --theme minimal --excludeNotExported --excludePrivate --ignoreCompilerErrors --exclude \"**/src/**/__tests__/*.*\" --out docs src/",
"docs": "typedoc -p . --theme minimal --target 'es6' --excludeNotExported --excludePrivate --ignoreCompilerErrors --exclude \"**/src/**/__tests__/*.*\" --out docs src/",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
Expand Down Expand Up @@ -59,10 +59,13 @@
"module": "commonjs"
}
},
"roots": [
"<rootDir>/src"
],
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "src/.*(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
Expand Down

0 comments on commit 4cf1fe6

Please sign in to comment.