cnchar/package.json

80 lines
3.4 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "cnchar",
"version": "2.2.0",
"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:config": "node ./helper/build-config.js",
"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",
"build:draw": "webpack --config webpack-config/build.plugin.js --env.pluginname=draw",
"build:idiom": "webpack --config webpack-config/build.plugin.js --env.pluginname=idiom",
"build:xhy": "webpack --config webpack-config/build.plugin.js --env.pluginname=xhy",
"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",
"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/draw && npm publish npm/idiom && npm publish npm/xhy && npm publish npm/all && npm publish npm/hanzi-util-base && npm publish npm/hanzi-util",
"lint": "eslint src --ext js",
"test": "node test",
"test:npm": "node test npm",
"dev:docs": "vuepress dev docs",
"build:docs": "vuepress build docs && npm run build:config"
},
"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",
"easy-icon": "^1.0.2",
"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-markdown-toc": "^1.1.0",
"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",
"vuepress-plugin-comment": "^0.7.3",
"webpack": "^4.39.1",
"webpack-cli": "^3.3.6",
"webpack-dev-server": "^3.7.2"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}