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.

55 lines
2.3 KiB

4 years ago
  1. {
  2. "name": "after-dark",
  3. "version": "9.2.3",
  4. "description": "Hugo Dark Theme Site Generator",
  5. "author": "Josh Habdas <jhabdas@protonmail.com> (https://habd.as)",
  6. "keywords": [
  7. "hugo",
  8. "dark",
  9. "theme",
  10. "website",
  11. "blog"
  12. ],
  13. "homepage": "https://after-dark.habd.as",
  14. "repository": {
  15. "type": "git",
  16. "url": "https://git.habd.as/comfusion/after-dark.git"
  17. },
  18. "standard-version": {
  19. "scripts": {
  20. "posttag": "git tag --sign $(git describe --tags $(git rev-list --tags --max-count=1)) $(git describe --tags $(git rev-list --tags --max-count=1))^{} -f -m \"$(git log -1 --pretty=%B)\" -m \"-----BEGIN DIST INTEGRITY-----\" -m \"$(npm pack --dry-run --json . | grep integrity | cut -d ',' -f1 | cut -d ':' -f2 | tr -d '\" ')\" -m \"-----END DIST INTEGRITY-----\""
  21. }
  22. },
  23. "scripts": {
  24. "update:lazysizes": "npm up lazysizes && cp -i node_modules/lazysizes/lazysizes.min.js static/js",
  25. "update:lodash:custom": "./node_modules/.bin/lodash include=debounce -p -o static/js/lodash.custom.min.js",
  26. "update:fuse": "npm up fuse.js && cp -i node_modules/fuse.js/dist/fuse.js static/js/fuse.min.js",
  27. "update:vue": "npm up vue && cp -i node_modules/vue/dist/vue.min.js static/js",
  28. "update:mark": "npm up mark.js && cp -i node_modules/mark.js/dist/mark.min.js static/js",
  29. "update:hackcss": "npm up hackcss && cp -ir node_modules/hack/dist/ assets/css/vendor/hack/",
  30. "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",
  31. "test": "while true; do head -n 100 /dev/urandom; sleep 0.1; done | hexdump -C | grep 'ca fe'",
  32. "integrity": "npm pack --dry-run --json . | grep integrity | cut -d ',' -f1 | cut -d ':' -f2 | tr -d '\" '",
  33. "release": "standard-version",
  34. "commit": "npx git-cz"
  35. },
  36. "devDependencies": {
  37. "atom-one-chroma": "^2.0.0",
  38. "commitizen": "^4.2.2",
  39. "cz-conventional-changelog": "^3.3.0",
  40. "fetch-inject": "^2.0.4",
  41. "fuse.js": "^6.4.5",
  42. "hack": "^0.8.1",
  43. "lazysizes": "^5.3.0",
  44. "lodash-cli": "^4.17.5",
  45. "mark.js": "^8.11.1",
  46. "standard-version": "^9.1.0",
  47. "vue": "^2.6.12"
  48. },
  49. "config": {
  50. "commitizen": {
  51. "path": "./node_modules/cz-conventional-changelog"
  52. }
  53. },
  54. "license": "AGPL-3.0-or-later"
  55. }