Skip to content

Commit

Permalink
Package adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Dale Myszewski II committed Aug 15, 2019
1 parent f688b77 commit b53e173
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ language: node_js
node_js:
- '10'
before_install:
- npm install -g typescript codecov
- npm install -g typescript codecov tsc rollup
script:
- npm test
- codecov -f coverage/*.json
before_deploy:
- npm i -g rollup
- npm run build
- cd ./dist
deploy:
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-timespan",
"version": "1.3.1",
"version": "1.3.2",
"description": "A TS/JS implementation of Timespans",
"main": "ng-timespan.umd.js",
"jsnext:main": "ng-timespan.esm.js",
Expand All @@ -11,8 +11,7 @@
"bundle": "rollup -c rollup.config.umd.js && rollup -c rollup.config.esm.js && tsc",
"postbundle": "node tools/remove-code.js",
"build": "rm -rf ./dist && npm run bundle && npm run copy && touch ./dist/.npmrc",
"publish": "npm test && npm run build && cd ./dist && npm publish",
"postpublish": "rm -rf ./dist && echo \"All done!\"; exit 0",
"postpublish": "echo \"All done!\"; exit 0",
"pretest": "tsc -p ./test",
"test": "nyc mocha -r ts-node/register/type-check 'test/**/*.spec.ts'",
"posttest": "nyc report --reporter=json --all && rm -f ./lib/*.js && rm -f ./lib/*.js.map && rm -f ./test/*.js && rm -f ./test/*.js.map"
Expand Down

0 comments on commit b53e173

Please sign in to comment.