Skip to content
This repository was archived by the owner on Dec 10, 2021. It is now read-only.

Convert project from Yarn to npm #5

Merged
merged 13 commits into from
May 7, 2019
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
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=false
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.0.0
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ language: node_js
node_js: ["6"]

install:
- yarn install
- npm install

script:
- yarn lint
- yarn build
- yarn test:build
- DEBUG=true yarn test:coverage
- npm run lint
- npm run build
- npm run test:build

before_deploy:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc
Expand Down
12 changes: 8 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
module.exports = {
"verbose": true,
"transform": { ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js" },
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [ "ts", "tsx", "js" ],
"rootDir": ".",
"preset": "ts-jest",
"coverageDirectory": ".coverage",
"testPathIgnorePatterns": [
"/node_modules/",
"/build/",
"d.ts"
]
],
"coverageThreshold": {
"global": {
"lines": 5
},
}
}
Loading