-
Notifications
You must be signed in to change notification settings - Fork 415
/
package.json
178 lines (178 loc) · 6.13 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"name": "cherry-markdown",
"license": "Apache-2.0",
"version": "0.8.50",
"description": "a new markdown editor",
"repository": {
"type": "git",
"url": "git+https://github.com/Tencent/cherry-markdown.git"
},
"main": "./dist/cherry-markdown.min.js",
"module": "./dist/cherry-markdown.esm.js",
"style": "./dist/cherry-markdown.min.css",
"types": "./dist/types/index.d.ts",
"directories": {
"doc": "docs",
"example": "examples"
},
"files": [
"dist",
"src",
"test",
"types"
],
"sideEffects": [
"./dist/*.css"
],
"scripts": {
"iconfont": "gulp",
"dev": "run-p watch:js watch:styles iconfont",
"watch:js": "cross-env NODE_ENV=development rollup -w --config build/dev.js",
"watch:styles": "cross-env NODE_ENV=development rollup -w --config build/rollup.styles.config.js",
"dev:js": "cross-env NODE_ENV=development HOT_RELOAD=false rollup --config build/dev.js",
"dev:styles": "cross-env NODE_ENV=development rollup --config build/rollup.styles.config.js",
"build": "run-s clean build:debug build:all build:cjs",
"build:all": "run-p iconfont build:styles build:types build:addons build:full build:core build:engine",
"build:cjs": "run-p build:core-cjs build:engine-cjs",
"build:debug": "run-p dev:js dev:styles",
"build:full": "cross-env NODE_ENV=production rollup --config build/build.js",
"build:core": "cross-env CORE_BUILD=true NODE_ENV=production rollup --config build/rollup.core.config.js",
"build:core-cjs": "cross-env BUILD_TARGET=commonjs CORE_BUILD=true NODE_ENV=production rollup --config build/rollup.core.config.js",
"build:engine": "cross-env CORE_BUILD=true NODE_ENV=production rollup --config build/rollup.engine.config.js",
"build:engine-cjs": "cross-env BUILD_TARGET=commonjs CORE_BUILD=true NODE_ENV=production rollup --config build/rollup.engine.config.js",
"build:addons": "node build/addons.build.js",
"build:types": "tsc --project tsconfig.json && node build/replacePaths.js",
"build:styles": "cross-env NODE_ENV=production rollup --config build/rollup.styles.config.js",
"clean": "rimraf ./dist",
"check-bundle": "es-check es5 dist/cherry-markdown.js dist/cherry-markdown.min.js",
"test": "jest",
"test:commonmark": "jest test/core/CommonMark.spec.ts",
"test:snapshot": "jest test/core/hooks/*.spec.ts",
"lint": "eslint --plugin file-progress --rule \"file-progress/activate: 1\" --ext .js .",
"lint:fix": "yarn lint --fix",
"lint:ci": "eslint --max-warnings=0 --ext .js .",
"commit": "./node_modules/cz-customizable/standalone.js",
"release": "standard-version",
"prepare": "husky install",
"publish": "git push --follow-tags origin main",
"examples": "serve -p 3000 ."
},
"keywords": [
"markdown"
],
"author": "Cherry Oteam",
"devDependencies": {
"@babel/core": "^7.7.2",
"@babel/eslint-parser": "^7.12.1",
"@babel/node": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-decorators": "^7.14.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.7.1",
"@babel/register": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@babel/runtime-corejs3": "^7.12.5",
"@rollup/plugin-alias": "^3.1.1",
"@rollup/plugin-babel": "^5.0.0",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-eslint": "^8.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-replace": "^2.3.1",
"@rollup/plugin-terser": "^0.4.3",
"@types/echarts": "4.9.15",
"@types/glob": "^7.2.0",
"@types/jest": "^27.0.3",
"@types/jsdom": "^16.2.13",
"@types/lodash": "^4.14.170",
"@types/mermaid": "^8.2.6",
"@types/node": "^17.0.42",
"@types/virtual-dom": "^2.1.0",
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.27.0",
"async": "^3.2.4",
"babel-jest": "27",
"babel-plugin-prismjs": "^2.1.0",
"cm-search-replace": "^1.0.0",
"codemirror": "5.58.2",
"commitizen": "^4.0.5",
"core-js-pure": "^3.8.2",
"cross-env": "^7.0.2",
"cz-customizable": "^6.2.0",
"dom-parser": "^0.1.6",
"dompurify": "^3.0.8",
"es-check": "^7.1.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.1.0",
"eslint-config-tencent": "^1.0.2",
"eslint-plugin-file-progress": "^1.3.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^25.3.0",
"eslint-plugin-prettier": "^4.0.0",
"glob": "^8.0.3",
"gulp": "^4.0.2",
"gulp-consolidate": "^0.2.0",
"gulp-iconfont": "^11.0.0",
"gulp-rename": "^2.0.0",
"html2canvas": "^1.1.3",
"husky": "~7.0.4",
"jest": "^27.5.1",
"jest-diff": "^27.5.1",
"juice": "^8.0.0",
"lint-staged": "~12.5.0",
"lodash": "^4.17.20",
"md5": "^2.2.1",
"mitt": "^3.0.0",
"npm-run-all": "^4.1.5",
"openai": "^3.3.0",
"postcss": "^8.2.15",
"prettier": "2.6.2",
"prismjs": "^1.24.1",
"replace-in-file": "^7.0.1",
"rimraf": "^3.0.2",
"rollup": "~2.79.1",
"rollup-plugin-livereload": "~2.0.5",
"rollup-plugin-postcss": "~3.1.8",
"rollup-plugin-scss": "^4.0.0",
"rollup-plugin-serve": "^2.0.2",
"rollup-plugin-serve-proxy": "^1.1.4",
"rollup-plugin-typescript2": "^0.32.1",
"sass": "^1.52.3",
"serve": "^14.2.0",
"standard-version": "^9.3.2",
"ts-jest": "^27.1.1",
"ts-node": "^10.7.0",
"typescript": "4.7.2",
"virtual-dom": "^2.1.1"
},
"dependencies": {
"@types/codemirror": "^0.0.108",
"@types/dompurify": "^2.2.3",
"jsdom": "~19.0.0"
},
"resolutions": {
"glob-parent": "5.1.2",
"set-value": "4.0.1",
"lodash.template": "4.5.0",
"yargs-parser": "20.2.9",
"xmldom": "0.5.0",
"ansi-regex": "5.0.1",
"glob-watcher": "6.0.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
}
},
"optionalDependencies": {
"mermaid": "9.4.3"
},
"lint-staged": {
"*.js": "eslint --fix"
},
"engines": {
"node": ">=14"
}
}