package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. {
  2. "name": "victory-vendor",
  3. "version": "36.9.2",
  4. "description": "Vendored dependencies for Victory",
  5. "keywords": [
  6. "data visualization",
  7. "React",
  8. "d3",
  9. "charting"
  10. ],
  11. "repository": {
  12. "type": "git",
  13. "url": "https://github.com/FormidableLabs/victory"
  14. },
  15. "homepage": "https://commerce.nearform.com/open-source/victory",
  16. "author": "Formidable",
  17. "license": "MIT AND ISC",
  18. "exports": {
  19. "./package.json": "./package.json",
  20. "./d3-*": {
  21. "types": "./d3-*.d.ts",
  22. "import": "./es/d3-*.js",
  23. "default": "./lib/d3-*.js"
  24. }
  25. },
  26. "dependencies": {
  27. "@types/d3-array": "^3.0.3",
  28. "@types/d3-ease": "^3.0.0",
  29. "@types/d3-interpolate": "^3.0.1",
  30. "@types/d3-scale": "^4.0.2",
  31. "@types/d3-shape": "^3.1.0",
  32. "@types/d3-time": "^3.0.0",
  33. "@types/d3-timer": "^3.0.0",
  34. "d3-array": "^3.1.6",
  35. "d3-ease": "^3.0.1",
  36. "d3-interpolate": "^3.0.1",
  37. "d3-scale": "^4.0.2",
  38. "d3-shape": "^3.1.0",
  39. "d3-time": "^3.0.0",
  40. "d3-timer": "^3.0.1"
  41. },
  42. "devDependencies": {
  43. "d3-color": "^3.1.0",
  44. "d3-format": "^3.1.0",
  45. "d3-path": "^3.0.1",
  46. "d3-time-format": "^4.1.0",
  47. "d3-voronoi": "^1.1.4",
  48. "internmap": "^2.0.3",
  49. "execa": "^6.1.0",
  50. "rimraf": "^3.0.2"
  51. },
  52. "publishConfig": {
  53. "provenance": true
  54. },
  55. "wireit": {
  56. "build": {
  57. "command": "node ./scripts/build.js",
  58. "files": [
  59. ".babelrc.js",
  60. "scripts/build.js",
  61. "node_modules/**"
  62. ],
  63. "output": [
  64. "es/**",
  65. "lib/**",
  66. "lib-vendor/**",
  67. "d3-*"
  68. ],
  69. "packageLocks": [
  70. "pnpm-lock.yaml"
  71. ]
  72. },
  73. "build:lib:esm": {
  74. "dependencies": [
  75. "build"
  76. ]
  77. },
  78. "build:lib:cjs": {
  79. "dependencies": [
  80. "build"
  81. ]
  82. },
  83. "build:dist": {
  84. "dependencies": [
  85. "build"
  86. ]
  87. },
  88. "build:dist:dev": {
  89. "dependencies": [
  90. "build"
  91. ]
  92. },
  93. "build:dist:min": {
  94. "dependencies": [
  95. "build"
  96. ]
  97. },
  98. "check": {
  99. "dependencies": [
  100. "types:check",
  101. "jest",
  102. "format",
  103. "lint"
  104. ]
  105. },
  106. "types:check": {
  107. "command": "echo \"No types to check here\"",
  108. "files": [],
  109. "output": []
  110. },
  111. "types:create": {
  112. "dependencies": [
  113. "build"
  114. ]
  115. },
  116. "format": {
  117. "command": "nps format:pkg",
  118. "files": [
  119. "scripts/**",
  120. "*.json",
  121. "../../.prettierignore",
  122. "../../.prettierrc.json"
  123. ],
  124. "output": [],
  125. "packageLocks": [
  126. "pnpm-lock.yaml"
  127. ]
  128. },
  129. "format:fix": {
  130. "command": "pnpm run format || nps format:pkg:fix",
  131. "files": [
  132. "scripts/**",
  133. "*.json",
  134. "../../.prettierignore",
  135. "../../.prettierrc.json"
  136. ],
  137. "output": [],
  138. "packageLocks": [
  139. "pnpm-lock.yaml"
  140. ]
  141. },
  142. "lint": {
  143. "command": "nps \"lint:base scripts\"",
  144. "files": [
  145. "scripts/**",
  146. "../../.eslintrc.js"
  147. ],
  148. "output": [],
  149. "packageLocks": [
  150. "pnpm-lock.yaml"
  151. ]
  152. },
  153. "lint:fix": {
  154. "command": "pnpm run lint || nps \"lint:base --fix scripts\"",
  155. "files": [
  156. "scripts/**",
  157. "../../.eslintrc.js"
  158. ],
  159. "output": [],
  160. "packageLocks": [
  161. "pnpm-lock.yaml"
  162. ]
  163. },
  164. "jest": {
  165. "command": "echo victory-vendor has no tests",
  166. "files": [],
  167. "output": []
  168. }
  169. },
  170. "scripts": {
  171. "build": "wireit",
  172. "build:lib": "wireit",
  173. "build:lib:esm": "wireit",
  174. "build:lib:cjs": "wireit",
  175. "build:dist": "wireit",
  176. "build:dist:dev": "wireit",
  177. "build:dist:min": "wireit",
  178. "check": "wireit",
  179. "types:check": "wireit",
  180. "types:create": "wireit",
  181. "format": "wireit",
  182. "format:fix": "wireit",
  183. "lint": "wireit",
  184. "lint:fix": "wireit",
  185. "jest": "wireit"
  186. }
  187. }