Fix: npm run publich copy also readme.md in dist folder

This commit is contained in:
Lorenzo Iovino 2019-02-05 10:53:35 +01:00
parent 1b95571a88
commit 181595eeca
2 changed files with 56 additions and 57 deletions

View file

@ -9,7 +9,7 @@
"scripts": {
"transpile": "ngc",
"build": "npm run transpile",
"publish": "npm run build && cp publishPackage.json ./dist/package.json && cd dist && npm publish --access=public"
"publish": "npm run build && cp publishPackage.json ./dist/package.json && cp README.md ./dist/README.md && cd dist && npm publish --access=public"
},
"keywords": [],
"author": "Lorenzo Iovino",