2020-02-16 17:41:08 +01:00
|
|
|
{
|
|
|
|
"name": "loveit-src",
|
2020-03-16 14:35:16 +01:00
|
|
|
"version": "0.2.0",
|
2020-02-16 17:41:08 +01:00
|
|
|
"description": "LoveIt theme source file",
|
2020-04-15 09:46:50 +02:00
|
|
|
"private": true,
|
2020-02-16 17:41:08 +01:00
|
|
|
"dependencies": {},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/cli": "^7.8.4",
|
2020-04-15 09:46:50 +02:00
|
|
|
"@babel/core": "^7.9.0",
|
|
|
|
"@babel/preset-env": "^7.9.0",
|
2020-02-16 17:41:08 +01:00
|
|
|
"babel-preset-minify": "^0.5.1",
|
2020-04-15 09:46:50 +02:00
|
|
|
"babelify": "^10.0.0",
|
|
|
|
"browserify": "^16.5.0",
|
|
|
|
"core-js": "^3.6.4",
|
|
|
|
"husky": "^4.2.3",
|
2022-05-03 04:37:51 +02:00
|
|
|
"minimist": "^1.2.6",
|
|
|
|
"segmentit": "^2.0.3",
|
|
|
|
"lodash": "^4.17.21"
|
2020-02-16 17:41:08 +01:00
|
|
|
},
|
|
|
|
"scripts": {
|
2020-04-15 09:46:50 +02:00
|
|
|
"preinstall": "npx npm-force-resolutions",
|
|
|
|
"babel": "npx babel src/js --out-file assets/js/theme.min.js --source-maps",
|
2020-04-29 19:54:12 +02:00
|
|
|
"build": "npm run babel && hugo -v --source=exampleSite --themesDir ../.. --gc",
|
2020-04-15 09:46:50 +02:00
|
|
|
"build-lunr-segmentit": "browserify src/lib/lunr.segmentit.js -o assets/lib/lunr/lunr.segmentit.js -t babelify --presets @babel/preset-env --presets minify",
|
2020-04-29 19:54:12 +02:00
|
|
|
"start": "npm run babel && hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender",
|
2020-05-04 14:28:27 +02:00
|
|
|
"start-production": "npm run babel && hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender -e production",
|
2020-03-17 14:16:04 +01:00
|
|
|
"check": "htmlproofer exampleSite/public --check-html --allow-hash-href --empty-alt-ignore --disable-external",
|
2020-03-14 08:43:58 +01:00
|
|
|
"copy": "rm -rf resources && cp -rf exampleSite/resources resources"
|
2020-02-16 17:41:08 +01:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2020-05-18 10:10:24 +02:00
|
|
|
"pre-commit": "npm run build && npm run copy && git add resources assets/js"
|
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"
|
|
|
|
}
|