summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json9
1 files changed, 8 insertions, 1 deletions
diff --git a/package.json b/package.json
index 094fb05c..0f8e82cd 100644
--- a/package.json
+++ b/package.json
@@ -24,7 +24,8 @@
"test-code-write": "vitest run --config test/data/vitest.write.config.json",
"test-build": "node ./dev/bin/build.js --dryRun --all",
"license-report": "license-report --output=html --only=prod --fields=name --fields=installedVersion --fields=licenseType --fields=link --html.cssFile=dev/data/legal-npm.css > ext/legal-npm.html",
- "license-report-markdown": "license-report --output=markdown --only=prod --fields=name --fields=installedVersion --fields=licenseType --fields=link"
+ "license-report-markdown": "license-report --output=markdown --only=prod --fields=name --fields=installedVersion --fields=licenseType --fields=link",
+ "prepare": "husky install"
},
"repository": {
"type": "git",
@@ -75,9 +76,12 @@
"eslint-plugin-vitest": "^0.3.20",
"fake-indexeddb": "^5.0.2",
"html-validate": "^8.8.0",
+ "husky": "^9.0.10",
"jsdom": "^24.0.0",
"jszip": "^3.10.1",
"license-report": "^6.5.0",
+ "lint-staged": "^15.2.1",
+ "prettier": "^3.2.4",
"stylelint": "^16.1.0",
"stylelint-config-recommended": "^14.0.0",
"ts-json-schema-generator": "^1.5.0",
@@ -91,5 +95,8 @@
"handlebars": "^4.7.8",
"parse5": "^7.1.2",
"wanakana": "^5.3.1"
+ },
+ "lint-staged": {
+ "*.md": "prettier --write"
}
}