Browse Source

chore(manifest): add script for easy fetch-inject updates

Josh Habdas 6 months ago
parent
commit
ac13f8e3ca
Signed by: Josh Habdas <jhabdas@protonmail.com> GPG Key ID: B148B31154C75A74
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      package.json

+ 2
- 1
package.json View File

@@ -29,6 +29,7 @@
29 29
     "update:vue": "npm up vue && cp -i node_modules/vue/dist/vue.min.js static/js",
30 30
     "update:mark": "npm up mark.js && cp -i node_modules/mark.js/dist/mark.min.js static/js",
31 31
     "update:hackcss": "npm up hackcss && cp -ir node_modules/hack/dist/ assets/css/vendor/hack/",
32
+    "update:fetch-inject": "npm up fetch-inject && cp -i node_modules/fetch-inject/dist/fetch-inject.min.js assets/js/vendor/fetch-inject.min.js",
32 33
     "test": "while true; do head -n 100 /dev/urandom; sleep 0.1; done | hexdump -C | grep 'ca fe'",
33 34
     "integrity": "npm pack --dry-run --json . | grep integrity | cut -d ',' -f1 | cut -d ':' -f2 | tr -d '\" '",
34 35
     "release": "standard-version",
@@ -38,7 +39,7 @@
38 39
     "atom-one-chroma": "^2.0.0",
39 40
     "commitizen": "^3.1.1",
40 41
     "cz-conventional-changelog": "^2.1.0",
41
-    "fetch-inject": "^2.0.2",
42
+    "fetch-inject": "^2.0.4",
42 43
     "fuse.js": "^3.3.0",
43 44
     "hack": "^0.8.1",
44 45
     "lazysizes": "^4.1.4",

Loading…
Cancel
Save