-
Notifications
You must be signed in to change notification settings - Fork 111
/
package.json
162 lines (162 loc) · 6.05 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"name": "svelte-jsoneditor",
"description": "A web-based tool to view, edit, format, transform, and validate JSON",
"version": "2.0.2",
"homepage": "https://github.com/josdejong/svelte-jsoneditor",
"repository": {
"type": "git",
"url": "git+https://github.com/josdejong/svelte-jsoneditor.git"
},
"type": "module",
"svelte": "./index.js",
"module": "./index.js",
"main": "./index.js",
"types": "./index.d.ts",
"sideEffects": false,
"license": "ISC",
"exports": {
".": {
"svelte": "./index.js",
"module": "./index.js",
"types": "./index.d.ts"
},
"./index.d.ts": "./index.d.ts",
"./index.js": "./index.js",
"./themes/jse-theme-dark.css": "./themes/jse-theme-dark.css",
"./themes/jse-theme-default.css": "./themes/jse-theme-default.css",
"./CHANGELOG.md": "./CHANGELOG.md",
"./LICENSE.md": "./LICENSE.md",
"./README.md": "./README.md",
"./SECURITY.md": "./SECURITY.md"
},
"files": [
"*"
],
"scripts": {
"dev": "vite dev",
"preview": "svelte-kit preview",
"build": "npm run build:svelte && npm run build:vanilla",
"build:watch": "npm run build -- --watch",
"build:svelte": "npm-run-all build:svelte:**",
"build:svelte:clean": "del-cli package",
"build:svelte:prepare": "svelte-kit sync",
"build:svelte:package": "svelte-package -o package",
"build:svelte:copy:files": "cpy README.md CHANGELOG.md LICENSE.md SECURITY.md package",
"build:svelte:package-json": "node tools/createSveltePackageJson.js",
"build:vanilla": "npm-run-all build:vanilla:**",
"build:vanilla:clean": "del-cli package-vanilla",
"build:vanilla:library": "rollup --config rollup.config.vanilla-library.js",
"build:vanilla:bundle": "rollup --config rollup.config.vanilla-bundle.js",
"build:vanilla:types": "rollup --config rollup.config.vanilla-types.js",
"build:vanilla:copy:files": "cpy CHANGELOG.md LICENSE.md SECURITY.md package-vanilla",
"build:vanilla:copy:readme": "cpy --rename README.md README-VANILLA.md package-vanilla",
"build:vanilla:copy:themes": "cpy --flat src/lib/themes package-vanilla/themes",
"build:vanilla:package-json": "node tools/createVanillaPackageJson.js",
"build-and-test": "npm run test-ci && npm run check && npm run lint && npm run build",
"test": "vitest",
"test-ci": "vitest run",
"coverage": "vitest run --coverage",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "npm run lint:prettier && npm run lint:eslint",
"lint:prettier": "prettier --check --plugin prettier-plugin-svelte .",
"lint:eslint": "eslint",
"format": "prettier --write --plugin prettier-plugin-svelte .",
"prepare": "husky && cd tools && node generateDiffSequenceEsm.js && cd ..",
"release": "npm-run-all release:**",
"release:lint": "npm run lint",
"release:test": "npm run test-ci",
"release:check": "npm run check",
"release:version": "standard-version",
"release:build": "npm run build",
"release:push": "git push && git push --tag",
"release:publish:svelte-jsoneditor": "npm publish package/",
"release:publish:vanilla-jsoneditor": "npm publish package-vanilla/",
"release-dry-run": "standard-version --dry-run"
},
"dependencies": {
"@codemirror/autocomplete": "^6.18.1",
"@codemirror/commands": "^6.7.1",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/language": "^6.10.3",
"@codemirror/lint": "^6.8.2",
"@codemirror/search": "^6.5.6",
"@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.34.1",
"@fortawesome/free-regular-svg-icons": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@jsonquerylang/jsonquery": "^3.1.1",
"@lezer/highlight": "^1.2.1",
"@replit/codemirror-indentation-markers": "^6.5.3",
"ajv": "^8.17.1",
"codemirror-wrapped-line-indent": "^1.0.8",
"diff-sequences": "^29.6.3",
"immutable-json-patch": "^6.0.1",
"jmespath": "^0.16.0",
"json-source-map": "^0.6.1",
"jsonpath-plus": "^9.0.0 || ^10.1.0",
"jsonrepair": "^3.0.0",
"lodash-es": "^4.17.21",
"memoize-one": "^6.0.0",
"natural-compare-lite": "^1.4.0",
"sass": "^1.80.4",
"svelte-awesome": "^3.3.5",
"svelte-select": "^5.8.3",
"vanilla-picker": "^2.12.3"
},
"peerDependencies": {
"svelte": "^3.54.0 || ^4.0.0 || ^5.0.0"
},
"devDependencies": {
"@babel/core": "7.26.0",
"@babel/preset-env": "7.26.0",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@eslint/compat": "1.2.2",
"@eslint/eslintrc": "3.1.0",
"@eslint/js": "9.14.0",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "28.0.1",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "12.1.1",
"@sveltejs/adapter-auto": "3.3.1",
"@sveltejs/kit": "2.7.5",
"@sveltejs/package": "2.3.7",
"@sveltejs/vite-plugin-svelte": "4.0.0",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/svelte": "5.2.4",
"@types/jmespath": "0.15.2",
"@types/jsonpath": "0.2.4",
"@types/lodash-es": "4.17.12",
"@typescript-eslint/eslint-plugin": "8.13.0",
"@typescript-eslint/parser": "8.13.0",
"@vitest/coverage-v8": "2.1.4",
"cpy-cli": "5.0.0",
"del-cli": "6.0.0",
"eslint": "9.14.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-svelte": "2.46.0",
"globals": "15.12.0",
"husky": "9.1.6",
"jsdom": "25.0.1",
"lossless-json": "4.0.2",
"npm-run-all": "4.1.5",
"prettier": "3.3.3",
"prettier-plugin-svelte": "3.2.7",
"rollup": "4.24.4",
"rollup-plugin-dts": "6.1.1",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-svelte": "7.2.2",
"standard-version": "9.5.0",
"svelte": "5.1.9",
"svelte-check": "4.0.5",
"svelte-eslint-parser": "0.43.0",
"svelte-preprocess": "6.0.3",
"typescript": "5.6.3",
"vite": "5.4.10",
"vitest": "2.1.4"
}
}