package.json 4.0 KB

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