Shrinkwrap dependencies on new release
This commit is contained in:
parent
539b445890
commit
8070120b45
|
@ -12,6 +12,7 @@ if [ "$#" -ne 1 ] ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# install dependencies
|
# install dependencies
|
||||||
|
rm npm-shrinkwrap.json
|
||||||
rm -rf node_modules/
|
rm -rf node_modules/
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
|
@ -21,6 +22,9 @@ grunt set_version --release=$1
|
||||||
# build and test
|
# build and test
|
||||||
npm test
|
npm test
|
||||||
|
|
||||||
|
# shrinkwrap production and dev dependencies
|
||||||
|
npm shrinkwrap --dev
|
||||||
|
|
||||||
# Add build files to git
|
# Add build files to git
|
||||||
sed -i "" '/^dist\/$/d' .gitignore
|
sed -i "" '/^dist\/$/d' .gitignore
|
||||||
git add dist/ *.json
|
git add dist/ *.json
|
||||||
|
|
Loading…
Reference in New Issue
Block a user