-
-
Notifications
You must be signed in to change notification settings - Fork 60
/
package.json
120 lines (120 loc) · 3.45 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "ark",
"description": "TypeScript's 1:1 validator, optimized from editor to runtime",
"license": "MIT",
"funding": "https://github.com/arktypeio/arktype?sponsor=1",
"author": {
"name": "David Blass",
"email": "david@arktype.io",
"url": "https://arktype.io"
},
"repository": {
"type": "git",
"url": "https://github.com/arktypeio/arktype.git"
},
"type": "module",
"private": true,
"scripts": {
"prChecks": "pnpm lint && pnpm build && pnpm testRepo && pnpm bench && pnpm testTsVersions",
"attest": "ts ./ark/attest/cli/cli.ts",
"build": "pnpm -r build",
"buildCjs": "ARKTYPE_CJS=1 pnpm -r build",
"rmBuild": "pnpm -r exec rm -rf out",
"ts": "node ./ark/repo/ts.js",
"tsc": "node ./node_modules/typescript/lib/tsc.js",
"test": "pnpm testTyped --skipTypes",
"testTyped": "mocha --exclude 'ark/attest/**/*.test.*'",
"testRepo": "pnpm test && pnpm testV8 && cd ./ark/attest && pnpm test",
"testV8": "node --allow-natives-syntax ./ark/repo/testV8.js",
"testTsVersions": "pnpm testTyped --tsconfig null --tsVersions '*' --compilerOptions '{ \"strictNullChecks\": true }'",
"bench": "pnpm benchOperand && pnpm benchOperator && pnpm benchObject && pnpm benchCyclic",
"benchUp": "ATTEST_updateSnapshots=1 pnpm bench",
"benchOperand": "ts ./ark/type/__tests__/operand.bench.ts",
"benchOperator": "ts ./ark/type/__tests__/operator.bench.ts",
"benchObject": "ts ./ark/type/__tests__/object.bench.ts",
"benchCyclic": "ts ./ark/type/__tests__/cyclic.bench.ts",
"scratch": "ts ./ark/repo/scratch.ts",
"lint": "pnpm checkPrettier && pnpm checkEslint",
"checkPrettier": "prettier --check .",
"checkEslint": "eslint --max-warnings=0 .",
"format": "prettier --write .",
"knip": "knip",
"latest": "pnpm -r up --latest",
"ci:publish": "ts ./ark/repo/publish.ts",
"publishExtension": "cd ark/dark && pnpm publishExtension",
"upDeps": "pnpm up -r --latest"
},
"devDependencies": {
"@ark/attest": "workspace:*",
"@ark/attest-ts-min": "catalog:",
"@ark/attest-ts-next": "catalog:",
"@ark/fs": "workspace:*",
"@ark/repo": "workspace:*",
"@ark/util": "workspace:*",
"@eslint/js": "9.14.0",
"@standard-schema/spec": "1.0.0-beta.3",
"@types/mocha": "10.0.9",
"@types/node": "22.9.0",
"arktype": "workspace:*",
"c8": "10.1.2",
"eslint": "9.14.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-only-warn": "1.1.0",
"eslint-plugin-prefer-arrow-functions": "3.4.1",
"knip": "5.37.0",
"mocha": "10.8.2",
"prettier": "3.3.3",
"prettier-plugin-astro": "0.14.1",
"tsx": "4.19.2",
"typescript": "catalog:",
"typescript-eslint": "8.14.0"
},
"mocha": {
"//": "IF YOU UPDATE THE MOCHA CONFIG HERE, PLEASE ALSO UPDATE ark/repo/mocha.jsonc AND .vscode/settings.json",
"spec": [
"**/__tests__/**/*.test.*"
],
"ignore": "**/node_modules/**/*",
"node-option": [
"conditions=ark-ts",
"import=tsx"
],
"require": "./ark/repo/mocha.globalSetup.ts"
},
"c8": {
"checkCoverage": true,
"lines": 96,
"src": "./src",
"exclude": [
"__tests__/**"
],
"extension": ".ts",
"reporter": "lcovonly"
},
"prettier": {
"useTabs": true,
"semi": false,
"trailingComma": "none",
"experimentalTernaries": true,
"arrowParens": "avoid",
"plugins": [
"prettier-plugin-astro"
],
"overrides": [
{
"files": "*.astro",
"options": {
"parser": "astro"
}
}
]
},
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"eslint": "*"
}
}
},
"packageManager": "pnpm@9.13.2"
}