aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: 59aabd7f48ce292cb6069231282358e6f48ab504 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
  "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",
    "lint-staged": "^15.5.1",
    "prettier": "^3.5.3"
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ],
    "rules": {
      "footer-max-line-length": [
        2,
        "always",
        99999
      ],
      "signed-off-by": [
        2,
        "always"
      ]
    }
  },
  "lint-staged": {
    "**/*.{js,ts,html,json,css,scss,md,mdx}": [
      "prettier -w"
    ],
    "**/*.{go}": [
      "go tool goimports -w"
    ]
  },
  "prettier": {
    "singleQuote": false,
    "tabWidth": 2,
    "semi": true,
    "trailingComma": "all",
    "printWidth": 80
  }
}