2021-03-18 15:50:09 +01:00
|
|
|
{
|
|
|
|
"name": "doks-child-theme",
|
|
|
|
"description": "Doks child theme",
|
2022-02-04 14:55:57 +01:00
|
|
|
"version": "0.4.0",
|
2021-03-18 15:50:09 +01:00
|
|
|
"browserslist": [
|
|
|
|
"defaults"
|
|
|
|
],
|
|
|
|
"repository": "https://github.com/h-enk/doks",
|
|
|
|
"license": "MIT",
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2021-06-25 16:49:17 +02:00
|
|
|
"init": "shx rm -rf .git && git init -b main",
|
2021-09-07 13:04:58 +02:00
|
|
|
"create": "exec-bin node_modules/.bin/hugo/hugo new",
|
2021-03-18 15:50:09 +01:00
|
|
|
"prestart": "npm run clean",
|
2021-09-07 13:04:58 +02:00
|
|
|
"start": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender",
|
2021-03-18 15:50:09 +01:00
|
|
|
"prebuild": "npm run clean",
|
2021-09-07 13:04:58 +02:00
|
|
|
"build": "exec-bin node_modules/.bin/hugo/hugo --gc --minify",
|
2021-03-18 15:50:09 +01:00
|
|
|
"build:preview": "npm run build -D -F",
|
2021-06-25 16:49:17 +02:00
|
|
|
"clean": "shx rm -rf public resources",
|
2021-09-07 13:04:58 +02:00
|
|
|
"clean:install": "shx rm -rf package-lock.json node_modules ",
|
2021-03-18 15:50:09 +01:00
|
|
|
"lint": "npm run -s lint:scripts && npm run -s lint:styles && npm run -s lint:markdown",
|
2021-06-25 16:49:17 +02:00
|
|
|
"lint:scripts": "eslint assets/js config functions",
|
2021-03-18 15:50:09 +01:00
|
|
|
"lint:styles": "stylelint \"assets/scss/**/*.{css,sass,scss,sss,less}\"",
|
2022-02-04 14:55:57 +01:00
|
|
|
"lint:markdown": "markdownlint-cli2 \"*.md\" \"content/**/*.md\"",
|
|
|
|
"lint:markdown-fix": "markdownlint-cli2-fix \"*.md\" \"content/**/*.md\"",
|
2021-09-07 13:04:58 +02:00
|
|
|
"server": "exec-bin node_modules/.bin/hugo/hugo server",
|
2021-03-18 15:50:09 +01:00
|
|
|
"test": "npm run -s lint",
|
|
|
|
"env": "env",
|
|
|
|
"precheck": "npm version",
|
2021-09-07 13:04:58 +02:00
|
|
|
"check": "exec-bin node_modules/.bin/hugo/hugo version",
|
2021-06-25 16:49:17 +02:00
|
|
|
"copy:katex-fonts": "shx cp ./node_modules/katex/dist/fonts/* ./static/fonts/",
|
2021-09-07 13:04:58 +02:00
|
|
|
"postinstall": "hugo-installer --version otherDependencies.hugo --extended --destination node_modules/.bin/hugo",
|
2021-06-25 16:49:17 +02:00
|
|
|
"version": "auto-changelog -p && git add CHANGELOG.md"
|
2021-03-18 15:50:09 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-02-04 14:55:57 +01:00
|
|
|
"@babel/cli": "^7.17",
|
|
|
|
"@babel/core": "^7.17",
|
|
|
|
"@babel/preset-env": "^7.16",
|
|
|
|
"@fullhuman/postcss-purgecss": "^4.1",
|
|
|
|
"@hyas/doks": "^0.4",
|
|
|
|
"auto-changelog": "^2.4.0",
|
|
|
|
"autoprefixer": "^10.4",
|
2021-08-05 10:24:44 +02:00
|
|
|
"bootstrap": "^5.1",
|
2021-03-18 15:50:09 +01:00
|
|
|
"clipboard": "^2.0",
|
2022-02-04 14:55:57 +01:00
|
|
|
"eslint": "^8.8",
|
2021-06-25 16:49:17 +02:00
|
|
|
"exec-bin": "^1.0.0",
|
2021-08-05 10:24:44 +02:00
|
|
|
"hugo-installer": "^3.1",
|
|
|
|
"flexsearch": "^0.7.21",
|
2022-02-04 14:55:57 +01:00
|
|
|
"highlight.js": "^11.4",
|
2021-03-18 15:50:09 +01:00
|
|
|
"instant.page": "^5.1",
|
2022-02-04 14:55:57 +01:00
|
|
|
"katex": "^0.15",
|
2021-03-18 15:50:09 +01:00
|
|
|
"lazysizes": "^5.3",
|
2022-02-04 14:55:57 +01:00
|
|
|
"markdownlint-cli2": "^0.4.0",
|
2021-10-05 14:53:03 +02:00
|
|
|
"mermaid": "^8.13",
|
2022-02-04 14:55:57 +01:00
|
|
|
"postcss": "^8.4",
|
|
|
|
"postcss-cli": "^9.1",
|
2021-03-18 15:50:09 +01:00
|
|
|
"purgecss-whitelister": "^2.4",
|
2022-02-04 14:55:57 +01:00
|
|
|
"shx": "^0.3",
|
|
|
|
"stylelint": "^14.3",
|
|
|
|
"stylelint-config-standard-scss": "^3.0"
|
2021-06-25 16:49:17 +02:00
|
|
|
},
|
|
|
|
"otherDependencies": {
|
2022-02-04 14:55:57 +01:00
|
|
|
"hugo": "0.92.1"
|
2021-03-18 15:50:09 +01:00
|
|
|
}
|
|
|
|
}
|