加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 5.15 KB
一键复制 编辑 原始数据 按行查看 历史
{
"name": "jodit",
"version": "3.10.1",
"description": "Jodit is awesome and usefully wysiwyg editor with filebrowser",
"main": "build/jodit.min.js",
"types": "./types/index.d.ts",
"scripts": {
"coverage": "npx type-coverage ./src --detail --ignore-files 'build/**' --ignore-files 'test/**' --ignore-files 'examples/**'",
"newversion": "npm run lint && npm run clean && npm test && npm version patch --no-git-tag-version && npm run build && npm run newversiongit && npm publish ./",
"newversiongit": "git add --all && git commit -m \"New version $npm_package_version. Read more https://github.com/xdan/jodit/blob/master/CHANGELOG.MD \" && git tag $npm_package_version && git push --tags origin HEAD:master",
"start": "node server.js --port=2000",
"clean": "rm -rf build/*",
"build": "npm run clean && npm run types && npm run build-es5 && npm run build-es2018 && npm run build-es2018-en && npm run build-no-uglify-es5 && npm run build-no-uglify-es2018 && npm run build-no-uglify-es2018-en",
"build-es5": "webpack --progress --mode production --env es=es5 --env uglify=true",
"build-es2018": "webpack --progress --mode production --env es=es2018 --env uglify=true",
"build-es2018-en": "webpack --progress --mode production --env es=es2018 --env excludeLangs=true --env uglify=true",
"build-no-uglify-es5": "webpack --progress --mode production --env es=es5 --env uglify=false",
"build-no-uglify-es2018": "webpack --progress --mode production --env es=es2018 --env uglify=false",
"build-no-uglify-es2018-en": "webpack --progress --mode production --env es=es2018 --env excludeLangs=true --env uglify=false",
"test": "npm run clean && webpack --progress --mode production --env es=es2018 --env uglify=false --env isTest=true && npm run test-only-run",
"test-debug": "karma start --browsers Chrome karma.conf.js --single-run false",
"test-chrome": "karma start --browsers Chrome karma.conf.js",
"test-only-run": "karma start --browsers FirefoxHeadless karma.conf.js",
"jodit": "cd ../jodit-react/ && npm update && npm run newversion && cd ../jodit-pro && npm run newversion && cd ../jodit-joomla && npm run newversion && cd ../jodit-master && npm run newversion",
"types": "rm -rf types/* && mkdir -p ./types/types && cp -r ./src/types ./types/types && tsc --project . --declaration --declarationDir types --outDir types --emitDeclarationOnly --removeComments false",
"pretty": "npx prettier --write ./src/*.{ts,less} ./src/**/*.{ts,less} ./src/**/**/*.{ts,less} ./src/**/**/**/*.{ts,less} ./src/**/**/**/**/*.{ts,less}",
"fix": "npx eslint ./src/ ./test/ --fix && npm run pretty",
"lint": "npx eslint ./src/ ./test/ && stylelint ./src/**/**.less"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xdan/jodit.git"
},
"keywords": [
"wysiwyg",
"editor",
"rich",
"jodit"
],
"author": "Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/xdan/jodit/issues"
},
"homepage": "https://xdsoft.net/jodit/",
"dependencies": {
"autobind-decorator": "^2.4.0",
"eslint-plugin-tsdoc": "^0.2.14",
"postcss-less": "^5.0.0"
},
"devDependencies": {
"@types/ace": "^0.0.47",
"@types/node": "^16.11.4",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"autoprefixer": "^10.3.7",
"chai": "^4.3.4",
"classlist-polyfill": "^1.2.0",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"css-loader": "^6.4.0",
"css-minimizer-webpack-plugin": "^3.1.1",
"cssnano-preset-advanced": "^5.1.4",
"es6-promise": "^4.2.8",
"eslint": "^8.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-prettier": "^4.0.0",
"express": "^4.17.1",
"file-loader": "^6.2.0",
"husky": "^7.0.4",
"karma": "^6.3.5",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^2.1.1",
"karma-mocha": "^2.0.1",
"karma-sourcemap-loader": "^0.3.8",
"karma-webpack": "^5.0.0",
"less": "^4.1.2",
"less-loader": "^10.2.0",
"lint-staged": "^11.2.4",
"merge-stream": "^2.0.0",
"mini-css-extract-plugin": "^2.4.3",
"mocha": "^9.1.3",
"postcss": "^8.3.11",
"postcss-css-variables": "^0.18.0",
"postcss-loader": "^6.2.0",
"prettier": "^2.4.1",
"raw-loader": "^4.0.2",
"style-loader": "^3.3.1",
"stylelint": "^13.13.1",
"stylelint-config-idiomatic-order": "v7.0.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^22.0.0",
"stylelint-prettier": "^1.2.0",
"synchronous-promise": "^2.0.15",
"terser-webpack-plugin": "^5.2.4",
"ts-loader": "^9.2.6",
"ts-private-uglifier": "^1.0.2",
"tslib": "^2.3.1",
"typescript": "^4.5.2",
"url-loader": "^4.1.1",
"webpack": "^5.59.1",
"webpack-cli": "^4.9.1",
"webpack-dev-middleware": "^5.2.1",
"webpack-dev-server": "^4.3.1",
"webpack-hot-middleware": "^2.25.1",
"webpack-stream": "^7.0.0",
"yargs": "^17.2.1"
},
"husky": {
"hooks": {}
},
"lint-staged": {
"./test/**/*.{js}": [
"prettier --write --ignore-path ./build/*",
"git add"
],
"*.{json,less}": [
"prettier --write --ignore-path ./build/*",
"git add"
],
"*.{ts}": [
"eslint ./src",
"prettier --write",
"git add"
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化