2020-04-06 01:51:13 +08:00
{
"name" : "cnchar" ,
2020-12-17 18:10:19 +08:00
"version" : "3.0.0" ,
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" ,
"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-09-08 11:07:21 +08:00
"build:radical" : "webpack --config webpack-config/build.plugin.js --env.pluginname=radical" ,
2020-04-09 14:33:54 +08:00
"build:all" : "webpack --config webpack-config/build.plugin.js --env.pluginname=all" ,
2020-09-08 11:07:21 +08:00
"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:radical && 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-12-17 18:10:19 +08:00
"publish" : "npm publish src/cnchar-types && npm publish npm/packages/cnchar && npm publish npm/packages/order && npm publish npm/packages/poly && npm publish npm/packages/trad && npm publish npm/packages/draw && npm publish npm/packages/idiom && npm publish npm/packages/xhy && npm publish npm/packages/radical && npm publish npm/packages/cnchar-all && npm publish npm/packages/hanzi-util-base && npm publish npm/packages/hanzi-util" ,
2020-04-06 01:51:13 +08:00
"lint" : "eslint src --ext js" ,
2020-12-17 18:10:19 +08:00
"test" : "node test npm" ,
2020-12-09 15:40:54 +08:00
"dev:docs" : "vuepress dev vuepress" ,
"build:docs" : "bash helper/build-docs.sh" ,
"build:docs-win" : "vuepress build vuepress && node ./helper/build-docs.js"
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" ,
2020-12-09 17:09:44 +08:00
"@typescript-eslint/eslint-plugin" : "^2.14.0" ,
"@typescript-eslint/parser" : "^2.14.0" ,
2020-04-06 01:51:13 +08:00
"@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" ,
2020-12-09 18:09:14 +08:00
"eslint-plugin-vue" : "^7.2.0" ,
2020-04-06 01:51:13 +08:00
"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" ,
2020-12-09 17:09:44 +08:00
"ts-loader" : "^6.2.1" ,
"typescript" : "^3.7.4" ,
2020-04-06 01:51:13 +08:00
"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"
}
}
}