-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
125 lines (125 loc) · 3.69 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
121
122
123
124
125
{
"name": "codemirror-json-schema",
"license": "MIT",
"version": "0.8.0",
"description": "Codemirror 6 extensions that provide full JSONSchema support for `@codemirror/lang-json` and `codemirror-json5`",
"contributors": [
{
"name": "Samuel Imolorhe",
"url": "https://xkoji.dev/"
},
{
"name": "Rikki Schulte",
"url": "https://rikki.dev"
}
],
"keywords": [
"codemirror",
"codemirror6",
"jsonschema",
"jsonschema-validation",
"json5",
"json",
"editor"
],
"type": "module",
"packageManager": "pnpm@8.6.6",
"types": "dist/index.d.ts",
"module": "dist/index.js",
"main": "cjs/index.js",
"files": [
"dist",
"cjs",
"README.md",
"CHANGELOG.md",
"docs"
],
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts",
"require": "./cjs/index.js",
"default": "./cjs/index.js"
},
"./json5": {
"import": "./dist/json5/index.js",
"types": "./dist/json5/index.d.ts",
"require": "./cjs/json5/index.js",
"default": "./cjs/json5/index.js"
},
"./yaml": {
"import": "./dist/yaml/index.js",
"types": "./dist/yaml/index.d.ts",
"require": "./cjs/yaml/index.js",
"default": "./cjs/yaml/index.js"
}
},
"repository": "github:acao/codemirror-json-schema",
"homepage": "https://codemirror-json-schema.netlify.app/",
"dependencies": {
"@sagold/json-pointer": "^5.1.1",
"@shikijs/markdown-it": "^1.22.2",
"best-effort-json-parser": "^1.1.2",
"json-schema": "^0.4.0",
"json-schema-library": "^9.3.5",
"loglevel": "^1.9.1",
"markdown-it": "^14.1.0",
"shiki": "^1.22.2",
"yaml": "^2.3.4"
},
"optionalDependencies": {
"@codemirror/autocomplete": "^6.16.2",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/lang-yaml": "^6.1.1",
"codemirror-json5": "^1.0.3",
"json5": "^2.2.3"
},
"peerDependencies": {
"@codemirror/language": "^6.10.2",
"@codemirror/lint": "^6.8.0",
"@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.27.0",
"@lezer/common": "^1.2.1"
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@codemirror/autocomplete": "^6.16.2",
"@codemirror/commands": "^6.6.0",
"@codemirror/language": "^6.10.2",
"@codemirror/lint": "^6.8.0",
"@codemirror/state": "^6.4.1",
"@codemirror/theme-one-dark": "^6.1.2",
"@codemirror/view": "^6.27.0",
"@evilmartians/lefthook": "^1.4.6",
"@lezer/common": "^1.2.1",
"@types/json-schema": "^7.0.12",
"@types/markdown-it": "^13.0.7",
"@types/node": "^20.4.2",
"@vitest/coverage-v8": "^2.0.5",
"codemirror-json5": "^1.0.3",
"happy-dom": "^10.3.2",
"jsdom": "^24.1.1",
"json5": "^2.2.3",
"prettier": "^3.3.3",
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "^3.15.3",
"typescript": "^5.5.2",
"vite": "^5.3.1",
"vitest": "^1.6.0",
"vitest-dom": "^0.1.1",
"vite-tsconfig-paths": "^4.3.1"
},
"scripts": {
"dev": "vite ./dev --port 3000",
"build": "pnpm tsc && tsc --module commonjs --outDir cjs && vite build ./dev --outDir ../public --emptyOutDir",
"test": "vitest --dom",
"test:coverage": "vitest run --dom --coverage ",
"tsc": "tsc && pnpm replace:env",
"version-packages": "changeset version && pnpm typedoc && pnpm prettier:write CHANGELOG.md && git add package.json pnpm-lock.yaml CHANGELOG.md",
"release": "pnpm build && changeset publish",
"typedoc": "typedoc --out docs src/index.ts src/json5.ts && pnpm prettier:write docs/**/*",
"prettier:write": "prettier --ignore-path .gitignore --write",
"replace:env": "sh scripts/replace-env.sh"
}
}