-
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.
* development: build(npm): Update build task to perform all steps (es6, es5 and npm) build(build): build using semantic-release and its dependencies (#45) translate es6 code to es5 Updates to generated .d.ts files that contains typings to be used by typescript
- Loading branch information
Showing
8 changed files
with
97 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,41 @@ | ||
{ | ||
"name": "ion-js", | ||
"version": "0.9.0", | ||
"version": "0.0.0-development", | ||
"description": "A JavaScript implementation of the Ion data interchange format", | ||
"main": "Gruntfile.js", | ||
"directories": { | ||
"test": "test" | ||
}, | ||
"main": "dist/commonjs/es6/Ion.js", | ||
"types": "dist/commonjs/es6/Ion.d.ts", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"commit": "git-cz", | ||
"test": "grunt test", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/amzn/ion-js.git" | ||
"url": "https://github.com/amzn/ion-js.git" | ||
}, | ||
"author": "[email protected]", | ||
"keywords": [ | ||
"ion", | ||
"JSON", | ||
"data format" | ||
], | ||
"author": "The Ion Team <[email protected]> (https://amzn.github.io/ion-docs/index.html)", | ||
"license": "Apache-2.0", | ||
"bugs": { | ||
"url": "https://github.com/amzn/ion-js/issues" | ||
}, | ||
"homepage": "https://github.com/amzn/ion-js#readme", | ||
"config": { | ||
"commitizen": { | ||
"path": "node_modules/cz-conventional-changelog" | ||
} | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.24.1", | ||
"babel-preset-es2015": "^6.24.1", | ||
"commitizen": "^2.9.6", | ||
"cz-conventional-changelog": "^2.0.0", | ||
"grunt": "^1.0.1", | ||
"grunt-babel": "^6.0.0", | ||
"grunt-cli": "^1.2.0", | ||
"grunt-contrib-clean": "^1.0.0", | ||
"grunt-contrib-copy": "^1.0.0", | ||
|
@@ -30,6 +45,7 @@ | |
"intern": "^3.4.1", | ||
"remap-istanbul": "^0.9.1", | ||
"typedoc": "^0.5.8", | ||
"typescript": "^2.2.1" | ||
"typescript": "^2.2.1", | ||
"semantic-release": "^6.3.6" | ||
} | ||
} |
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
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