File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 1414 "clean" : " rm -rf dist" ,
1515 "build-umd" : " webpack --config webpack.config.umd.js" ,
1616 "build-angular" : " ngc -p tsconfig-ngc.json" ,
17- "copy-package-info" : " cp ./package.json ./dist/package.json && cp ./bower.json ./dist/bower.json" ,
17+ "copy-package-info" : " cp ./package.json ./dist/package.json && cp ./bower.json ./dist/bower.json && cp ./.npmignore ./dist/.npmignore " ,
1818 "build" : " npm run clean && npm run build-umd && npm run build-angular && npm run copy-package-info" ,
1919 "publish" : " npm run build && ./publish.sh"
2020 },
Original file line number Diff line number Diff line change 33# Build project
44npm run build
55
6- DESTDIR=./dist
7- cd DESTDIR
8-
96echo " ====== PUBLISHING: angular2-pubusb ====="
10-
11- npm publish angular2-pubsub --access public
7+ npm publish ./dist --access public
128echo " ====== PUBLISHED: angular2-pubusb ====="
You can’t perform that action at this time.
0 commit comments