-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 3.42 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 3.42 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "@elliots/typical",
"version": "0.3.1",
"description": "Runtime safe TypeScript transformer using typia",
"keywords": [
"runtime",
"transformer",
"typescript",
"typia",
"validation"
],
"homepage": "https://github.com/elliots/typical#readme",
"bugs": {
"url": "https://github.com/elliots/typical/issues"
},
"license": "MIT",
"author": "Elliot Shepherd <elliot@jarofworms.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/elliots/typical.git"
},
"bin": {
"ttsx": "bin/ttsx",
"typical": "bin/typical"
},
"files": [
"bin",
"src",
"dist/src"
],
"type": "module",
"main": "dist/src/index.js",
"exports": {
".": "./dist/src/index.js",
"./esm": "./dist/src/esm-loader-register.js",
"./loader": "./dist/src/esm-loader.js"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"lint": "oxlint --type-aware",
"lint:fix": "oxlint --type-aware --fix",
"format": "oxfmt",
"format:check": "oxfmt --check",
"build": "pnpm run build:go:all && pnpm run build:ts",
"build:go": "cd packages/compiler && npm run build:go",
"build:go:all": "./scripts/build-binaries.sh",
"build:ts": "pnpm --filter './packages/*' run build && tsc",
"build:website": "pnpm --filter typical-website run build",
"dev": "tsc --watch",
"test": "rm -f test/test.temp.ts && rm -rf test/project-fixtures && tsc && node --import ./dist/src/esm-loader-register.js --test dist/test/*.test.js",
"test:coverage": "rm -f test/test.temp.ts && tsc && node --import ./dist/src/esm-loader-register.js --test --experimental-test-coverage dist/test/*.test.js",
"test:coverage:html": "rm -f test/test.temp.ts && tsc && c8 --reporter=html --reporter=text --include='dist/src/**' node --import ./dist/src/esm-loader-register.js --test dist/test/*.test.js",
"bench": "pnpm run build && cd bench && pnpm install && npm run bench",
"test:all": "npm test && npm run bench",
"prepublishOnly": "npm run build && npm test",
"sample:esm": "cd samples/esm && pnpm install && npm run start",
"sample:ttsx": "cd samples/ttsx && pnpm install && npm run start",
"sample:tsc": "cd samples/tsc && pnpm install && npm run build && npm run start",
"sample:ttsc": "cd samples/ttsc && pnpm install && npm run build && npm run start",
"sample:vite-react": "cd samples/vite-react && pnpm install && pnpm run test",
"sample:bun": "cd samples/bun && pnpm install && bun run start",
"sample:react-native": "cd samples/react-native && pnpm install && npm run web",
"samples": "npm run sample:esm && npm run sample:ttsx && npm run sample:vite-react && npm run sample:bun",
"publish:all": "npm run lint && npm run format:check && node scripts/publish.js"
},
"dependencies": {
"@elliots/typical-compiler": "workspace:*",
"commander": "14.0.2"
},
"devDependencies": {
"@types/node": "22",
"c8": "10.1.3",
"nano-staged": "^0.9.0",
"oxfmt": "^0.21.0",
"oxlint": "1.36.0",
"oxlint-tsgolint": "0.10.1",
"simple-git-hooks": "^2.13.1",
"typescript": "5.9.3"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm nano-staged"
},
"nano-staged": {
"*.{js,ts,tsx,jsx,json,md,html,css}": "oxfmt"
},
"engines": {
"pnpm": ">=10"
},
"packageManager": "pnpm@10.6.1",
"pnpm": {
"onlyBuiltDependencies": [
"deasync"
]
}
}