-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
116 lines (116 loc) · 3.03 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
{
"name": "@uiw/react-textarea-code-editor",
"version": "2.0.4",
"description": "A simple code editor with syntax highlighting.",
"main": "cjs/index.js",
"module": "esm/index.js",
"scripts": {
"prepare": "husky install && npm run build",
"doc": "kkt build --app-src ./website",
"start": "kkt start --app-src ./website",
"build": "tsbb build && npm run css:build && npm run css:build:dist",
"watch": "tsbb watch & npm run css:watch",
"css:build": "compile-less -d src -o esm",
"css:watch": "compile-less -d src -o esm --watch",
"css:build:dist": "compile-less -d src --combine dist.css --rm-global",
"bundle": "ncc build src/index.tsx --target web --filename editor",
"bundle:min": "ncc build src/index.tsx --target web --filename editor --minify",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,css,md,json}\"",
"test": "kkt test --env=jsdom --app-src=./website",
"test:coverage": "kkt test --env=jsdom --coverage --app-src=./website --bail"
},
"repository": {
"type": "git",
"url": "https://github.com/uiwjs/react-textarea-code-editor.git"
},
"author": "Kenny Wong <wowohoo@qq.com>",
"license": "MIT",
"files": [
"dist.css",
"dist",
"esm",
"cjs",
"src"
],
"lint-staged": {
"*.{js,jsx,tsx,ts,less,css,md,json}": [
"prettier --write"
]
},
"keywords": [
"react",
"textarea",
"textarea-editor",
"textarea-code-editor",
"code-editor",
"code",
"highlighting",
"uiw",
"uiwjs",
"editor"
],
"jest": {
"testMatch": [
"<rootDir>/src/__test__/*.{ts,tsx}"
],
"transformIgnorePatterns": [
"<rootDir>/node_modules/?!(.*)"
],
"coverageReporters": [
"lcov",
"json-summary"
]
},
"peerDependencies": {
"@babel/runtime": ">=7.10.0",
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"dependencies": {
"@babel/runtime": "^7.18.6",
"rehype-prism-plus": "1.5.0",
"rehype": "~12.0.1"
},
"devDependencies": {
"@kkt/less-modules": "^7.2.0",
"@kkt/ncc": "^1.0.14",
"@kkt/raw-modules": "^7.2.0",
"@kkt/scope-plugin-options": "^7.2.0",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/react-test-renderer": "^18.0.0",
"@uiw/react-back-to-top": "^1.2.0",
"@uiw/react-github-corners": "^1.5.14",
"@uiw/react-loader": "^4.21.14",
"@uiw/react-markdown-preview": "^4.0.22",
"@wcj/dark-mode": "^1.0.14",
"code-example": "^3.3.6",
"compile-less-cli": "^1.8.13",
"husky": "^8.0.1",
"kkt": "^7.2.0",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"tsbb": "^3.7.6"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}