Files
FixIt/package.json
T
2022-08-04 10:25:29 +08:00

46 lines
1.6 KiB
JSON

{
"name": "fixit-src",
"version": "0.2.15",
"description": "FixIt theme source files",
"private": true,
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.18.10",
"@babel/core": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"atomic-algolia": "^0.3.19",
"babel-preset-minify": "^0.5.2",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"core-js": "^3.24.1",
"minimist": "^1.2.6",
"segmentit": "^2.0.3"
},
"scripts": {
"preinstall": "npx npm-force-resolutions",
"babel": "npx babel src/js/theme.js --out-file assets/js/theme.js",
"build": "npm run babel && hugo -v --source=docs --gc --minify",
"build-lunr-segmentit": "browserify src/lib/lunr.segmentit.js -o assets/lib/lunr/lunr.segmentit.js -t babelify --presets @babel/preset-env --presets minify",
"server": "hugo server --source=docs -D --disableFastRender --navigateToChanged --ignoreCache",
"server:production": "hugo server --source=docs -D --disableFastRender --navigateToChanged --ignoreCache -e production",
"start": "npm run babel && npm run server",
"start:production": "npm run babel && npm run server:production",
"algolia": "atomic-algolia",
"update:docs": "git submodule update --remote --merge && git add docs && git commit -m ':memo: Docs: update FixIt theme Docs'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hugo-fixit/FixIt.git"
},
"keywords": [
"hugo",
"theme"
],
"author": "Lruihao",
"license": "MIT",
"bugs": {
"url": "https://github.com/hugo-fixit/FixIt/issues"
},
"homepage": "https://github.com/hugo-fixit/FixIt#readme"
}