Skip to content

Commit

Permalink
build: whitelist only dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
umutcanbolat committed Oct 2, 2019
1 parent 64b777b commit 9afcd9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ jobs:
on:
tags: true
- stage: upload coverage
script: codecov --token=$CODECOV_TOKEN
script: npm test -- --coverage
after_script: codecov --token=$CODECOV_TOKEN
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
"description": "🔄 The missing inverse of the javascript's \"repeat\" method",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"files": [
"dist/**/*"
],
"scripts": {
"build": "tsc",
"test": "jest --coverage --bail",
"lint": "eslint --ext .js,.ts src/ --ext .js,.ts test/",
"version:recommend": "conventional-recommended-bump -p angular",
"version:bump": "npm version",
"preversion": "npm test && npm build",
"preversion": "npm test && npm run build",
"version": "npm run changelog && git add .",
"postversion": "git push && git push --tags",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
Expand Down

0 comments on commit 9afcd9d

Please sign in to comment.