67 lines
2.2 KiB
JSON
67 lines
2.2 KiB
JSON
{
|
|
"name": "doks-child-theme",
|
|
"description": "Doks child theme",
|
|
"version": "0.3.0",
|
|
"browserslist": [
|
|
"defaults"
|
|
],
|
|
"repository": "https://github.com/h-enk/doks",
|
|
"license": "MIT",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"init": "shx rm -rf .git && git init -b main",
|
|
"create": "exec-bin bin/hugo/hugo new",
|
|
"prestart": "npm run clean",
|
|
"start": "exec-bin bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender",
|
|
"prebuild": "npm run clean",
|
|
"build": "exec-bin bin/hugo/hugo --gc --minify",
|
|
"build:preview": "npm run build -D -F",
|
|
"clean": "shx rm -rf public resources",
|
|
"clean:install": "shx rm -rf package-lock.json bin node_modules ",
|
|
"lint": "npm run -s lint:scripts && npm run -s lint:styles && npm run -s lint:markdown",
|
|
"lint:scripts": "eslint assets/js config functions",
|
|
"lint:styles": "stylelint \"assets/scss/**/*.{css,sass,scss,sss,less}\"",
|
|
"lint:markdown": "markdownlint *.md content/**/*.md",
|
|
"server": "exec-bin bin/hugo/hugo server",
|
|
"test": "npm run -s lint",
|
|
"env": "env",
|
|
"precheck": "npm version",
|
|
"check": "exec-bin bin/hugo/hugo version",
|
|
"copy:katex-fonts": "shx cp ./node_modules/katex/dist/fonts/* ./static/fonts/",
|
|
"postinstall": "hugo-installer --version otherDependencies.hugo --extended",
|
|
"version": "auto-changelog -p && git add CHANGELOG.md"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.14",
|
|
"@babel/core": "^7.14",
|
|
"@babel/preset-env": "^7.14",
|
|
"@fullhuman/postcss-purgecss": "^4.0",
|
|
"@hyas/doks": "^0.3",
|
|
"auto-changelog": "^2.3.0",
|
|
"autoprefixer": "^10.2",
|
|
"bootstrap": "^5.0",
|
|
"clipboard": "^2.0",
|
|
"eslint": "^7.29",
|
|
"exec-bin": "^1.0.0",
|
|
"hugo-installer": "^3.0.1",
|
|
"flexsearch": "^0.7.11",
|
|
"highlight.js": "^11.0",
|
|
"instant.page": "^5.1",
|
|
"katex": "^0.13",
|
|
"lazysizes": "^5.3",
|
|
"markdownlint-cli": "^0.27",
|
|
"mermaid": "^8.10.2",
|
|
"postcss": "^8.3",
|
|
"postcss-cli": "^8.3",
|
|
"purgecss-whitelister": "^2.4",
|
|
"shx": "^0.3.3",
|
|
"stylelint": "^13.13",
|
|
"stylelint-config-standard": "^22.0"
|
|
},
|
|
"otherDependencies": {
|
|
"hugo": "0.84.0"
|
|
}
|
|
}
|