chore(build): Avoid publishing dart files to NPM repo

closes #3469

Closes #3964
This commit is contained in:
Alfonso Presa 2015-09-02 23:05:48 +02:00 committed by Misko Hevery
parent 28be0a59cf
commit 35328015b8
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@ function publishModule {
cp -r $ROOT_DIR/dist/js/cjs/$NAME/$FILES $PUBLISH_DIR cp -r $ROOT_DIR/dist/js/cjs/$NAME/$FILES $PUBLISH_DIR
fi fi
# Remove all dart related files
rm -f $PUBLISH_DIR/{,**/}{*.dart,*.dart.md}
npm publish $PUBLISH_DIR npm publish $PUBLISH_DIR
} }