Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
165 lines (165 loc) · 6.2 KB
/
Copy pathpackage.json
File metadata and controls
165 lines (165 loc) · 6.2 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
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
163
164
165
{
"name": "svelte-jsoneditor",
"description": "A web-based tool to view, edit, format, transform, and validate JSON",
"version": "0.0.0",
"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:check": "npm run check",
"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:check": "npm run check",
"release:test": "npm run test-ci",
"release:build": "npm run build",
"release:publish": "semantic-release",
"release-dry-run": "semantic-release --dry-run --plugins \"@semantic-release/commit-analyzer\""
},
"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 || ^7.0.1",
"@fortawesome/free-solid-svg-icons": "^6.6.0 || ^7.0.1",
"@jsonquerylang/jsonquery": "^3.1.1 || ^4.0.0 || ^5.0.0",
"@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": "^10.3.0",
"jsonrepair": "^3.0.0",
"lodash-es": "^4.17.23",
"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": "^5.0.0"
},
"devDependencies": {
"@babel/core": "7.29.0",
"@babel/preset-env": "7.29.2",
"@commitlint/cli": "20.5.0",
"@commitlint/config-conventional": "20.5.0",
"@eslint/compat": "2.1.0",
"@eslint/eslintrc": "3.3.6",
"@eslint/js": "9.39.2",
"@rollup/plugin-babel": "7.1.0",
"@rollup/plugin-commonjs": "29.0.3",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "16.0.3",
"@rollup/plugin-terser": "1.0.0",
"@rollup/plugin-typescript": "12.3.0",
"@semantic-release/commit-analyzer": "13.0.1",
"@semantic-release/release-notes-generator": "14.1.1",
"@sveltejs/adapter-static": "3.0.10",
"@sveltejs/kit": "2.70.1",
"@sveltejs/package": "2.5.8",
"@sveltejs/vite-plugin-svelte": "7.2.0",
"@testing-library/jest-dom": "7.0.0",
"@testing-library/svelte": "5.4.2",
"@types/jmespath": "0.15.2",
"@types/jsonpath": "0.2.4",
"@types/lodash-es": "4.17.12",
"@types/natural-compare-lite": "1.4.2",
"@typescript-eslint/eslint-plugin": "8.65.0",
"@typescript-eslint/parser": "8.65.0",
"@vitest/coverage-v8": "4.1.10",
"conventional-changelog-conventionalcommits": "10.2.1",
"cpy-cli": "7.0.0",
"del-cli": "7.0.0",
"eslint": "9.36.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-svelte": "2.46.1",
"globals": "17.7.0",
"husky": "9.1.7",
"jsdom": "29.1.1",
"lossless-json": "4.3.0",
"npm-run-all": "4.1.5",
"prettier": "3.9.6",
"prettier-plugin-svelte": "4.1.1",
"rollup": "4.62.2",
"rollup-plugin-dts": "6.4.1",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-svelte": "7.2.3",
"semantic-release": "25.0.8",
"svelte": "5.56.7",
"svelte-check": "4.7.3",
"svelte-eslint-parser": "1.8.0",
"svelte-preprocess": "6.0.5",
"tslib": "2.8.1",
"typescript": "6.0.3",
"vite": "8.1.5",
"vitest": "4.1.10"
}
}