forked from sayanee/angularjs-pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In order to use es6 in the package we need a module bundler (webpack) that transpile our code using babel. To do that we did: - added bumped to manage releases - updated travis test - updated package.json and bower.json in order to work with webpack - added a CHANGELOG page - updated index.html - added many fix on module - added eslint and remove jsonhint - removed bower dependency - updated documentation - added automatic gh-pages deploy ref: sayanee#90
- Loading branch information
Showing
14 changed files
with
843 additions
and
483 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,34 @@ | ||
files: | ||
- package.json | ||
- bower.json | ||
plugins: | ||
prerelease: | ||
Linting config files: | ||
plugin: bumped-finepack | ||
Detecting problems before release: | ||
plugin: bumped-terminal | ||
command: 'npm run test' | ||
postrelease: | ||
Build new Release: | ||
plugin: bumped-terminal | ||
command: 'npm run build' | ||
Generating CHANGELOG file: | ||
plugin: bumped-changelog | ||
Commiting new version: | ||
plugin: bumped-terminal | ||
command: 'git add CHANGELOG.md package.json bower.json dist/ && git commit -m "Release $newVersion"' | ||
Publishing tag to GitHub: | ||
plugin: bumped-terminal | ||
command: 'git tag $newVersion && git push && git push --tags' | ||
Publishing to NPM: | ||
plugin: bumped-terminal | ||
command: npm publish | ||
Prepare gh-pages: | ||
plugin: bumped-terminal | ||
command: 'cp -r example ghpages && cp dist/angular-pdf.min.js ghpages' | ||
Update gh-pages: | ||
plugin: 'bumped-gh-pages' | ||
folder: 'ghpages' | ||
Clean gh-pages temporary folder: | ||
plugin: bumped-terminal | ||
command: 'rm -rf ghpages' |
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 @@ | ||
extends: angular |
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 |
---|---|---|
|
@@ -3,6 +3,3 @@ node_js: | |
- '4' | ||
- '6' | ||
- 'node' | ||
before_script: | ||
- npm install -g bower | ||
- bower install |
Large diffs are not rendered by default.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.