Skip to content

Commit

Permalink
updated publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Surinin committed Feb 14, 2019
1 parent d0a4b89 commit 904f485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"babel": "./node_modules/.bin/babel ./target/out --out-dir ./target/out-es5",
"delete:target": "rm -rf target",
"build": "npm run delete:target && npm run compile && npm test && npm run lint && npm run babel",
"copy": "cp package.json target/out/package.json && cp readme.md target/out/readme.md && cp LICENCE target/out/LICENCE && cp .npmignore target/out/.npmignore",
"copy": "cp package.json target/out-es5/package.json && cp readme.md target/out-es5/readme.md && cp LICENCE target/out-es5/LICENCE && cp .npmignore target/out-es5/.npmignore",
"commit:test": "git add . && git commit -m \"test commit\" && git push",
"publish:patch": "npm run build && npm version patch && npm run copy && npm publish target/out-es5",
"publish:minor": "npm run build && npm version minor && npm run copy && npm publish target/out-es5",
Expand Down Expand Up @@ -63,4 +63,4 @@
"tslint": "5.10.0",
"typescript": "3.2.2"
}
}
}

0 comments on commit 904f485

Please sign in to comment.