aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2017-11-23 10:22:54 +0200
committerGitHub <[email protected]>2017-11-23 10:22:54 +0200
commitcdab56d940b3c4c9714005aa3caa8842f3e4e8c3 (patch)
tree7fc236b47cb27218c120a465364e85b5c0d878b7 /package.json
parentdcb761350c72d77a4288493efc5b9a043feb9a26 (diff)
downloadbootstrap-cdab56d940b3c4c9714005aa3caa8842f3e4e8c3.tar.xz
bootstrap-cdab56d940b3c4c9714005aa3caa8842f3e4e8c3.zip
Add a simple script to generate SRI hashes for our assets. (#24814)
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json
index 9eedd9b81..e003847ac 100644
--- a/package.json
+++ b/package.json
@@ -55,6 +55,7 @@
"docs-upload-preview": "build/upload-preview.sh",
"docs-workbox-precache": "node build/workbox.js",
"maintenance-dependencies": "ncu -a -x jquery && npm update && bundle update && shx echo \"Manually update assets/js/vendor/*, js/tests/vendor/* and .travis.yml\"",
+ "release-sri": "node build/generate-sri.js",
"release-version": "node build/change-version.js",
"release-zip": "cd dist/ && zip -r9 bootstrap-$npm_package_version-dist.zip * && shx mv bootstrap-$npm_package_version-dist.zip ..",
"dist": "npm-run-all --parallel css js",
@@ -106,6 +107,7 @@
"rollup-plugin-node-resolve": "^3.0.0",
"shelljs": "^0.7.8",
"shx": "^0.2.2",
+ "sri-toolbox": "^0.2.0",
"stylelint": "^8.2.0",
"stylelint-config-recommended-scss": "^2.0.0",
"stylelint-config-standard": "^17.0.0",