Skip to content

Commit

Permalink
Config Travis to run lint, flow, and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Sep 8, 2018
1 parent dfccc1f commit 2d0b88a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: node_js
node_js:
- node
before_script:
- yarn
script:
- yarn lint
- yarn flow
- yarn test
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"module": "dist/index.esm.js",
"files": ["dist"],
"scripts": {
"flow": "flow check src && flow check website",
"precommit": "lint-staged",
"prettier": "prettier --write '**/*.{js,json,css}'",
"linc": "lint-staged",
Expand Down

0 comments on commit 2d0b88a

Please sign in to comment.