forked from josdejong/svelte-jsoneditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
151 lines (151 loc) · 5.72 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
{
"name": "svelte-jsoneditor",
"description": "A web-based tool to view, edit, format, transform, and validate JSON",
"version": "0.17.1",
"homepage": "https://jsoneditoronline.org",
"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": {
".": {
"types": "./index.d.ts",
"svelte": "./index.js",
"module": "./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:delete:files": "del-cli package/index-vanilla.js package/index-vanilla.d.ts",
"build:svelte:package-json": "node tools/createSveltePackageJson.js",
"build:vanilla": "npm-run-all build:vanilla:**",
"build:vanilla:clean": "del-cli package-vanilla",
"build:vanilla:bundle": "rollup --config rollup.config.bundle.js",
"build:vanilla:bundle-types": "rollup --config rollup.config.bundle-types.js",
"build:vanilla:postprocess-types": "node tools/postprocessVanillaTypes.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 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-search-dir=. .",
"lint:eslint": "eslint --cache --ignore-path .gitignore .",
"format": "prettier --write --plugin-search-dir=. .",
"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: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/commands": "^6.2.2",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/language": "^6.6.0",
"@codemirror/lint": "^6.2.1",
"@codemirror/search": "^6.3.0",
"@codemirror/state": "^6.2.0",
"@codemirror/view": "^6.9.5",
"@fontsource/fira-mono": "^4.5.10",
"@fortawesome/free-regular-svg-icons": "^6.4.0",
"@fortawesome/free-solid-svg-icons": "^6.4.0",
"@replit/codemirror-indentation-markers": "6.4.0",
"ajv": "^8.12.0",
"codemirror": "^6.0.1",
"diff-sequences": "^29.4.3",
"immutable-json-patch": "^5.1.2",
"jmespath": "^0.16.0",
"json-source-map": "^0.6.1",
"jsonrepair": "^3.0.3",
"lodash-es": "^4.17.21",
"memoize-one": "^6.0.0",
"natural-compare-lite": "^1.4.0",
"sass": "^1.62.0",
"svelte": "^3.58.0",
"svelte-awesome": "^3.2.0",
"svelte-select": "^5.6.0",
"svelte-simple-modal": "^1.5.2",
"vanilla-picker": "^2.12.1"
},
"devDependencies": {
"@babel/core": "7.21.4",
"@babel/preset-env": "7.21.4",
"@commitlint/cli": "17.6.1",
"@commitlint/config-conventional": "17.6.1",
"@rollup/plugin-babel": "6.0.3",
"@rollup/plugin-commonjs": "24.1.0",
"@rollup/plugin-json": "6.0.0",
"@rollup/plugin-node-resolve": "15.0.2",
"@rollup/plugin-terser": "0.4.1",
"@rollup/plugin-typescript": "11.1.0",
"@sveltejs/adapter-auto": "2.0.0",
"@sveltejs/kit": "1.15.5",
"@sveltejs/package": "2.0.2",
"@sveltejs/vite-plugin-svelte": "2.0.4",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/svelte": "3.2.2",
"@types/cookie": "0.5.1",
"@types/expect": "24.3.0",
"@types/jmespath": "0.15.0",
"@types/lodash-es": "4.17.7",
"@typescript-eslint/eslint-plugin": "5.58.0",
"@typescript-eslint/parser": "5.58.0",
"@vitest/coverage-c8": "0.30.1",
"cpy-cli": "4.2.0",
"del-cli": "5.0.0",
"eslint": "8.38.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-svelte3": "4.0.0",
"husky": "8.0.3",
"jsdom": "21.1.1",
"lossless-json": "2.0.8",
"npm-run-all": "4.1.5",
"prettier": "2.8.7",
"prettier-plugin-svelte": "2.10.0",
"rollup": "3.20.4",
"rollup-plugin-dts": "5.3.0",
"rollup-plugin-svelte": "7.1.4",
"standard-version": "9.5.0",
"svelte-check": "3.2.0",
"svelte-preprocess": "5.0.3",
"svelte2tsx": "0.6.11",
"typescript": "5.0.4",
"vite": "4.2.1",
"vitest": "0.30.1"
}
}