forked from josdejong/svelte-jsoneditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
153 lines (153 loc) · 5.81 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
{
"name": "svelte-jsoneditor",
"description": "A web-based tool to view, edit, format, transform, and validate JSON",
"version": "0.23.1",
"homepage": "https://github.com/josdejong/svelte-jsoneditor",
"repository": {
"type": "git",
"url": "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 --cache --ignore-path .gitignore .",
"format": "prettier --write --plugin prettier-plugin-svelte .",
"prepare": "husky install && 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.15.0",
"@codemirror/commands": "^6.3.3",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/language": "^6.10.1",
"@codemirror/lint": "^6.5.0",
"@codemirror/search": "^6.5.6",
"@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.26.0",
"@fortawesome/free-regular-svg-icons": "^6.5.1",
"@fortawesome/free-solid-svg-icons": "^6.5.1",
"@lezer/highlight": "^1.2.0",
"@replit/codemirror-indentation-markers": "^6.5.1",
"ajv": "^8.12.0",
"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",
"jsonrepair": "^3.6.0",
"lodash-es": "^4.17.21",
"memoize-one": "^6.0.0",
"natural-compare-lite": "^1.4.0",
"sass": "^1.72.0",
"svelte": "^4.2.12",
"svelte-awesome": "^3.3.1",
"svelte-select": "^5.8.3",
"svelte-simple-modal": "^1.6.2",
"vanilla-picker": "^2.12.3"
},
"devDependencies": {
"@babel/core": "7.24.3",
"@babel/preset-env": "7.24.3",
"@commitlint/cli": "19.2.1",
"@commitlint/config-conventional": "19.1.0",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "11.1.6",
"@sveltejs/adapter-auto": "3.1.1",
"@sveltejs/kit": "2.5.4",
"@sveltejs/package": "2.3.0",
"@sveltejs/vite-plugin-svelte": "3.0.2",
"@testing-library/jest-dom": "6.4.2",
"@testing-library/svelte": "4.1.0",
"@types/cookie": "0.6.0",
"@types/expect": "24.3.0",
"@types/jmespath": "0.15.2",
"@types/lodash-es": "4.17.12",
"@typescript-eslint/eslint-plugin": "7.4.0",
"@typescript-eslint/parser": "7.4.0",
"@vitest/coverage-v8": "1.4.0",
"cpy-cli": "5.0.0",
"del-cli": "5.1.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-svelte": "2.35.1",
"husky": "9.0.11",
"jsdom": "24.0.0",
"lossless-json": "4.0.1",
"npm-run-all": "4.1.5",
"prettier": "3.2.5",
"prettier-plugin-svelte": "3.2.2",
"rollup": "4.13.0",
"rollup-plugin-dts": "6.1.0",
"rollup-plugin-svelte": "7.2.0",
"standard-version": "9.5.0",
"svelte-check": "3.6.8",
"svelte-preprocess": "5.1.3",
"typescript": "5.4.3",
"vite": "5.2.6",
"vitest": "1.4.0"
}
}