Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.9.0
8.1.4
9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
dist: trusty # Beta build environment (newer OS, at least it seems)
sudo: false # Container instead of VM (thus, a lot faster)
language: node_js
cache:
directories:
Expand All @@ -19,9 +20,7 @@ before_install:
fi
- npm install -g npm
install:
- npm prune
- npm install
- npm update

script:
- npm run lint
Expand All @@ -37,8 +36,8 @@ before_deploy:
- npm run ci:automatic-release
- npm run ci:post-automatic-release
- npm install -g irish-pub@0.2.x pkg-ok@1.1.x
- cd dist
- pkg-ok module es2015 typings
- cd dist && pkg-ok module es2015 typings && cd ..
- irish-pub
deploy:
provider: npm
email: dominique.m.mueller@gmail.com
Expand All @@ -47,5 +46,3 @@ deploy:
on:
branch: master
repo: dominique-mueller/angular-notifier
after_deploy:
- irish-pub
28 changes: 28 additions & 0 deletions jest.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"collectCoverage": true,
"coverageDirectory": "<rootDir>/coverage",
"globals": {
"ts-jest": {
"tsConfigFile": "tools/tsc/tsconfig.spec.json"
},
"__TRANSFORM_HTML__": true
},
"transform": {
"^.+\\.(ts|js|html)$": "<rootDir>/node_modules/jest-preset-angular/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|js)$",
"moduleFileExtensions": [
"ts",
"js",
"html"
],
"mapCoverage": true,
"moduleNameMapper": {
"(.*)": "<rootDir>/src/$1"
},
"transformIgnorePatterns": [
"node_modules/(?!@ngrx)"
],
"setupTestFrameworkScriptFile": "<rootDir>/tools/jest/jest.setup.ts",
"verbose": true
}
Loading