3 Star 6 Fork 1

小为 / xmorse

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 2.12 KB
一键复制 编辑 原始数据 按行查看 历史
hustcc 提交于 2020-02-13 10:45 . refactor: rewrite with ts
{
"name": "xmorse",
"officialName": "xmorse",
"version": "1.0.0",
"description": "xmorse is a pure javascript(~1.5 kb) library for encode / decode morse code messages, unicode supported.",
"license": "MIT",
"main": "lib/index.js",
"module": "esm/index.js",
"browser": "dist/xmorse.min.js",
"types": "lib/index.d.ts",
"files": [
"lib",
"esm",
"dist"
],
"scripts": {
"clean": "rimraf -rf lib esm dist",
"lint-staged": "lint-staged",
"test": "jest",
"build:umd": "rimraf ./dist && rollup -c",
"build:cjs": "rimraf ./lib && tsc --module commonjs --outDir lib",
"build:esm": "rimraf ./esm && tsc --module ESNext --outDir esm",
"build": "npm run build:cjs && npm run build:esm && npm run build:umd",
"prepublishOnly": "npm run build"
},
"keywords": [
"morse",
"mor",
"morse code",
"morse encode",
"morse decode",
"unicode morse",
"中文morse",
"中文摩斯密码"
],
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@types/jest": "^24.0.18",
"casual": "^1.6.2",
"husky": "^3.0.5",
"jest": "^24.9.0",
"jest-electron": "^0.1.7",
"lint-staged": "^9.3.0",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"rollup": "^1.24.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript": "^1.0.1",
"rollup-plugin-uglify": "^6.0.3",
"ts-jest": "^24.1.0",
"typescript": "^3.6.3"
},
"jest": {
"runner": "jest-electron/runner",
"testEnvironment": "jest-electron/environment",
"preset": "ts-jest",
"collectCoverage": true,
"testRegex": "(/__tests__/.*\\.(test|spec))\\.ts$",
"collectCoverageFrom": [
"src/**/*.ts"
]
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"author": {
"name": "hustcc",
"url": "https://atool.vip/"
},
"repository": {
"type": "git",
"url": "https://github.com/hustcc/xmorse"
},
"bugs": {
"url": "https://github.com/hustcc/xmorse/issues"
}
}
JavaScript
1
https://gitee.com/hustcc/xmorse.git
git@gitee.com:hustcc/xmorse.git
hustcc
xmorse
xmorse
master

搜索帮助