Add empty .npmignore file for periodic-package-stackviz-element

We actually want to publish the build folder in our tarball, this
allows jobs to use the final compiled output.

Change-Id: Ia39b9a03619ce8d8cc40fb852f99fb32e3c9a27c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-04-16 19:14:45 -04:00
parent 584e613492
commit 3af437c708
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 3 additions and 0 deletions

View File

@ -455,6 +455,9 @@
# NOTE(pabelanger): Delete npm mirror, since it is currently broken.
rm -rf ~/.npmrc
export DISPLAY=:99
# Because we want to publish the build folder, create an empty
# .npmignore file.
touch .npmignore
npm install --verbose
npm run prod --verbose
rm -rf .tox