Forgejo-Omphaloskepsis-Theme/package.json
2024-07-07 15:01:37 +02:00

55 lines
1.5 KiB
JSON

{
"name": "code.bengoldsworthy.net",
"version": "1.0.0",
"description": "Ben Goldsworthy's personal code repository.",
"scripts": {
"deploy": "rsync -rP --delete ./data/gitea/conf ./data/gitea/public ./data/gitea/templates ovhvps:~/code/data/gitea/ && rsync -rP --delete ./docker-compose.yml ovhvps:~/code/",
"lint": "npm run lint:css",
"lint:fix": "npm run lint:css:fix",
"lint:css": "stylelint \"./gitea/gitea/public/css/*.css\" --cache --cache-location .cache/ .stylelintcache",
"lint:css:fix": "npm run lint:css -- --fix"
},
"lint-staged": {
"*.s?[ca]ss": [
"npm run spellcheck",
"npm run lint:css",
"git add"
],
"*.md": [
"npm run spellcheck",
"npm run format:md",
"npm run lint:md",
"git add"
],
"*.html?": [
"npm run spellcheck",
"npm run format:html",
"git add"
],
"*.json": [
"npm run spellcheck",
"npm run lint:json",
"git add"
]
},
"dependencies": {
"mathjax": "^3.2.2"
},
"devDependencies": {
"cspell": "^7.0.0",
"eslint": "^8.45.0",
"husky": "^8.0.1",
"jsonlint": "^1.6.3",
"lint-staged": "^13.0.3",
"markdownlint": "^0.26.2",
"markdownlint-cli": "^0.35.0",
"prettier": "^2.7.1",
"sentences-per-line": "^0.2.1",
"stylelint": "^14.9.1",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard-scss": "^5.0.0",
"stylelint-prettier": "^2.0.0",
"stylelint-scss": "^4.3.0",
"stylelint-selector-bem-pattern": "^3.0.0"
}
}