File tree 2 files changed +2
-6
lines changed
2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 14
14
"clean" : " rm -rf dist" ,
15
15
"build-umd" : " webpack --config webpack.config.umd.js" ,
16
16
"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 " ,
18
18
"build" : " npm run clean && npm run build-umd && npm run build-angular && npm run copy-package-info" ,
19
19
"publish" : " npm run build && ./publish.sh"
20
20
},
Original file line number Diff line number Diff line change 3
3
# Build project
4
4
npm run build
5
5
6
- DESTDIR=./dist
7
- cd DESTDIR
8
-
9
6
echo " ====== PUBLISHING: angular2-pubusb ====="
10
-
11
- npm publish angular2-pubsub --access public
7
+ npm publish ./dist --access public
12
8
echo " ====== PUBLISHED: angular2-pubusb ====="
You can’t perform that action at this time.
0 commit comments