package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. {
  2. "_from": "iny-bus@^2.0.0",
  3. "_id": "iny-bus@2.0.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-wAUo8rP+XEm/W88gPSaSTLfLplxbfvp/b3JAZPt8NLQyyrAANCen5VP6oBXD9f4bo2T3BmX4JWA7o3S8Zv5jng==",
  6. "_location": "/iny-bus",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "iny-bus@^2.0.0",
  12. "name": "iny-bus",
  13. "escapedName": "iny-bus",
  14. "rawSpec": "^2.0.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^2.0.0"
  17. },
  18. "_requiredBy": [
  19. "/"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/iny-bus/-/iny-bus-2.0.0.tgz",
  22. "_shasum": "744b98558ea2368cacbdffa8efb0ea2971ea180b",
  23. "_spec": "iny-bus@^2.0.0",
  24. "_where": "C:\\Users\\q\\MiniProjects\\K8MiniProgramDemo",
  25. "author": {
  26. "name": "landluck",
  27. "email": "landl_ww@163.com"
  28. },
  29. "bugs": {
  30. "url": "https://github.com/landluck/iny-bus/issues"
  31. },
  32. "bundleDependencies": false,
  33. "commitlint": {
  34. "extends": [
  35. "@commitlint/config-conventional"
  36. ]
  37. },
  38. "config": {
  39. "commitizen": {
  40. "path": "node_modules/cz-conventional-changelog"
  41. }
  42. },
  43. "deprecated": false,
  44. "description": "<h3 align=\"center\" style=\"margin: 30px 0 35px;\">iny bus 事件中心</h3>",
  45. "devDependencies": {
  46. "@commitlint/cli": "^7.1.2",
  47. "@commitlint/config-conventional": "^7.1.2",
  48. "@types/jest": "^23.3.2",
  49. "@types/node": "^10.11.0",
  50. "codecov": "^3.5.0",
  51. "colors": "^1.3.2",
  52. "commitizen": "^3.0.0",
  53. "cross-env": "^5.2.0",
  54. "cz-conventional-changelog": "^2.1.0",
  55. "gh-pages": "^2.1.0",
  56. "husky": "^1.0.1",
  57. "jest": "^23.6.0",
  58. "jest-config": "^23.6.0",
  59. "lint-staged": "^8.0.0",
  60. "lodash.camelcase": "^4.3.0",
  61. "prettier": "^1.14.3",
  62. "prompt": "^1.0.0",
  63. "replace-in-file": "^3.4.2",
  64. "rimraf": "^2.6.2",
  65. "rollup": "^0.67.0",
  66. "rollup-plugin-commonjs": "^9.1.8",
  67. "rollup-plugin-json": "^3.1.0",
  68. "rollup-plugin-node-resolve": "^3.4.0",
  69. "rollup-plugin-sourcemaps": "^0.4.2",
  70. "rollup-plugin-typescript2": "^0.18.0",
  71. "semantic-release": "^15.9.16",
  72. "shelljs": "^0.8.3",
  73. "travis-deploy-once": "^5.0.9",
  74. "ts-jest": "^23.10.2",
  75. "ts-node": "^7.0.1",
  76. "tslint": "^5.11.0",
  77. "tslint-config-prettier": "^1.15.0",
  78. "tslint-config-standard": "^8.0.1",
  79. "typedoc": "^0.12.0",
  80. "typescript": "^3.0.3"
  81. },
  82. "engines": {
  83. "node": ">=6.0.0"
  84. },
  85. "files": [
  86. "dist"
  87. ],
  88. "homepage": "https://github.com/landluck/iny-bus#readme",
  89. "jest": {
  90. "transform": {
  91. ".(ts|tsx)": "ts-jest"
  92. },
  93. "testEnvironment": "jsdom",
  94. "testRegex": "/test/.*\\.(test|spec)\\.(ts)$",
  95. "moduleFileExtensions": [
  96. "ts",
  97. "tsx",
  98. "js"
  99. ],
  100. "coveragePathIgnorePatterns": [
  101. "/node_modules/",
  102. "/test/"
  103. ],
  104. "coverageThreshold": {
  105. "global": {
  106. "branches": 90,
  107. "functions": 95,
  108. "lines": 95,
  109. "statements": 95
  110. }
  111. },
  112. "collectCoverageFrom": [
  113. "src/*.{js,ts}",
  114. "src/**/*.{js,ts}"
  115. ]
  116. },
  117. "jsdelivr": "dist/index.js",
  118. "keywords": [],
  119. "license": "MIT",
  120. "lint-staged": {
  121. "{src}/**/*.ts": [
  122. "npm run lint",
  123. "prettier --write",
  124. "npm run test",
  125. "git add"
  126. ]
  127. },
  128. "main": "dist/index.js",
  129. "miniprogram": "dist",
  130. "module": "dist/index.js",
  131. "name": "iny-bus",
  132. "prettier": {
  133. "semi": false,
  134. "singleQuote": true
  135. },
  136. "repository": {
  137. "type": "git",
  138. "url": "git+https://github.com/landluck/iny-bus.git"
  139. },
  140. "scripts": {
  141. "build": "rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src",
  142. "commit": "git-cz",
  143. "deploy-docs": "gh-pages -d docs --add --git /usr/bin/git",
  144. "docs": "typedoc --out docs --target es6 --theme minimal --mode file src",
  145. "lint": "tslint --project tsconfig.json -t codeFrame './src/**/*.ts'",
  146. "prebuild": "rimraf dist",
  147. "precommit": "lint-staged",
  148. "prepub": "npm run test:prod && npm run build",
  149. "pub": "sh release.sh",
  150. "pub_docs": "sh release-docs.sh",
  151. "report-coverage": "codecov ./coverage/clover.xml",
  152. "semantic-release": "semantic-release",
  153. "semantic-release-prepare": "ts-node tools/semantic-release-prepare",
  154. "start": "rollup -c rollup.config.ts -w",
  155. "test": "jest --coverage",
  156. "test:prod": "npm run lint && npm run test -- --no-cache",
  157. "test:watch": "jest --coverage --watch"
  158. },
  159. "typings": "dist/index.d.ts",
  160. "unpkg": "dist/index.js",
  161. "version": "2.0.0"
  162. }