1 | {
|
2 | "name": "wangeditor",
|
3 | "version": "4.5.0",
|
4 | "description": "wangEditor - 轻量级 web 富文本编辑器,配置方便,使用简单,开源免费",
|
5 | "homepage": "http://www.wangeditor.com/",
|
6 | "keywords": [
|
7 | "wangEditor",
|
8 | "富文本编辑器",
|
9 | "富文本"
|
10 | ],
|
11 | "main": "dist/wangEditor.min.js",
|
12 | "types": "dist/wangEditor.d.ts",
|
13 | "module": "dist/wangEditor.js",
|
14 | "scripts": {
|
15 | "dev": "cross-env NODE_ENV=development webpack --watch --config build/webpack.dev.js",
|
16 | "example": "cross-env PORT=8881 nodemon server/www.js",
|
17 | "server": "cross-env NODE_ENV=prd_dev pm2 start server/pm2.conf.json",
|
18 | "build": "cross-env NODE_ENV=production webpack --config build/webpack.prod.js",
|
19 | "build:un-min": "cross-env NODE_ENV=production webpack --config build/webpack.un-min.prod.js",
|
20 | "build:analyzer": "cross-env NODE_ENV=production_analyzer webpack --config build/webpack.prod.js",
|
21 | "lint": "eslint '{src,test,cypress,build}/**/*.{js,ts}'",
|
22 | "lint-fix": "eslint --fix \"{src,test,cypress,build}/**/*.{js,ts}\"",
|
23 | "prettier": "prettier --write --config .prettierrc.js \"{src,test,cypress,build}/**/*.{js,ts}\"",
|
24 | "test": "cross-env NODE_ENV=test jest --passWithNoTests --runInBand",
|
25 | "test-c": "cross-env NODE_ENV=test jest --coverage",
|
26 | "all-check": "npm run prettier && npm run lint-fix && npm run test",
|
27 | "start": "concurrently \"npm run dev\" \"npm run example\" ",
|
28 | "release": "release-it",
|
29 | "just-try-release": "release-it --dry-run",
|
30 | "cypress:open": "cypress open",
|
31 | "cypress:run": "cypress run",
|
32 | "cypress:coverage": "nyc report --reporter=text-summary"
|
33 | },
|
34 | "repository": {
|
35 | "type": "git",
|
36 | "url": "git+https://github.com/wangeditor-team/wangEditor.git"
|
37 | },
|
38 | "author": "",
|
39 | "license": "ISC",
|
40 | "bugs": {
|
41 | "url": "https://github.com/wangeditor-team/wangEditor/issues"
|
42 | },
|
43 | "devDependencies": {
|
44 | "@babel/core": "^7.11.6",
|
45 | "@babel/plugin-proposal-class-properties": "^7.10.4",
|
46 | "@babel/plugin-proposal-object-rest-spread": "^7.11.0",
|
47 | "@babel/plugin-transform-runtime": "^7.11.5",
|
48 | "@babel/preset-env": "^7.11.5",
|
49 | "@cypress/code-coverage": "^3.8.3",
|
50 | "@release-it/conventional-changelog": "^2.0.0",
|
51 | "@types/jest": "^25.2.1",
|
52 | "@types/jquery": "^3.3.38",
|
53 | "@types/lodash": "^4.14.150",
|
54 | "@typescript-eslint/eslint-plugin": "^2.31.0",
|
55 | "@typescript-eslint/parser": "^4.4.1",
|
56 | "autoprefixer": "^9.7.6",
|
57 | "babel-loader": "^8.1.0",
|
58 | "babel-plugin-istanbul": "^6.0.0",
|
59 | "clean-webpack-plugin": "^3.0.0",
|
60 | "commitlint": "^11.0.0",
|
61 | "commitlint-config-cz": "^0.13.2",
|
62 | "concurrently": "^5.3.0",
|
63 | "cross-env": "^7.0.2",
|
64 | "css-loader": "^3.5.3",
|
65 | "cypress": "^5.5.0",
|
66 | "cz-customizable": "^6.3.0",
|
67 | "eslint": "^6.8.0",
|
68 | "eslint-config-prettier": "^6.11.0",
|
69 | "eslint-plugin-prettier": "^3.1.3",
|
70 | "formidable": "^1.2.2",
|
71 | "highlight.js": "^10.1.2",
|
72 | "husky": "^4.2.5",
|
73 | "i18next": "^19.6.3",
|
74 | "jest": "^26.0.1",
|
75 | "jquery": "^3.5.1",
|
76 | "koa": "^2.13.0",
|
77 | "koa-bodyparser": "^4.3.0",
|
78 | "koa-json": "^2.0.2",
|
79 | "koa-logger": "^3.2.1",
|
80 | "koa-onerror": "^4.1.0",
|
81 | "koa-router": "^9.0.1",
|
82 | "koa-static": "^5.0.0",
|
83 | "less": "^3.11.1",
|
84 | "less-loader": "^6.0.0",
|
85 | "lint-staged": "^10.2.2",
|
86 | "nodemon": "^2.0.6",
|
87 | "nyc": "^15.1.0",
|
88 | "postcss-loader": "^3.0.0",
|
89 | "prettier": "^2.0.5",
|
90 | "release-it": "^14.2.0",
|
91 | "style-loader": "^1.2.1",
|
92 | "ts-jest": "^25.4.0",
|
93 | "ts-loader": "^7.0.2",
|
94 | "typescript": "^4.0.3",
|
95 | "url-loader": "^4.1.0",
|
96 | "webpack": "^4.43.0",
|
97 | "webpack-bundle-analyzer": "^3.9.0",
|
98 | "webpack-cli": "^3.3.11",
|
99 | "webpack-merge": "^4.2.2"
|
100 | },
|
101 | "dependencies": {
|
102 | "@babel/runtime": "^7.11.2",
|
103 | "@babel/runtime-corejs3": "^7.11.2"
|
104 | },
|
105 | "husky": {
|
106 | "hooks": {
|
107 | "pre-commit": "lint-staged",
|
108 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
109 | }
|
110 | },
|
111 | "lint-staged": {
|
112 | "*.{ts,js}": [
|
113 | "npm run all-check",
|
114 | "git add ."
|
115 | ]
|
116 | },
|
117 | "config": {
|
118 | "commitizen": {
|
119 | "path": "node_modules/cz-customizable"
|
120 | }
|
121 | }
|
122 | }
|