Skip to content

Commit

Permalink
chore(build): package, travis updates
Browse files Browse the repository at this point in the history
* build packages
* travis staged, lint, testing
  • Loading branch information
cdcabrera committed Aug 8, 2019
1 parent 18c0f44 commit eab406d
Show file tree
Hide file tree
Showing 3 changed files with 991 additions and 721 deletions.
17 changes: 8 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
language: node_js

sudo: required
node_js:
- "10"
cache: yarn

jobs:
include:
- stage: test
env:
- NAME=yarn
node_js: "10"
before_script: yarn global add codecov
script: yarn test
after_success: codecov
- stage: Test
script: yarn test:lint
- before_script: yarn global add codecov
script: yarn test:ci
after_success: codecov
35 changes: 19 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@
"release": "standard-version",
"start": "./bin/cli.js -w ./data",
"start:dev": "nodemon --watch data --watch src './bin/cli.js -w ./data'",
"test": "CI=true; eslint ./src; jest --collectCoverage",
"test": "run-s -l test:lint test:ci",
"test:ci": "export CI=true; jest --collectCoverage",
"test:clearCache": "jest --clearCache",
"test:dev": "eslint ./src; jest --watch",
"test:clearCache": "jest --clearCache"
"test:lint": "eslint ./src"
},
"jest": {
"roots": [
Expand All @@ -53,25 +55,26 @@
},
"dependencies": {
"apidoc": "^0.17.7",
"express": "^4.16.4",
"node-watch": "^0.6.1",
"express": "^4.17.1",
"node-watch": "^0.6.2",
"winston": "^3.2.1",
"yargs": "^13.2.2"
"yargs": "^13.3.0"
},
"devDependencies": {
"babel-eslint": "^10.0.1",
"eslint": "^5.16.0",
"babel-eslint": "^10.0.2",
"eslint": "^6.1.0",
"eslint-config-esnext": "^4.0.0",
"eslint-config-node": "^4.0.0",
"eslint-config-prettier": "^4.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-import": "^2.17.1",
"eslint-plugin-jest": "^22.4.1",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-prettier": "^3.0.1",
"jest": "^24.7.1",
"nodemon": "^1.18.11",
"prettier": "^1.17.0",
"standard-version": "^5.0.2"
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.14.1",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-prettier": "^3.1.0",
"jest": "^24.8.0",
"nodemon": "^1.19.1",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"standard-version": "^6.0.1"
}
}
Loading

0 comments on commit eab406d

Please sign in to comment.