forked from wangeditor-team/wangEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
136 lines (136 loc) · 4.4 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
{
"name": "wangeditor",
"version": "4.7.12",
"description": "wangEditor - 轻量级 web 富文本编辑器,配置方便,使用简单,开源免费",
"homepage": "http://www.wangeditor.com/",
"keywords": [
"wangEditor",
"富文本编辑器",
"富文本"
],
"main": "dist/wangEditor.min.js",
"types": "dist/wangEditor.d.ts",
"module": "dist/wangEditor.js",
"scripts": {
"dev": "cross-env NODE_ENV=development webpack --watch --config build/webpack.dev.js",
"example": "cross-env PORT=8881 nodemon server/www.js",
"build": "cross-env NODE_ENV=production webpack --config build/webpack.prod.js",
"build:dev": "cross-env NODE_ENV=development webpack --config build/webpack.dev.js",
"build:un-min": "cross-env NODE_ENV=production webpack --config build/webpack.un-min.prod.js",
"build:analyzer": "cross-env NODE_ENV=production_analyzer webpack --config build/webpack.prod.js",
"lint": "eslint '{src,test,cypress,build}/**/*.{js,ts}'",
"lint-fix": "eslint --fix \"{src,test,cypress,build}/**/*.{js,ts}\"",
"prettier": "prettier --write --config .prettierrc.js \"{src,test,cypress,build}/**/*.{js,ts}\"",
"test": "cross-env NODE_ENV=test jest --passWithNoTests --runInBand",
"test-c": "cross-env NODE_ENV=test jest --coverage",
"all-check": "npm run prettier && npm run lint-fix && npm run test",
"start": "concurrently \"npm run dev\" \"npm run example\" ",
"release": "release-it",
"just-try-release": "release-it --dry-run",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"cypress:coverage": "nyc report --reporter=text-summary",
"size": "npm run build && size-limit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wangeditor-team/wangEditor.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/wangeditor-team/wangEditor/issues"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@cypress/code-coverage": "^3.8.3",
"@release-it/conventional-changelog": "^2.0.0",
"@size-limit/preset-app": "^4.10.2",
"@testing-library/jest-dom": "^5.11.6",
"@types/jest": "^25.2.1",
"@types/jquery": "^3.3.38",
"@types/lodash": "^4.14.150",
"@typescript-eslint/eslint-plugin": "^2.31.0",
"@typescript-eslint/parser": "^4.4.1",
"autoprefixer": "^9.7.6",
"babel-loader": "^8.1.0",
"babel-plugin-istanbul": "^6.0.0",
"clean-webpack-plugin": "^3.0.0",
"commitlint": "^11.0.0",
"commitlint-config-cz": "^0.13.2",
"concat-stream": "^2.0.0",
"concurrently": "^5.3.0",
"conventional-changelog": "^3.1.24",
"cross-env": "^7.0.2",
"css-loader": "^3.5.3",
"cypress": "^5.5.0",
"cz-customizable": "^6.3.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"formidable": "^1.2.2",
"fs-extra": "^9.1.0",
"highlight.js": "^10.1.2",
"husky": "^4.2.5",
"i18next": "^19.6.3",
"jest": "^26.0.1",
"jquery": "^3.5.1",
"koa": "^2.13.0",
"koa-logger": "^3.2.1",
"koa-onerror": "^4.1.0",
"koa-static": "^5.0.0",
"less": "^3.11.1",
"less-loader": "^6.0.0",
"lint-staged": "^10.2.2",
"multiparty": "^4.2.2",
"nodemon": "^2.0.6",
"nyc": "^15.1.0",
"postcss-loader": "^3.0.0",
"prepend-file": "^2.0.0",
"prettier": "^2.0.5",
"release-it": "^14.2.0",
"size-limit": "^4.10.2",
"style-loader": "^1.2.1",
"ts-jest": "^25.4.0",
"ts-loader": "^7.0.2",
"typescript": "^4.0.3",
"uglifyjs-webpack-plugin": "^2.2.0",
"url-loader": "^4.1.0",
"webpack": "^4.43.0",
"webpack-bundle-analyzer": "^3.9.0",
"webpack-cli": "^3.3.11",
"webpack-merge": "^4.2.2"
},
"dependencies": {
"@babel/runtime": "^7.11.2",
"@babel/runtime-corejs3": "^7.11.2",
"tslib": "^2.1.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{ts,js}": [
"npm run all-check",
"git add ."
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
},
"size-limit": [
{
"path": "dist/wangEditor.min.js",
"limit": "100 kB"
}
]
}