2020-04-06 01:51:13 +08:00
|
|
|
|
{
|
|
|
|
|
"name": "cnchar",
|
2020-04-08 08:13:55 +08:00
|
|
|
|
"version": "2.1.0",
|
2020-04-06 01:51:13 +08:00
|
|
|
|
"description": "好用小巧、功能全面的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
|
|
|
|
"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",
|
|
|
|
|
"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",
|
|
|
|
|
"build:plugin": "npm run build:poly && npm run build:order && npm run build:trad && npm run build:draw",
|
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",
|
|
|
|
|
"publish": "npm publish npm/cnchar && npm publish npm/order && npm publish npm/poly && npm publish npm/trad && npm publish npm/cnchar-all && npm publish npm/hanzi-util-base && npm publish npm/hanzi-util",
|
|
|
|
|
"lint": "eslint src --ext js",
|
|
|
|
|
"test": "node test",
|
|
|
|
|
"dev:docs": "vuepress dev docs",
|
|
|
|
|
"build:docs": "vuepress build docs"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@babel/core": "^7.5.5",
|
|
|
|
|
"@babel/preset-env": "^7.5.5",
|
|
|
|
|
"@commitlint/cli": "^8.2.0",
|
|
|
|
|
"@commitlint/config-conventional": "^8.2.0",
|
|
|
|
|
"@vssue/api-gitee-v5": "^1.4.0",
|
|
|
|
|
"@vssue/api-github-v3": "^1.0.0",
|
|
|
|
|
"@vssue/vuepress-plugin-vssue": "^1.0.2",
|
|
|
|
|
"@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",
|
|
|
|
|
"chalk": "^3.0.0",
|
|
|
|
|
"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",
|
|
|
|
|
"gulp-rename": "^1.4.0",
|
2020-04-06 21:29:00 +08:00
|
|
|
|
"hanzi-writer": "^2.2.2",
|
2020-04-06 01:51:13 +08:00
|
|
|
|
"highlight.js": "^9.15.8",
|
|
|
|
|
"husky": "^3.1.0",
|
|
|
|
|
"inputmask": "^3.3.11",
|
|
|
|
|
"less": "^3.9.0",
|
|
|
|
|
"less-loader": "^5.0.0",
|
|
|
|
|
"lite-server": "^2.5.4",
|
|
|
|
|
"recast": "^0.18.2",
|
|
|
|
|
"vue": "^2.5.2",
|
|
|
|
|
"vue-highlight.js": "^2.2.0",
|
|
|
|
|
"vuepress": "^1.0.2",
|
|
|
|
|
"webpack": "^4.39.1",
|
|
|
|
|
"webpack-cli": "^3.3.6",
|
|
|
|
|
"webpack-dev-server": "^3.7.2"
|
|
|
|
|
},
|
|
|
|
|
"husky": {
|
|
|
|
|
"hooks": {
|
|
|
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|