-
-
Notifications
You must be signed in to change notification settings - Fork 140
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 4.41 KB
/
package.json
File metadata and controls
130 lines (130 loc) · 4.41 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "ark",
"description": "TypeScript's 1:1 validator, optimized from editor to runtime",
"license": "MIT",
"funding": "https://github.com/sponsors/arktypeio",
"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": {
"test": "pnpm testTyped --skipTypes",
"testTyped": "mocha --exclude \"ark/attest/**/*.test.*\"",
"prChecks": "pnpm lint && pnpm buildRepo && pnpm testRepoWithVersionsAndBenches",
"attest": "ts ./ark/attest/cli/cli.ts",
"build": "pnpm -r --filter !\"@ark/docs\" build",
"buildRepo": "pnpm rmBuild && pnpm build && pnpm buildDocs",
"buildDocs": "pnpm -r --filter \"@ark/docs\" build",
"buildCjs": "ARKTYPE_CJS=1 pnpm -r build",
"rmBuild": "pnpm -r exec rm -rf out",
"ts": "node ./ark/repo/ts.js",
"testRepoWithVersionsAndBenches": "pnpm typecheckRepo && pnpm testRepo && pnpm bench && pnpm testTsVersions",
"typecheckRepo": "pnpm tsc",
"testRepo": "pnpm test && pnpm testV8 && pnpm testIntegration && pnpm -r --filter \"@ark/attest\" test",
"testIntegration": "pnpm -r --filter \"arktype\" testIntegration",
"testV8": "node --allow-natives-syntax ./ark/repo/testV8.js",
"testTsVersions": "pnpm testTyped --tsconfig null --tsVersions \"*\" --compilerOptions \"{ \\\"module\\\": \\\"NodeNext\\\", \\\"moduleResolution\\\": \\\"NodeNext\\\", \\\"strictNullChecks\\\": true, \\\"exactOptionalPropertyTypes\\\": true }\"",
"bench": " ATTEST_benchErrorOnThresholdExceeded=\"\\\"types\\\"\" pnpm benchOperand && pnpm benchOperator && pnpm benchNary && pnpm benchObject && pnpm benchMatch && pnpm benchCyclic",
"benchUp": "ATTEST_updateSnapshots=1 pnpm bench",
"benchOperand": "ts ./ark/type/__tests__/operand.bench.ts",
"benchOperator": "ts ./ark/type/__tests__/operator.bench.ts",
"benchNary": "ts ./ark/type/__tests__/nary.bench.ts",
"benchObject": "ts ./ark/type/__tests__/object.bench.ts",
"benchMatch": "ts ./ark/type/__tests__/match.bench.ts",
"benchCyclic": "ts ./ark/type/__tests__/cyclic.bench.ts",
"benchRuntime": "ts ./ark/type/__tests__/runtime.bench.ts",
"benchRegex": "ts ./ark/regex/__tests__/regex.bench.ts",
"scratch": "ts ./ark/repo/scratch.ts",
"lint": "pnpm checkPrettier && pnpm checkEslint",
"checkPrettier": "prettier --ignore-path .gitignore --ignore-path ./ark/repo/.prettierignore --check .",
"checkEslint": "eslint --max-warnings=0 .",
"format": "prettier --ignore-path .gitignore --ignore-path ./ark/repo/.prettierignore --write .",
"knip": "knip",
"ci:publish": "ts ./ark/repo/publish.ts",
"publishExtension": "cd ark/dark && pnpm publishExtension",
"upDeps": "pnpm up -r --latest"
},
"devDependencies": {
"@ark/attest": "link:ark/attest",
"@ark/attest-ts-min": "catalog:",
"@ark/attest-ts-next": "catalog:",
"@ark/fs": "workspace:*",
"@ark/json-schema": "workspace:*",
"@ark/repo": "workspace:*",
"@ark/util": "workspace:*",
"@eslint/js": "9.37.0",
"@standard-schema/spec": "1.0.0",
"@types/mocha": "10.0.10",
"@types/node": "24.7.2",
"c8": "10.1.3",
"dts-bundle-generator": "9.5.1",
"eslint": "9.37.0",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-only-warn": "1.1.0",
"eslint-plugin-prefer-arrow-functions": "3.9.1",
"eslint-plugin-unicorn": "61.0.2",
"knip": "5.65.0",
"mocha": "11.7.4",
"prettier": "3.6.2",
"tsup": "8.5.0",
"tsx": "4.20.6",
"typescript": "catalog:",
"typescript-eslint": "8.46.1"
},
"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",
"timeout": 10000
},
"c8": {
"checkCoverage": true,
"lines": 96,
"src": "./src",
"exclude": [
"__tests__/**"
],
"extension": ".ts",
"reporter": "lcovonly"
},
"prettier": {
"useTabs": true,
"semi": false,
"trailingComma": "none",
"experimentalTernaries": true,
"arrowParens": "avoid"
},
"engines": {
"node": ">=18",
"pnpm": ">=10"
},
"packageManager": "pnpm@10.19.0",
"pnpm": {
"overrides": {
"@ark/attest": "link:ark/attest"
},
"peerDependencyRules": {
"allowedVersions": {
"typescript": "*",
"eslint": "*"
}
},
"ignoredBuiltDependencies": [
"sharp"
]
}
}