package.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {
  2. "_from": "zwitch@^1.0.0",
  3. "_id": "zwitch@1.0.5",
  4. "_inBundle": false,
  5. "_integrity": "sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==",
  6. "_location": "/zwitch",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "zwitch@^1.0.0",
  12. "name": "zwitch",
  13. "escapedName": "zwitch",
  14. "rawSpec": "^1.0.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^1.0.0"
  17. },
  18. "_requiredBy": [
  19. "/mdast-util-to-markdown"
  20. ],
  21. "_resolved": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.5.tgz",
  22. "_shasum": "d11d7381ffed16b742f6af7b3f223d5cd9fe9920",
  23. "_spec": "zwitch@^1.0.0",
  24. "_where": "D:\\qianger\\7\\jindouyunNewFront\\node_modules\\mdast-util-to-markdown",
  25. "author": {
  26. "name": "Titus Wormer",
  27. "email": "tituswormer@gmail.com",
  28. "url": "https://wooorm.com"
  29. },
  30. "bugs": {
  31. "url": "https://github.com/wooorm/zwitch/issues"
  32. },
  33. "bundleDependencies": false,
  34. "contributors": [
  35. {
  36. "name": "Titus Wormer",
  37. "email": "tituswormer@gmail.com",
  38. "url": "https://wooorm.com"
  39. }
  40. ],
  41. "dependencies": {},
  42. "deprecated": false,
  43. "description": "Handle values based on a property",
  44. "devDependencies": {
  45. "browserify": "^16.0.0",
  46. "nyc": "^15.0.0",
  47. "prettier": "^1.0.0",
  48. "remark-cli": "^7.0.0",
  49. "remark-preset-wooorm": "^6.0.0",
  50. "tape": "^4.0.0",
  51. "tinyify": "^2.0.0",
  52. "xo": "^0.25.0"
  53. },
  54. "files": [
  55. "index.js"
  56. ],
  57. "funding": {
  58. "type": "github",
  59. "url": "https://github.com/sponsors/wooorm"
  60. },
  61. "homepage": "https://github.com/wooorm/zwitch#readme",
  62. "keywords": [
  63. "handle",
  64. "switch",
  65. "property"
  66. ],
  67. "license": "MIT",
  68. "name": "zwitch",
  69. "nyc": {
  70. "check-coverage": true,
  71. "lines": 100,
  72. "functions": 100,
  73. "branches": 100
  74. },
  75. "prettier": {
  76. "tabWidth": 2,
  77. "useTabs": false,
  78. "singleQuote": true,
  79. "bracketSpacing": false,
  80. "semi": false,
  81. "trailingComma": "none"
  82. },
  83. "remarkConfig": {
  84. "plugins": [
  85. "preset-wooorm"
  86. ]
  87. },
  88. "repository": {
  89. "type": "git",
  90. "url": "git+https://github.com/wooorm/zwitch.git"
  91. },
  92. "scripts": {
  93. "build": "npm run build-bundle && npm run build-mangle",
  94. "build-bundle": "browserify . -s zwitch -o zwitch.js",
  95. "build-mangle": "browserify . -s zwitch -p tinyify -o zwitch.min.js",
  96. "format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
  97. "test": "npm run format && npm run build && npm run test-coverage",
  98. "test-api": "node test",
  99. "test-coverage": "nyc --reporter lcov tape test.js"
  100. },
  101. "version": "1.0.5",
  102. "xo": {
  103. "prettier": true,
  104. "esnext": false,
  105. "rules": {
  106. "unicorn/prefer-reflect-apply": "off"
  107. },
  108. "ignores": [
  109. "zwitch.js"
  110. ]
  111. }
  112. }