Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
kolkov committed Jul 15, 2019
1 parent ff1215b commit 65a5b04
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ before_script:
- npm install -g @angular/cli
- npm install -g codecov
script:
- npm run lint
- npm run lint:lib
- npm run test-ci
- codecov
- npm run build:lib
before_deploy:
- npm run copy:readme
- npm run copy:changelog
- npm run copy:license
- cd dist/kolkov/ngx-dadata
deploy:
provider: npm
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build --prod",
"build": "ng build ngx-dadata-app --prod",
"test": "ng test",
"lint": "ng lint",
"lint:lib": "ng lint ngx-dadata",
"e2e": "ng e2e",
"build-watch:lib": "ng build ngx-dadata --watch",
"test:lib": "ng test ngx-dadata",
"build:lib": "ng build ngx-dadata",
"publish:lib": "npm run copy:readme && npm run copy:changelog && npm run copy:license && npm publish ./dist/ngx-dadata",
"test:lib": "ng test ngx-dadata",
"copy:readme": "cpx ./README.md dist/ngx-dadata",
"copy:changelog": "cpx ./CHANGELOG.md dist/ngx-dadata",
"copy:license": "cpx ./LICENSE dist/ngx-dadata",
Expand Down

0 comments on commit 65a5b04

Please sign in to comment.