Dynamically inline assets into the DOM using Fetch Injection https://habd.as/code/fetch-inject/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "fetch-inject",
  3. "version": "2.0.4",
  4. "description": "Dynamically inline assets into the DOM using Fetch Injection.",
  5. "author": "Josh Habdas <jhabdas@protonmail.com> (https://habd.as)",
  6. "module": "dist/fetch-inject.es.js",
  7. "main": "dist/fetch-inject.umd.js",
  8. "keywords": [
  9. "fetch",
  10. "inject",
  11. "import",
  12. "promise",
  13. "script"
  14. ],
  15. "homepage": "https://habd.as/code/fetch-inject/",
  16. "repository": {
  17. "type": "git",
  18. "url": "https://git.habd.as/jhabdas/fetch-inject.git"
  19. },
  20. "scripts": {
  21. "build": "rollup -c",
  22. "clean": "rimraf dist",
  23. "test": "while true; do head -n 100 /dev/urandom; sleep 0.1; done | hexdump -C | grep 'ca fe'",
  24. "lint": "standard",
  25. "release": "release-it"
  26. },
  27. "release-it": {
  28. "plugins": {
  29. "@release-it/conventional-changelog": {
  30. "preset": "@favoloso/emoji",
  31. "infile": "CHANGELOG.md"
  32. }
  33. },
  34. "hooks": {
  35. "before:init": "npm run lint",
  36. "after:bump": "npm run build",
  37. "after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
  38. },
  39. "git": {
  40. "requireCommits": true,
  41. "tagName": "v${version}",
  42. "commitMessage": "chore: release v${version}",
  43. "commitArgs": "-S",
  44. "tagArgs": "-s",
  45. "push": true
  46. },
  47. "npm": {
  48. "publish": true
  49. }
  50. },
  51. "husky": {
  52. "hooks": {
  53. "commit-msg": "emoji-commit-lint"
  54. }
  55. },
  56. "devDependencies": {
  57. "@favoloso/conventional-changelog-emoji": "^0.10.0",
  58. "@release-it/conventional-changelog": "^1.1.0",
  59. "husky": "^3.1.0",
  60. "release-it": "^12.4.3",
  61. "rimraf": "^3.0.0",
  62. "rollup": "^1.6.0",
  63. "rollup-plugin-license": "^0.13.0",
  64. "rollup-plugin-terser": "^5.1.2",
  65. "standard": "^14.3.1"
  66. },
  67. "license": "Zlib"
  68. }