56 lines
1.7 KiB
JSON
56 lines
1.7 KiB
JSON
{
|
|
"name": "doks",
|
|
"version": "0.1.6",
|
|
"private": true,
|
|
"hugo-bin": {
|
|
"buildTags": "extended"
|
|
},
|
|
"browserslist": [
|
|
"defaults"
|
|
],
|
|
"scripts": {
|
|
"init": "rimraf .git && git init -b main",
|
|
"create": "hugo new",
|
|
"prestart": "npm run clean",
|
|
"start": "hugo server --disableFastRender",
|
|
"prebuild": "npm run clean",
|
|
"build": "hugo --gc --minify && npm run build:functions",
|
|
"build:functions": "netlify-lambda build assets/lambda",
|
|
"build:preview": "npm run build -D -F",
|
|
"clean": "rimraf public resources functions",
|
|
"lint": "npm run -s lint:scripts && npm run -s lint:styles && npm run -s lint:markdown",
|
|
"lint:scripts": "eslint assets/js assets/lambda config",
|
|
"lint:styles": "stylelint \"assets/scss/**/*.{css,sass,scss,sss,less}\"",
|
|
"lint:markdown": "markdownlint *.md content/**/*.md",
|
|
"release": "standard-version",
|
|
"release:dry-run": "standard-version --dry-run",
|
|
"server": "hugo server",
|
|
"test": "npm run -s lint",
|
|
"env": "env",
|
|
"precheck": "npm version",
|
|
"check": "hugo version"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.18.9",
|
|
"@babel/core": "^7.18.9",
|
|
"@babel/preset-env": "^7.18.9",
|
|
"@fullhuman/postcss-purgecss": "^4.0",
|
|
"autoprefixer": "^10.4.8",
|
|
"bootstrap": "^5.2.0",
|
|
"clipboard": "^2.0",
|
|
"eslint": "^7.21",
|
|
"flexsearch": "^0.6",
|
|
"hugo-bin": "^0.69",
|
|
"instant.page": "^5.1",
|
|
"lazysizes": "^5.3",
|
|
"markdownlint-cli": "^0.27",
|
|
"netlify-lambda": "^2.0",
|
|
"postcss": "^8.2",
|
|
"postcss-cli": "^8.3",
|
|
"purgecss-whitelister": "^2.4",
|
|
"rimraf": "^3.0",
|
|
"standard-version": "^9.1",
|
|
"stylelint": "^13.11",
|
|
"stylelint-config-standard": "^20.0"
|
|
}
|
|
}
|