package.json 3.9 KB

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