提交学习笔记专用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
1.7 KiB

  1. {
  2. "version": "2.2.5",
  3. "license": "MIT",
  4. "type": "module",
  5. "typings": "dist/index.d.cts",
  6. "main": "./dist/index.js",
  7. "exports": {
  8. "import": "./dist/index.js",
  9. "require": "./dist-cjs/index.cjs"
  10. },
  11. "files": [
  12. "dist",
  13. "dist-cjs"
  14. ],
  15. "engines": {
  16. "node": ">=16"
  17. },
  18. "scripts": {
  19. "build": "yarn run build:esm && yarn run build:cjs",
  20. "build:esm": "tsc -p tsconfig.json",
  21. "build:cjs": "tsc -p tsconfig.cjs.json && node commonjs.js",
  22. "test": "vitest run",
  23. "lint": "tsdx lint"
  24. },
  25. "importSort": {
  26. ".ts": {
  27. "style": "module"
  28. }
  29. },
  30. "prettier": {
  31. "printWidth": 80,
  32. "semi": true,
  33. "singleQuote": true,
  34. "trailingComma": "es5"
  35. },
  36. "name": "superjson",
  37. "author": {
  38. "name": "Simon Knott",
  39. "email": "info@simonknott.de",
  40. "url": "https://simonknott.de"
  41. },
  42. "contributors": [
  43. {
  44. "name": "Dylan Brookes",
  45. "email": "dylan@brookes.net",
  46. "url": "https://github.com/merelinguist"
  47. },
  48. {
  49. "name": "Brandon Bayer",
  50. "email": "b@bayer.w",
  51. "url": "https://twitter.com/flybayer"
  52. }
  53. ],
  54. "repository": {
  55. "type": "git",
  56. "url": "https://github.com/blitz-js/superjson"
  57. },
  58. "devDependencies": {
  59. "@types/debug": "^4.1.5",
  60. "@types/mongodb": "^3.6.12",
  61. "@types/node": "^18.7.18",
  62. "benchmark": "^2.1.4",
  63. "decimal.js": "^10.3.1",
  64. "eslint-plugin-es5": "^1.5.0",
  65. "husky": "^6.0.0",
  66. "mongodb": "^3.6.6",
  67. "publish-please": "^5.5.2",
  68. "tsdx": "^0.14.1",
  69. "typescript": "^4.2.4",
  70. "vitest": "^0.34.6"
  71. },
  72. "dependencies": {
  73. "copy-anything": "^4"
  74. },
  75. "resolutions": {
  76. "**/@typescript-eslint/eslint-plugin": "^4.11.1",
  77. "**/@typescript-eslint/parser": "^4.11.1"
  78. }
  79. }