wangEditor/package.json

128 lines
4.2 KiB
JSON

{
"name": "wangeditor",
"version": "4.6.3",
"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",
"server": "cross-env NODE_ENV=prd_dev pm2 start server/pm2.conf.json",
"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"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wangeditor-team/wangEditor.git"
},
"author": "",
"license": "ISC",
"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",
"@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",
"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-bodyparser": "^4.3.0",
"koa-json": "^2.0.2",
"koa-logger": "^3.2.1",
"koa-onerror": "^4.1.0",
"koa-router": "^9.0.1",
"koa-static": "^5.0.0",
"less": "^3.11.1",
"less-loader": "^6.0.0",
"lint-staged": "^10.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",
"style-loader": "^1.2.1",
"ts-jest": "^25.4.0",
"ts-loader": "^7.0.2",
"typescript": "^4.0.3",
"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"
},
"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"
}
}
}