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",
|
|
|
|
"minimist": "^1.2.5",
|
|
|
|
"segmentit": "^2.0.3"
|
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-26 17:00:29 +02:00
|
|
|
"build": "npm run babel && hugo -v --source=exampleSite --themesDir ../.. -D --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-26 17:00:29 +02:00
|
|
|
"start": "npm run babel && hugo server --source=exampleSite --themesDir ../.. --disableFastRender",
|
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
|
|
|
},
|
2020-04-15 09:46:50 +02:00
|
|
|
"resolutions": {
|
|
|
|
"minimist": "^1.2.5"
|
|
|
|
},
|
2020-02-16 17:41:08 +01:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2020-04-26 19:19:23 +02:00
|
|
|
"pre-commit": "npm run build && npm run copy && git add ."
|
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"
|
|
|
|
}
|