loi_re/package.json

72 lines
2.5 KiB
JSON
Raw Normal View History

2021-03-18 15:50:09 +01:00
{
2023-05-18 22:55:17 +02:00
"name": "loi.re",
"description": "Services Numériques Libres dans le département de la Loire (42)",
"version": "0.1.0",
2022-05-18 15:16:40 +02:00
"engines": {
2022-07-09 09:35:08 +02:00
"node": ">=16.16.0"
},
2021-03-18 15:50:09 +01:00
"browserslist": [
"defaults"
],
2023-05-22 15:49:31 +02:00
"repository": "https://git.resilien.fr/ResiLien/loi_re",
2023-05-11 22:12:16 +02:00
"license": "GPLv3",
2021-03-18 15:50:09 +01:00
"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-07-09 09:35:08 +02:00
"@babel/cli": "^7.18",
"@babel/core": "^7.18",
"@babel/preset-env": "^7.18",
2022-02-04 14:55:57 +01:00
"@fullhuman/postcss-purgecss": "^4.1",
2022-07-09 09:35:08 +02:00
"@hyas/doks": "^0.5",
"@hyas/images": "^0.2.1",
2022-02-04 14:55:57 +01:00
"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-07-09 09:35:08 +02:00
"eslint": "^8.19",
2021-06-25 16:49:17 +02:00
"exec-bin": "^1.0.0",
2021-08-05 10:24:44 +02:00
"flexsearch": "^0.7.21",
2022-03-30 15:23:29 +02:00
"highlight.js": "^11.5",
2022-07-09 09:35:08 +02:00
"hugo-installer": "^3.1",
2021-03-18 15:50:09 +01:00
"instant.page": "^5.1",
2022-07-09 09:35:08 +02:00
"katex": "^0.16",
2021-03-18 15:50:09 +01:00
"lazysizes": "^5.3",
2022-02-04 14:55:57 +01:00
"markdownlint-cli2": "^0.4.0",
2022-07-09 09:35:08 +02:00
"netlify-plugin-submit-sitemap": "^0.4.0",
2022-02-04 14:55:57 +01:00
"postcss": "^8.4",
2022-07-09 09:35:08 +02:00
"postcss-cli": "^10.0",
2021-03-18 15:50:09 +01:00
"purgecss-whitelister": "^2.4",
2022-02-04 14:55:57 +01:00
"shx": "^0.3",
2022-07-09 09:35:08 +02:00
"stylelint": "^14.9",
"stylelint-config-standard-scss": "^4.0"
2021-06-25 16:49:17 +02:00
},
"otherDependencies": {
2022-07-09 09:35:08 +02:00
"hugo": "0.101.0"
2021-03-18 15:50:09 +01:00
}
}