LoveIt/package.json
Dillon 6b03c711ac
feat(shortcode): add link shortcode (#179)
* feat(shortcode): add link shortcode

* docs: add docs for link shortcode

* docs: fix 'mailto' in link shortcode docs error
2020-03-17 21:16:04 +08:00

41 lines
1.2 KiB
JSON

{
"name": "loveit-src",
"version": "0.2.0",
"description": "LoveIt theme source file",
"main": "index.js",
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/preset-env": "^7.8.4",
"babel-preset-minify": "^0.5.1",
"minimist": ">=1.2.2",
"husky": "^4.2.3"
},
"scripts": {
"build": "npx babel src --out-file assets/js/theme.min.js --source-maps && hugo -v --source=exampleSite --themesDir=../.. -D --gc",
"start": "npm run build && hugo server --source=exampleSite --themesDir=../.. --disableFastRender",
"check": "htmlproofer exampleSite/public --check-html --allow-hash-href --empty-alt-ignore --disable-external",
"copy": "rm -rf resources && cp -rf exampleSite/resources resources"
},
"husky": {
"hooks": {
"pre-commit": "npm run build && npm run copy && git add .",
"pre-push": "npm run build && npm run copy && git add ."
}
},
"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"
}