Skip to content

Commit

Permalink
chore(config): config files updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Kopelke committed Mar 22, 2018
1 parent 33c410e commit cb37bc5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 25 deletions.
27 changes: 13 additions & 14 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
module.exports = {
testEnvironment: "node",
testEnvironment: 'node',
transform: {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
'.(ts|tsx)': '<rootDir>/node_modules/ts-jest/preprocessor.js'
},
clearMocks: true,
bail: true,
modulePaths: [
"src",
"node_modules"
'src',
'node_modules'
],
moduleDirectories: [
"node_modules",
"<rootDir>/src"
'node_modules',
'<rootDir>/src'
],
moduleFileExtensions: [
"ts",
"tsx",
"js",
"jsx"
'ts',
'tsx',
'js',
'jsx'
],
// setupFiles: [ "<rootDir>/mocks/index.ts" ],
testRegex: "/lib/.*\.spec\.[tj]sx?$",
coverageDirectory: "coverage",
testRegex: '/lib/.*\.spec\.[tj]sx?$',
coverageDirectory: 'coverage',
collectCoverageFrom: [
"lib/**/*.{ts,tsx,js,jsx}"
'lib/**/*.{ts,tsx,js,jsx}'
],
};
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
"dependencies": {},
"description": "Logging utility that grows with the application",
"devDependencies": {
"@types/jest": "^22.1.4",
"@types/faker": "^4.1.2",
"@types/jest": "^22.1.4",
"@types/node": "^9.4.6",
"@types/sinon": "^4.3.0",
"codecov": "^3.0.0",
"commitizen": "^2.9.6",
"coveralls": "^3.0.0",
"cracks": "^3.1.2",
"cz-conventional-changelog": "^2.1.0",
"faker": "^4.1.0",
"jest": "^22.4.2",
Expand Down
9 changes: 1 addition & 8 deletions tsconfig.release.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,7 @@
"sourceMap": false,
"declaration": true,
"outDir": "dist",
"removeComments": false,
"typeRoots": [
"node_modules/@types"
],
"types": [
"@types/node",
"@types/sinon"
]
"removeComments": false
},
"files": [
"lib/log.ts"
Expand Down
1 change: 0 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,5 @@
"multiline": "always",
"singleline": "never"
}]

}
}

0 comments on commit cb37bc5

Please sign in to comment.