ccc-tnt-psd2ui/npm-packages/mac-v2.4.x/pinyin-pro/package.json
2023-07-27 15:04:13 +08:00

83 lines
2.3 KiB
JSON

{
"name": "pinyin-pro",
"version": "3.16.0",
"description": "准确率和性能最优异的汉字转拼音库。获取中文拼音、韵母、声母、声调、首字母,支持拼音匹配",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"typings": "./types/index.d.ts",
"scripts": {
"test": "mocha",
"build": "rollup -c && rollup -c rollup.esm.config.js",
"commit": "git-cz",
"coverage": "istanbul cover _mocha -- -R spec --timeout 15000 --recursive",
"coverage:check": "istanbul check-coverage",
"cover": "istanbul cover --report lcov node_modules/mocha/bin/_mocha -- -R spec test/*.js",
"cover:local": "istanbul cover --report=html node_modules/mocha/bin/_mocha -- -R spec test/*.js",
"lint": "eslint ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/zh-lx/pinyin-pro.git"
},
"files": [
"dist",
"types"
],
"keywords": [
"拼音",
"pinyin",
"汉字",
"中文",
"首字母",
"韵母",
"声母",
"音调"
],
"author": "zh-lx",
"license": "MIT",
"bugs": {
"url": "https://github.com/zh-lx/pinyin-pro/issues"
},
"homepage": "https://pinyin-pro.cn",
"exports": {
".": {
"import": {
"types": "./types/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./types/index.d.ts",
"default": "./dist/index.js"
}
}
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"babel-eslint": "^10.1.0",
"chai": "^4.3.4",
"commitizen": "^4.2.2",
"coveralls": "^3.1.0",
"eslint": "^7.22.0",
"istanbul": "^0.4.5",
"mocha": "^8.3.2",
"rollup": "2.60.0",
"rollup-plugin-alias": "^2.2.0",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.1",
"typescript": "^4.2.3"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
}
}