LoveIt/package.json

43 lines
1.5 KiB
JSON
Raw Normal View History

2020-02-16 17:41:08 +01:00
{
"name": "loveit-src",
"version": "0.2.0",
2020-02-16 17:41:08 +01:00
"description": "LoveIt theme source file",
"private": true,
2020-02-16 17:41:08 +01:00
"devDependencies": {
2022-05-03 18:23:36 +02:00
"@algolia/cli": "^4.0.8",
2022-05-03 12:05:41 +02:00
"@babel/cli": "^7.17.10",
"@babel/core": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"babelify": "^10.0.0",
2022-05-03 12:05:41 +02:00
"browserify": "^16.5.2",
"core-js": "^3.22.4",
2022-05-07 06:19:00 +02:00
"husky": "^7.0.0",
2022-05-03 12:05:41 +02:00
"segmentit": "^2.0.3"
2020-02-16 17:41:08 +01:00
},
"scripts": {
"preinstall": "npx npm-force-resolutions",
2022-05-03 12:05:41 +02:00
"babel": "npx babel src/js --out-file assets/js/theme.js",
2020-04-29 19:54:12 +02:00
"build": "npm run babel && hugo -v --source=exampleSite --themesDir ../.. --gc",
2022-05-03 18:23:36 +02:00
"build-lunr-segmentit": "browserify src/lib/lunr/lunr.segmentit.js -o assets/lib/lunr/lunr.segmentit.js -t babelify --presets @babel/preset-env",
2020-04-29 19:54:12 +02:00
"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",
2022-05-07 06:19:00 +02:00
"copy": "rm -rf resources && cp -rf exampleSite/resources resources",
"prepare": "husky install"
2020-02-16 17:41:08 +01:00
},
"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"
}