Skip to content

Commit 6b4b2c6

Browse files
sqlProvidersqlProvider
sqlProvider
authored and
sqlProvider
committed
[Version] v2.0.0-stable
1 parent 455e062 commit 6b4b2c6

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
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
},

publish.sh

+1-5
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
# Build project
44
npm run build
55

6-
DESTDIR=./dist
7-
cd DESTDIR
8-
96
echo "====== PUBLISHING: angular2-pubusb ====="
10-
11-
npm publish angular2-pubsub --access public
7+
npm publish ./dist --access public
128
echo "====== PUBLISHED: angular2-pubusb ====="

0 commit comments

Comments
 (0)