-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
103 lines (103 loc) · 2.99 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
{
"name": "json-diff-kit",
"version": "1.0.30",
"description": "A better JSON differ & viewer.",
"main": "dist/cjs/index.js",
"module": "dist/index.js",
"typings": "typings",
"bin": {
"jsondiff": "bin/jsondiff.cjs"
},
"sideEffects": [
"*.css"
],
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/cjs/index.js",
"types": "./typings/index.d.ts"
},
"./*": {
"import": "./dist/*",
"require": "./dist/cjs/*",
"types": "./typings/*.d.ts"
},
"./dist/*": {
"import": "./dist/*",
"require": "./dist/cjs/*",
"types": "./typings/*.d.ts"
}
},
"scripts": {
"start": "cross-env rollup -c rollup.config.pages.mjs -w",
"dev": "cross-env pnpm start",
"lint:eslint": "eslint ./{src,playground}/**/*.{ts,tsx} --quiet",
"lint:stylelint": "stylelint '**/*.{css,less}' --fix",
"test": "cross-env jest --coverage",
"build": "cross-env pnpm build:ts && pnpm build:less && pnpm build:typings",
"build:ts": "cross-env rollup -c && rollup -c rollup.config.cli.mjs",
"build:typings": "cross-env tsc -p tsconfig.build.json",
"build:less": "cross-env lessc src/viewer.less dist/viewer.css && lessc src/viewer-monokai.less dist/viewer-monokai.css",
"build:pages": "cross-env NODE_ENV=production BASEDIR=docs rollup -c rollup.config.pages.mjs",
"prepublish": "cross-env pnpm build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/RexSkz/json-diff-kit.git"
},
"keywords": [
"json",
"diff",
"view",
"kit"
],
"author": "Rex Zeng <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/RexSkz/json-diff-kit/issues"
},
"homepage": "https://github.com/RexSkz/json-diff-kit#readme",
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-html": "^0.2.4",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-swc": "^0.4.0",
"@swc/cli": "^0.5.2",
"@swc/core": "^1.10.1",
"@swc/jest": "^0.2.37",
"@types/jest": "^29.5.14",
"@types/lodash": "^4.14.191",
"@types/node": "^20.11.16",
"@types/prismjs": "^1.26.0",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/terminal-kit": "^2.5.6",
"cross-env": "^7.0.3",
"eslint": "^8",
"eslint-plugin-rexskz": "1.0.0",
"fork-me-on-github": "^1.0.6",
"jest": "^29.7.0",
"less": "^4.1.3",
"prismjs": "^1.29.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rollup": "^4.28.1",
"rollup-plugin-less": "^1.1.3",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-serve": "^1.1.1",
"rollup-plugin-styles": "^4.0.0",
"stylelint": "^15",
"stylelint-plugin-rexskz": "1.0.0-alpha.3",
"typescript": "^4.5.5"
},
"dependencies": {
"commander": "^11.1.0",
"fast-myers-diff": "^3.0.1",
"lodash": "^4.17.21",
"prompts": "^2.4.2"
},
"optionalDependencies": {
"terminal-kit": "^3.0.1"
}
}