Skip to content

Commit

Permalink
Add DTS linter to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed May 7, 2017
1 parent b09f6c7 commit 9718f29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ script:
- yarn lint
- yarn test -- --coverage --no-cache && rm ./coverage/coverage-final.json
- yarn docs
- yarn dts-lint

after_success:
- bash <(curl -s https://codecov.io/bash)
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
"link": "npm run build && chmod +x distribution/commands/danger.js && npm link",
"declarations": "ts-node ./scripts/create-danger-dts.ts",
"docs:cp_defs": "mkdir docs/docs_generate; cp source/danger.d.ts docs/docs_generate; cp node_modules/github/lib/index.d.ts docs/docs_generate/github.d.ts",
"docs": "yarn run docs:cp_defs; yarn typedoc -- --json docs/js_ref_dsl_docs.json --includeDeclarations "
"docs": "yarn run docs:cp_defs; yarn typedoc -- --json docs/js_ref_dsl_docs.json --includeDeclarations ",
"dts-lint": "yarn run declarations && yarn dtslint types"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 9718f29

Please sign in to comment.