Files
unbound-site/themes/LoveIt/package.json
T
2025-01-24 15:19:53 +00:00

52 lines
1.7 KiB
JSON

{
"name": "loveit-src",
"version": "0.2.0",
"description": "LoveIt theme source file",
"private": true,
"dependencies": {},
"devDependencies": {
"@babel/cli": "7.26.4",
"@babel/core": "7.26.7",
"@babel/preset-env": "7.26.7",
"babel-preset-minify": "0.5.2",
"babelify": "10.0.0",
"browserify": "17.0.1",
"core-js": "3.40.0",
"husky": "9.1.7",
"minimist": "1.2.8",
"segmentit": "2.0.3"
},
"scripts": {
"preinstall": "npx npm-force-resolutions",
"babel": "npx babel src/js --out-file assets/js/theme.min.js --source-maps",
"build": "npm run babel && hugo -v --source=exampleSite --themesDir ../.. --gc",
"build-lunr-segmentit": "browserify src/lib/lunr.segmentit.js -o assets/lib/lunr/lunr.segmentit.js -t babelify --presets @babel/preset-env --presets minify",
"start": "npm run babel && hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender",
"start-production": "npm run babel && hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender -e production",
"check": "htmlproofer exampleSite/public --check-html --allow-hash-href --empty-alt-ignore --disable-external",
"copy": "rm -rf resources && cp -rf exampleSite/resources resources"
},
"resolutions": {
"minimist": "1.2.8"
},
"husky": {
"hooks": {
"pre-commit": "npm run build && npm run copy && git add resources assets/js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/dillonzq/LoveIt.git"
},
"keywords": [
"hugo",
"theme"
],
"author": "Dillon",
"license": "MIT",
"bugs": {
"url": "https://github.com/dillonzq/LoveIt/issues"
},
"homepage": "https://github.com/dillonzq/LoveIt#readme"
}