package.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. {
  2. "_from": "yaml@^1.10.0",
  3. "_id": "yaml@1.10.2",
  4. "_inBundle": false,
  5. "_integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",
  6. "_location": "/yaml",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "yaml@^1.10.0",
  12. "name": "yaml",
  13. "escapedName": "yaml",
  14. "rawSpec": "^1.10.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^1.10.0"
  17. },
  18. "_requiredBy": [
  19. "/lint-staged/cosmiconfig",
  20. "/stylelint/cosmiconfig"
  21. ],
  22. "_resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",
  23. "_shasum": "2301c5ffbf12b467de8da2333a459e29e7920e4b",
  24. "_spec": "yaml@^1.10.0",
  25. "_where": "D:\\qianger\\7\\jindouyunNewFront\\node_modules\\lint-staged\\node_modules\\cosmiconfig",
  26. "author": {
  27. "name": "Eemeli Aro",
  28. "email": "eemeli@gmail.com"
  29. },
  30. "browser": {
  31. "./index.js": "./browser/index.js",
  32. "./map.js": "./browser/map.js",
  33. "./pair.js": "./browser/pair.js",
  34. "./parse-cst.js": "./browser/parse-cst.js",
  35. "./scalar.js": "./browser/scalar.js",
  36. "./schema.js": "./browser/schema.js",
  37. "./seq.js": "./browser/seq.js",
  38. "./types.js": "./browser/types.js",
  39. "./types.mjs": "./browser/types.js",
  40. "./types/binary.js": "./browser/types/binary.js",
  41. "./types/omap.js": "./browser/types/omap.js",
  42. "./types/pairs.js": "./browser/types/pairs.js",
  43. "./types/set.js": "./browser/types/set.js",
  44. "./types/timestamp.js": "./browser/types/timestamp.js",
  45. "./util.js": "./browser/util.js",
  46. "./util.mjs": "./browser/util.js"
  47. },
  48. "browserslist": "> 0.5%, not dead",
  49. "bugs": {
  50. "url": "https://github.com/eemeli/yaml/issues"
  51. },
  52. "bundleDependencies": false,
  53. "deprecated": false,
  54. "description": "JavaScript parser and stringifier for YAML",
  55. "devDependencies": {
  56. "@babel/core": "^7.12.10",
  57. "@babel/plugin-proposal-class-properties": "^7.12.1",
  58. "@babel/preset-env": "^7.12.11",
  59. "@rollup/plugin-babel": "^5.2.3",
  60. "babel-eslint": "^10.1.0",
  61. "babel-jest": "^26.6.3",
  62. "babel-plugin-trace": "^1.1.0",
  63. "common-tags": "^1.8.0",
  64. "cross-env": "^7.0.3",
  65. "eslint": "^7.19.0",
  66. "eslint-config-prettier": "^7.2.0",
  67. "fast-check": "^2.12.0",
  68. "jest": "^26.6.3",
  69. "prettier": "^2.2.1",
  70. "rollup": "^2.38.2",
  71. "typescript": "^4.1.3"
  72. },
  73. "engines": {
  74. "node": ">= 6"
  75. },
  76. "exports": {
  77. ".": "./index.js",
  78. "./parse-cst": "./parse-cst.js",
  79. "./types": [
  80. {
  81. "import": "./types.mjs"
  82. },
  83. "./types.js"
  84. ],
  85. "./util": [
  86. {
  87. "import": "./util.mjs"
  88. },
  89. "./util.js"
  90. ],
  91. "./": "./"
  92. },
  93. "files": [
  94. "browser/",
  95. "dist/",
  96. "types/",
  97. "*.d.ts",
  98. "*.js",
  99. "*.mjs",
  100. "!*config.js"
  101. ],
  102. "homepage": "https://eemeli.org/yaml/v1/",
  103. "keywords": [
  104. "YAML",
  105. "parser",
  106. "stringifier"
  107. ],
  108. "license": "ISC",
  109. "main": "./index.js",
  110. "name": "yaml",
  111. "prettier": {
  112. "arrowParens": "avoid",
  113. "semi": false,
  114. "singleQuote": true,
  115. "trailingComma": "none"
  116. },
  117. "repository": {
  118. "type": "git",
  119. "url": "git+https://github.com/eemeli/yaml.git"
  120. },
  121. "scripts": {
  122. "build": "npm run build:node && npm run build:browser",
  123. "build:browser": "rollup -c rollup.browser-config.js",
  124. "build:node": "rollup -c rollup.node-config.js",
  125. "clean": "git clean -fdxe node_modules",
  126. "docs": "cd docs-slate && bundle exec middleman server",
  127. "docs:deploy": "cd docs-slate && ./deploy.sh",
  128. "docs:install": "cd docs-slate && bundle install",
  129. "lint": "eslint src/",
  130. "prepublishOnly": "npm run clean && npm test && npm run build",
  131. "prettier": "prettier --write .",
  132. "preversion": "npm test && npm run build",
  133. "start": "cross-env TRACE_LEVEL=log npm run build:node && node -i -e 'YAML=require(\".\")'",
  134. "test": "jest",
  135. "test:browsers": "cd playground && npm test",
  136. "test:dist": "npm run build:node && jest",
  137. "test:types": "tsc --lib ES2017 --noEmit tests/typings.ts"
  138. },
  139. "type": "commonjs",
  140. "version": "1.10.2"
  141. }