Skip to content

Commit

Permalink
Update and/or configure type declarations.
Browse files Browse the repository at this point in the history
  • Loading branch information
tedium-bot committed Feb 7, 2018
1 parent 79d9104 commit 3c60703
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 58 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ sudo: required
before_script:
- npm install -g polymer-cli
- polymer install --variants
- >-
npm run update-types && git diff --exit-code || (echo -e
'\n\033[31mERROR:\033[0m Typings are stale. Please run "npm run
update-types".' &&false)
env:
global:
- secure: >-
Expand Down
190 changes: 134 additions & 56 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
},
"license": "BSD-3-Clause",
"devDependencies": {
"@polymer/gen-typescript-declarations": "^1.0.1",
"@polymer/gen-typescript-declarations": "^1.1.1",
"bower": "^1.8.0"
},
"scripts": {
"update-types": "rm -f *.d.ts **/*.d.ts && bower install && gen-typescript-declarations --outDir ."
"update-types": "bower install && gen-typescript-declarations --deleteExisting --outDir ."
}
}

0 comments on commit 3c60703

Please sign in to comment.