57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
{
|
|
"name": "doks",
|
|
"version": "0.1.5",
|
|
"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.12",
|
|
"@babel/core": "^7.12",
|
|
"@babel/preset-env": "^7.12",
|
|
"@fullhuman/postcss-purgecss": "^4.0",
|
|
"autoprefixer": "^10.2",
|
|
"bootstrap": "^4.6",
|
|
"clipboard": "^2.0",
|
|
"eslint": "^7.20",
|
|
"flexsearch": "^0.6",
|
|
"hugo-bin": "^0.68.0",
|
|
"instant.page": "^5.1",
|
|
"lazysizes": "^5.3",
|
|
"markdownlint-cli": "^0.26",
|
|
"netlify-lambda": "^2.0",
|
|
"postcss": "^8.2",
|
|
"postcss-cli": "^8.3",
|
|
"purgecss-whitelister": "^2.4",
|
|
"rimraf": "^3.0",
|
|
"standard-version": "^9.1",
|
|
"stylelint": "^13.10",
|
|
"stylelint-config-standard": "^20.0"
|
|
}
|
|
}
|