forked from Tencent/cherry-markdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
169 lines (169 loc) · 5.65 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
{
"name": "cherry-markdown",
"license": "Apache-2.0",
"version": "0.8.22",
"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": "cross-env NODE_ENV=development rollup -w --config build/dev.js",
"build": "run-s clean build:all build:cjs",
"build:all": "run-p iconfont build:types build:addons build:full build:debug build:core build:engine",
"build:cjs": "run-p build:core-cjs build:engine-cjs",
"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:debug": "cross-env NODE_ENV=development HOT_RELOAD=false rollup --config build/dev.js",
"build:addons": "node build/addons.build.js",
"build:types": "tsc --project tsconfig.json",
"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": "anywhere -p 3000 -s"
},
"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": "^11.0.1",
"@rollup/plugin-replace": "^2.3.1",
"@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",
"anywhere": "^1.5.0",
"async": "^3.2.4",
"babel-jest": "27",
"babel-plugin-prismjs": "^2.1.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": "^2.0.11",
"es-check": "^5.1.0",
"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",
"npm-run-all": "^4.1.5",
"postcss": "^8.2.15",
"prettier": "2.6.2",
"prismjs": "^1.24.1",
"rimraf": "^3.0.2",
"rollup": "^1.27.5",
"rollup-plugin-livereload": "^1.3.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^4.0.1",
"rollup-plugin-scss": "^3.0.0",
"rollup-plugin-serve": "^1.0.1",
"rollup-plugin-serve-proxy": "^1.1.4",
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-typescript2": "^0.32.1",
"sass": "^1.52.3",
"standard-version": "^9.3.2",
"ts-jest": "^27.1.1",
"ts-node": "^10.7.0",
"typescript": "4.3.5",
"virtual-dom": "^2.1.1"
},
"dependencies": {
"@types/codemirror": "^0.0.108",
"@types/dompurify": "^2.2.3",
"cm-search-replace": "^1.0.0",
"jsdom": "~19.0.0",
"mitt": "^3.0.0",
"openai": "^3.3.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"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
}
},
"optionalDependencies": {
"mermaid": "9.1.7"
},
"lint-staged": {
"*.js": "eslint --fix"
}
}