Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahdayan committed Mar 12, 2018
2 parents 3497926 + 812e9b7 commit 660b116
Show file tree
Hide file tree
Showing 3 changed files with 1,566 additions and 35 deletions.
18 changes: 16 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
language: node_js
cache:
directories:
- ~/.npm
notifications:
email: false
node_js:
- "node"
after_success: npm run coverage
- '9'
- '8'
- '6'
- '4'
after_success:
- npm run coverage
- npm run build
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^v\d+\.\d+\.\d+$/
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@
"repository": "https://github.com/sarahdayan/dinero.js",
"main": "build/cjs/dinero.js",
"scripts": {
"commit": "git-cz",
"format": "prettier --write src/**/*.js test/**/*.js",
"lint": "eslint src/**/*.js test/**/*.js",
"lint!": "npm run format && npm run lint",
"test": "nyc --reporter=html --reporter=text mocha --require babel-core/register --recursive",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"docs": "rm -rf docs && ./node_modules/.bin/jsdoc src/ -r -d ./docs -t ./node_modules/jsdoc-template -c jsdoc.json -R ./README.md -q title=Dinero.js",
"build": "rm -rf build && node tasks/build.js"
"build": "rm -rf build && node tasks/build.js",
"travis-deploy-once": "travis-deploy-once",
"semantic-release": "semantic-release"
},
"devDependencies": {
"babel": "^6.23.0",
Expand All @@ -27,7 +30,9 @@
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"chai": "^4.1.2",
"commitizen": "^2.9.6",
"coveralls": "^3.0.0",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^4.18.1",
"eslint-config-prettier": "^2.9.0",
"eslint-config-standard": "^11.0.0",
Expand All @@ -42,7 +47,12 @@
"prettier": "1.10.2",
"rollup": "^0.56.3",
"rollup-plugin-babel": "^3.0.3",
"rollup-plugin-babel-minify": "^4.0.0"
"rollup-plugin-babel-minify": "^4.0.0",
"semantic-release": "^15.0.2",
"travis-deploy-once": "^4.4.0"
},
"czConfig": {
"path": "node_modules/cz-conventional-changelog"
},
"engines": {
"node": "*"
Expand Down

0 comments on commit 660b116

Please sign in to comment.