aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-04-26 19:59:56 -0400
committerXe Iaso <me@xeiaso.net>2025-04-26 19:59:56 -0400
commit0a566abb1557f1a06723564b080061c06afd5de9 (patch)
tree85a97fc989dd557c76f24956ed7b0e8dc56352c8 /package.json
parentcc70fd1fc49ec08a8dba80508626cc42ac24cc26 (diff)
downloadx-0a566abb1557f1a06723564b080061c06afd5de9.tar.xz
x-0a566abb1557f1a06723564b080061c06afd5de9.zip
chore: set up husky and commitlint
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'package.json')
-rw-r--r--package.json45
1 files changed, 45 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..897eba3
--- /dev/null
+++ b/package.json
@@ -0,0 +1,45 @@
+{
+ "name": "@xe/x",
+ "version": "1.13.6",
+ "description": "Xe's /x/perimental playground",
+ "main": "yeetfile.js",
+ "directories": {
+ "doc": "docs"
+ },
+ "scripts": {
+ "generate": "go generate ./...",
+ "test": "npm run generate && go test ./...",
+ "prepare": "husky"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/Xe/x.git"
+ },
+ "author": "Xe Iaso <me@xeiaso.net>",
+ "license": "CC0-1.0",
+ "bugs": {
+ "url": "https://github.com/Xe/x/issues"
+ },
+ "homepage": "https://github.com/Xe/x#readme",
+ "devDependencies": {
+ "@commitlint/cli": "^19.8.0",
+ "@commitlint/config-conventional": "^19.8.0",
+ "husky": "^9.1.7"
+ },
+ "commitlint": {
+ "extends": [
+ "@commitlint/config-conventional"
+ ],
+ "rules": {
+ "footer-max-line-length": [
+ 2,
+ "always",
+ 99999
+ ],
+ "signed-off-by": [
+ 2,
+ "always"
+ ]
+ }
+ }
+} \ No newline at end of file