85 lines
3.0 KiB
JSON
85 lines
3.0 KiB
JSON
{
|
|
"name": "cnchar",
|
|
"version": "3.2.6",
|
|
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
|
"main": "index.html",
|
|
"author": "theajack <theajack@qq.com>",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"cnchar",
|
|
"chinese-character",
|
|
"chinese-pinyin",
|
|
"chinese-character-strokes",
|
|
"traditional-chinese",
|
|
"chinese-character-tools",
|
|
"汉字拼音",
|
|
"汉字笔画",
|
|
"汉字笔顺",
|
|
"繁体字",
|
|
"汉字工具"
|
|
],
|
|
"scripts": {
|
|
"start": "webpack-dev-server --open --config webpack-config/dev.js",
|
|
"dev": "webpack-dev-server --open --config webpack-config/dev.js",
|
|
"dev:test": "webpack-dev-server --open --config webpack-config/dev-test.js",
|
|
"build": "node ./helper/scripts/build.js",
|
|
"build:main": "webpack --config webpack-config/build.js",
|
|
"build:cnchar-all": "webpack --config webpack-config/build.plugin.js --env.pluginname=all",
|
|
"build:readme": "node ./helper/scripts/init-readme.js",
|
|
"publish": "node ./helper/scripts/publish.js",
|
|
"test": "node ./helper/test/index.js",
|
|
"lint": "eslint src --ext js",
|
|
"jest": "jest",
|
|
"dev:docs": "vuepress dev vuepress",
|
|
"build:docs": "vuepress build vuepress && node ./helper/scripts/build-docs.js",
|
|
"purge": "node ./helper/scripts/purge-cdn.js",
|
|
"count": "count-code-line",
|
|
"release": "node ./helper/scripts/push-release.js",
|
|
"fix": "eslint --fix **/*.vue"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.5.5",
|
|
"@babel/preset-env": "^7.5.5",
|
|
"@commitlint/cli": "^8.2.0",
|
|
"@commitlint/config-conventional": "^8.2.0",
|
|
"@types/jest": "^24.9.1",
|
|
"@typescript-eslint/eslint-plugin": "^2.14.0",
|
|
"@typescript-eslint/parser": "^2.14.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",
|
|
"easy-test-lib": "^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-jest": "^24.4.0",
|
|
"eslint-plugin-vue": "^7.2.0",
|
|
"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",
|
|
"jest": "^24.7.1",
|
|
"less": "^3.9.0",
|
|
"less-loader": "^5.0.0",
|
|
"ts-jest": "^24.0.2",
|
|
"ts-loader": "^6.2.1",
|
|
"typescript": "^3.7.4",
|
|
"vue": "^2.5.2",
|
|
"vue-highlight.js": "^2.2.0",
|
|
"vuepress": "^1.0.2",
|
|
"vuepress-plugin-tc-comment": "^0.0.11",
|
|
"webpack": "^4.39.1",
|
|
"webpack-cli": "^3.3.6",
|
|
"webpack-dev-server": "^3.7.2"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
}
|
|
}
|
|
} |