cnchar/package.json

80 lines
3.4 KiB
JSON
Raw Normal View History

2020-04-06 01:51:13 +08:00
{
"name": "cnchar",
2020-08-28 18:09:34 +08:00
"version": "2.2.4",
2020-04-11 14:46:57 +08:00
"description": "功能全面、多端支持的汉字拼音笔画js库支持多音字、繁体字、火星文",
2020-04-06 01:51:13 +08:00
"main": "index.html",
"author": "theajack <contact@theajack.com>",
"license": "MIT",
"keywords": [
"cnchar",
"chinese-character",
"chinese-pinyin",
"chinese-character-strokes",
"traditional-chinese",
"chinese-character-tools",
"汉字拼音",
"汉字笔画",
"汉字笔顺",
"繁体字",
"汉字工具"
],
"scripts": {
"build": "npm run build:main && npm run build:plugin && npm run build:npm",
2020-04-13 16:46:50 +08:00
"build:config": "node ./helper/build-config.js",
2020-04-06 01:51:13 +08:00
"build:main": "webpack --config webpack-config/build.js",
"build:poly": "webpack --config webpack-config/build.plugin.js --env.pluginname=poly",
"build:order": "webpack --config webpack-config/build.plugin.js --env.pluginname=order",
"build:trad": "webpack --config webpack-config/build.plugin.js --env.pluginname=trad",
2020-04-08 08:13:55 +08:00
"build:draw": "webpack --config webpack-config/build.plugin.js --env.pluginname=draw",
2020-06-03 18:11:37 +08:00
"build:idiom": "webpack --config webpack-config/build.plugin.js --env.pluginname=idiom",
"build:xhy": "webpack --config webpack-config/build.plugin.js --env.pluginname=xhy",
2020-04-09 14:33:54 +08:00
"build:all": "webpack --config webpack-config/build.plugin.js --env.pluginname=all",
"build:plugin": "npm run build:poly && npm run build:order && npm run build:trad && npm run build:draw && npm run build:idiom && npm run build:xhy && npm run build:all",
2020-04-06 01:51:13 +08:00
"build:npm": "node ./helper/build-npm.js",
"start": "webpack-dev-server --open --config webpack-config/dev.js",
"dev": "webpack-dev-server --open --config webpack-config/dev.js",
2020-06-03 18:11:37 +08:00
"publish": "npm publish npm/cnchar && npm publish npm/order && npm publish npm/poly && npm publish npm/trad && npm publish npm/draw && npm publish npm/idiom && npm publish npm/xhy && npm publish npm/all && npm publish npm/hanzi-util-base && npm publish npm/hanzi-util",
2020-04-06 01:51:13 +08:00
"lint": "eslint src --ext js",
"test": "node test",
"test:npm": "node test npm",
2020-04-06 01:51:13 +08:00
"dev:docs": "vuepress dev docs",
2020-04-13 16:46:50 +08:00
"build:docs": "vuepress build docs && npm run build:config"
2020-04-06 01:51:13 +08:00
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@vuepress/plugin-back-to-top": "^1.0.0-rc.1",
"@vuepress/plugin-medium-zoom": "^1.0.0-rc.1",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
2020-04-11 14:46:57 +08:00
"easy-icon": "^1.0.2",
2020-04-06 01:51:13 +08:00
"element-ui": "^2.10.1",
"eslint": "^6.7.2",
"eslint-loader": "^3.0.3",
"eslint-plugin-html": "^6.0.0",
"eslint-plugin-vue": "^6.2.2",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
2020-04-14 19:02:13 +08:00
"gulp-markdown-toc": "^1.1.0",
2020-04-06 01:51:13 +08:00
"gulp-rename": "^1.4.0",
"highlight.js": "^9.15.8",
"husky": "^3.1.0",
"less": "^3.9.0",
"less-loader": "^5.0.0",
"vue": "^2.5.2",
"vue-highlight.js": "^2.2.0",
"vuepress": "^1.0.2",
2020-04-14 19:02:13 +08:00
"vuepress-plugin-comment": "^0.7.3",
2020-04-06 01:51:13 +08:00
"webpack": "^4.39.1",
"webpack-cli": "^3.3.6",
"webpack-dev-server": "^3.7.2"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}