]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Rename shrinkwrap-related npm script (#20311)
authorChris Rebert <github@chrisrebert.com>
Sat, 16 Jul 2016 21:12:49 +0000 (14:12 -0700)
committerGitHub <noreply@github.com>
Sat, 16 Jul 2016 21:12:49 +0000 (14:12 -0700)
To avoid infinite recursion in newer npm versions, which added a lifecycle script for `npm shrinkwrap`.
Refs https://github.com/npm/npm/issues/13253
Refs https://github.com/npm/npm/pull/12814

[ci skip]

package.json

index 2d6b598d2d454e12fbc47a1e92d4634a7317316c..38d6b87bfbfb89a9d171b2e70430461c7acbb8d5 100644 (file)
@@ -23,7 +23,7 @@
     "htmlhint": "htmlhint --config docs/.htmlhintrc _gh_pages/",
     "postcss": "postcss --config grunt/postcss.js --replace dist/css/*.css",
     "postcss-docs": "postcss --config grunt/postcss.js --no-map --replace docs/assets/css/docs.min.css && postcss --config grunt/postcss.js --no-map --replace docs/examples/**/*.css",
-    "shrinkwrap": "npm shrinkwrap --dev && shx mv ./npm-shrinkwrap.json ./grunt/npm-shrinkwrap.json",
+    "update-shrinkwrap": "npm shrinkwrap --dev && shx mv ./npm-shrinkwrap.json ./grunt/npm-shrinkwrap.json",
     "test": "npm run eslint && npm run jscs && grunt test"
   },
   "style": "dist/css/bootstrap.css",