-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 1.86 KB
/
package.json
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "zodbus",
"version": "0.0.0-semantic-release",
"repository": "https://github.com/3rd/zodbus",
"description": "Type-safe event bus built around Zod.",
"keywords": [
"event bus",
"zod",
"typescript"
],
"author": {
"name": "Andrei Neculaesei",
"email": "[email protected]"
},
"license": "MIT",
"files": [
"dist"
],
"type": "module",
"types": "dist/index.d.ts",
"main": "dist/index.mjs",
"exports": {
".": {
"import": {
"default": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"require": {
"default": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
}
},
"scripts": {
"build": "npm run clean && node src/scripts/build.mjs && tsc -p tsconfig.build.json",
"test": "jest",
"tsc": "tsc",
"benchmark": "cd benchmark && npm run benchmark",
"prepare": "husky install",
"prepublishOnly": "pnpm run build && pnpm run tsc && pnpm run test",
"clean": "rm -rf dist"
},
"lint-staged": {
"*": "prettier --ignore-unknown --write"
},
"prettier": {
"arrowParens": "always",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"printWidth": 120,
"quoteProps": "as-needed",
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.8",
"esbuild": "^0.20.2",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"semantic-release": "^23.0.8",
"ts-jest": "^29.1.2",
"typescript": "^5.4.5"
},
"peerDependencies": {
"zod": "^3.21.4"
}
}