Skip to content

Commit

Permalink
update script
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanoTron committed Oct 16, 2017
1 parent 88e77ba commit 52ec9e9
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,19 @@
"main": "dist/index.js",
"scripts": {
"commit": "git-cz",
"report-coverage": "nyc report --reporter=lcov | codecov -t c1cea4d6-9aec-445c-8179-bc5543358876",
"precommit": "npm run build && npm run test:single",
"report-coverage":
"nyc report --reporter=lcov | codecov -t c1cea4d6-9aec-445c-8179-bc5543358876",
"prebuild": "rimraf dist",
"build": "npm run prebuild && babel --copy-files --out-dir dist --ignore *.test.js src",
"build":
"npm run prebuild && babel --copy-files --out-dir dist --ignore *.test.js src",
"test": "mocha --compilers js:babel-register src/index.test.js -w",
"test:single": "nyc mocha --compilers js:babel-register src/index.test.js",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
"semantic-release":
"semantic-release pre && npm publish && semantic-release post"
},
"babel": {
"presets": [
"es2015",
"stage-2"
]
"presets": ["es2015", "stage-2"]
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 52ec9e9

Please sign in to comment.