-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 2.24 KB
/
Copy pathpackage.json
File metadata and controls
62 lines (62 loc) · 2.24 KB
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": "validex-monorepo",
"type": "module",
"version": "1.0.0",
"private": true,
"packageManager": "pnpm@10.33.0",
"description": "Type-safe validation rules built on Zod — monorepo workspace",
"author": "Ciprian Toma",
"license": "MIT",
"engines": {
"node": ">=22"
},
"scripts": {
"build": "pnpm -r build",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"typecheck": "pnpm -r typecheck",
"test": "pnpm -r test",
"test:coverage": "pnpm -r test:coverage",
"test:unit": "pnpm -r --if-present test:unit",
"test:integration": "pnpm -r --if-present test:integration",
"test:e2e": "pnpm -r --if-present test:e2e",
"test:property": "pnpm -r --if-present test:property",
"test:fuzz": "pnpm -r --if-present test:fuzz",
"test:smoke": "bash scripts/smokeTest.sh",
"test:bundle-size": "pnpm --filter @validex/core test:bundle-size",
"check": "pnpm lint && pnpm typecheck && pnpm test",
"check:full": "pnpm check && pnpm -r build && pnpm -r exec publint && pnpm knip && pnpm test:bundle-size",
"knip": "knip",
"changeset": "changeset",
"prepare": "simple-git-hooks"
},
"devDependencies": {
"@antfu/eslint-config": "^8.0.0",
"@arethetypeswrong/cli": "^0.18.2",
"@changesets/changelog-github": "^0.6.0",
"@changesets/cli": "^2.30.0",
"@emnapi/core": "^1.9.2",
"@emnapi/runtime": "^1.9.2",
"@types/node": "^25.5.0",
"@vitest/coverage-v8": "^4.1.2",
"eslint": "^10.1.0",
"eslint-plugin-sonarjs": "^4.0.2",
"knip": "^6.2.0",
"lint-staged": "^16.4.0",
"publint": "^0.3.18",
"simple-git-hooks": "^2.13.1",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.1.2",
"zod": "^4.3.6"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged && pnpm typecheck",
"commit-msg": "node --input-type=module -e \"import {readFileSync} from 'fs'; const msg = readFileSync(process.argv[1], 'utf8').trim(); if (!/^(feat|fix|docs|refactor|test|chore|perf|ci|build|style|revert|security)(\\\\(.+\\\\))?!?:.+/.test(msg)) { console.error('Invalid commit message. Use conventional commits: feat|fix|docs|refactor|test|chore: message'); process.exit(1); }\" \"$1\""
},
"lint-staged": {
"*.ts": [
"eslint --fix"
]
}
}