forked from arktypeio/arktype
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
116 lines (116 loc) · 3.96 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
{
"name": "arktype",
"description": "TypeScript's 1:1 validator, optimized from editor to runtime",
"version": "1.0.13-alpha",
"author": {
"name": "David Blass",
"email": "[email protected]",
"url": "https://arktype.io"
},
"repository": {
"type": "git",
"url": "https://github.com/arktypeio/arktype.git"
},
"type": "module",
"main": "./dist/cjs/main.js",
"types": "./dist/types/main.d.ts",
"exports": {
".": {
"types": "./dist/types/main.d.ts",
"import": "./dist/mjs/main.js",
"require": "./dist/cjs/main.js"
},
"./internal/*": {
"types": "./dist/types/*",
"import": "./dist/mjs/*",
"require": "./dist/cjs/*"
}
},
"files": [
"dist"
],
"packageManager": "[email protected]",
"scripts": {
"prChecks": "pnpm install && pnpm build && pnpm typecheck && pnpm lint && pnpm testRepo && pnpm docgen && pnpm buildSite",
"typecheck": "tsc --noEmit",
"build": "ts-node ./dev/scripts/build.ts",
"buildRepo": "pnpm build && pnpm docgen && pnpm buildSite",
"buildSite": "cd dev/arktype.io && pnpm install && pnpm build",
"docgen": "ts-node ./dev/scripts/docgen.ts",
"test": "ts-node ./dev/attest/cli.ts --coverage --cmd mocha",
"tnt": "ts-node ./dev/attest/cli.ts --coverage --skipTypes --cmd mocha",
"testRepo": " pnpm testBuild && pnpm testTsVersions && pnpm testAttest",
"testBuild": "ts-node ./dev/scripts/testBuild.ts",
"testAttest": "ts-node ./dev/scripts/testAttest.ts",
"testTsVersions": "ts-node ./dev/scripts/testTsVersions.ts",
"bench": "ts-node ./dev/attest/cli.ts bench --benchmarksPath ./test/benchmarks.json",
"lint": "eslint --max-warnings=0 .",
"format": "prettier --write --ignore-path ./dev/configs/.prettierignore .",
"findUnused": "ts-node ./dev/scripts/findUnusedExports.ts",
"preinstall": "npx only-allow pnpm",
"prepare": "husky install dev/configs/.husky",
"changeset": "ts-node ./dev/scripts/changeset.ts",
"ci:version": "ts-node ./dev/scripts/updateVersions.ts",
"ci:publish": "ts-node ./dev/scripts/changeset.ts publish"
},
"devDependencies": {
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.1",
"@swc/cli": "0.1.62",
"@swc/core": "1.3.42",
"@types/mocha": "10.0.1",
"@types/node": "18.15.5",
"@typescript-eslint/eslint-plugin": "5.56.0",
"@typescript-eslint/parser": "5.56.0",
"c8": "7.13.0",
"eslint": "8.36.0",
"eslint-config-prettier": "8.8.0",
"eslint-define-config": "1.17.0",
"eslint-import-resolver-typescript": "3.5.3",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-only-warn": "1.1.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-unicorn": "46.0.0",
"fast-check": "3.7.1",
"get-current-line": "6.6.0",
"husky": "8.0.3",
"mocha": "10.2.0",
"prettier": "2.8.6",
"prettier-plugin-jsdoc": "0.4.2",
"pretty-quick": "3.1.3",
"ts-morph": "18.0.0",
"ts-node": "10.9.1",
"typescript": "5.0.3",
"zod": "3.21.4"
},
"c8": {
"checkCoverage": true,
"lines": 95,
"src": "./src",
"exclude": [
"test/**",
"dev/**"
],
"extension": ".ts",
"reporter": "lcovonly"
},
"prettier": {
"tabWidth": 4,
"semi": false,
"trailingComma": "none"
},
"mocha": {
"spec": [
"dev/test/*.test.ts",
"test/*.test.ts"
],
"ignore": "**/node_modules/*",
"node-option": [
"loader=ts-node/esm",
"no-warnings=ExperimentalWarning"
]
},
"eslintConfig": {
"extends": "./dev/configs/.eslintrc.cjs"
}
}