36 lines
1.8 KiB
JSON
36 lines
1.8 KiB
JSON
|
{
|
||
|
"name": "avecsante.app",
|
||
|
"version": "1.0.0",
|
||
|
"description": "Tableau de bord pour les outils de l'association AVECsanté",
|
||
|
"author": "P4Pillon",
|
||
|
"license": "MIT",
|
||
|
"scripts": {
|
||
|
"dev": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender --baseURL=http://localhost --noHTTPCache",
|
||
|
"dev:drafts": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender --baseURL=http://localhost --noHTTPCache --buildDrafts",
|
||
|
"create": "exec-bin node_modules/.bin/hugo/hugo new",
|
||
|
"lint": "npm run lint:markdown",
|
||
|
"lint:scripts": "eslint --cache themes/doks/assets/js",
|
||
|
"lint:styles": "stylelint --cache \"themes/doks/assets/scss/**/*.{css,sass,scss}\"",
|
||
|
"lint:markdown": "markdownlint-cli2 \"*.md\" \"content/**/*.md\"",
|
||
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||
|
"build": "exec-bin node_modules/.bin/hugo/hugo --cleanDestinationDir --minify --environment production",
|
||
|
"deploy": "exec-bin node_modules/.bin/hugo/hugo deploy --environment production",
|
||
|
"preview": "http-server --gzip --brotli --ext=html --cors",
|
||
|
"clean": "npm run clean:build && npm run clean:lint && npm run clean:install",
|
||
|
"clean:build": "shx rm -rf public resources .hugo_build.lock",
|
||
|
"clean:install": "shx rm -rf node_modules package-lock.json yarn.lock pnpm-lock.yaml",
|
||
|
"clean:lint": "shx rm -rf .eslintcache .stylelintcache",
|
||
|
"preinfo": "npm version",
|
||
|
"info": "npm list",
|
||
|
"postinfo": "exec-bin node_modules/.bin/hugo/hugo version",
|
||
|
"postinstall": "shx rm -rf node_modules/.bin/hugo && shx mkdir node_modules/.bin/hugo && shx cp node_modules/gethyas/node_modules/.bin/hugo/* node_modules/.bin/hugo"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@hyas/doks-core": "^1.1.1"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=16.12.0",
|
||
|
"pnpm": ">=8.6.2"
|
||
|
},
|
||
|
"packageManager": "pnpm@8.6.2"
|
||
|
}
|