-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(build): build using semantic-release and its dependencies (#45)
Added semantic-release, commitizen as well as targets for npm in preparation of releasing the first version of our npm package
- Loading branch information
Showing
4 changed files
with
63 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# See https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package | ||
# Use `npm pack` to create a tgz file. View the contents of the .tgz to test your .npmignore | ||
docs | ||
ion-tests | ||
tests | ||
.baseDir* | ||
.travis.yml | ||
_config.yml | ||
.nojekyll | ||
.gitmodules | ||
.tscache | ||
.idea | ||
browser | ||
src | ||
*.map | ||
Gruntfile.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
|
||
language: node_js | ||
|
||
node_js: | ||
- "node" | ||
|
||
script: grunt all | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
notifications: | ||
email: false | ||
node_js: | ||
- '7' | ||
before_script: | ||
- npm prune | ||
script: | ||
- npm run test | ||
after_success: | ||
- 'if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then npm run semantic-release; fi' | ||
- 'if [ "$TRAVIS_BRANCH" != "master" ]; then exit 0; fi' | ||
branches: | ||
except: | ||
- /^v\d+\.\d+\.\d+$/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters