package.json 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. {
  2. "name": "@sequelize/core",
  3. "description": "Sequelize is a promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Amazon Redshift, Snowflake’s Data Cloud, Db2, and IBM i. It features solid transaction support, relations, eager and lazy loading, read replication and more.",
  4. "version": "7.0.0-alpha.46",
  5. "funding": [
  6. {
  7. "type": "opencollective",
  8. "url": "https://opencollective.com/sequelize"
  9. }
  10. ],
  11. "repository": {
  12. "type": "git",
  13. "url": "git@github.com:sequelize/sequelize.git"
  14. },
  15. "bugs": {
  16. "url": "https://github.com/sequelize/sequelize/issues"
  17. },
  18. "homepage": "https://sequelize.org/",
  19. "main": "./lib/index.js",
  20. "types": "./lib/index.d.ts",
  21. "type": "commonjs",
  22. "exports": {
  23. ".": {
  24. "import": {
  25. "types": "./lib/index.d.mts",
  26. "default": "./lib/index.mjs"
  27. },
  28. "require": {
  29. "types": "./lib/index.d.ts",
  30. "default": "./lib/index.js"
  31. }
  32. },
  33. "./decorators-legacy": {
  34. "import": "./lib/decorators/legacy/index.mjs",
  35. "require": {
  36. "types": "./lib/decorators/legacy/index.d.ts",
  37. "default": "./lib/decorators/legacy/index.js"
  38. }
  39. },
  40. "./_non-semver-use-at-your-own-risk_/*": "./lib/*",
  41. "./package.json": "./package.json"
  42. },
  43. "engines": {
  44. "node": ">=18.20.8"
  45. },
  46. "files": [
  47. "lib"
  48. ],
  49. "license": "MIT",
  50. "dependencies": {
  51. "@sequelize/utils": "workspace:*",
  52. "@types/debug": "^4.1.12",
  53. "@types/validator": "^13.15.2",
  54. "ansis": "^3.17.0",
  55. "bnf-parser": "^3.1.6",
  56. "dayjs": "^1.11.13",
  57. "debug": "^4.4.1",
  58. "dottie": "^2.0.6",
  59. "fast-glob": "^3.3.3",
  60. "inflection": "^3.0.2",
  61. "lodash": "^4.17.21",
  62. "retry-as-promised": "^7.1.1",
  63. "semver": "^7.7.2",
  64. "sequelize-pool": "^8.0.1",
  65. "toposort-class": "^1.0.1",
  66. "type-fest": "^4.41.0",
  67. "uuid": "^11.1.0",
  68. "validator": "^13.15.15"
  69. },
  70. "devDependencies": {
  71. "@types/chai": "4.3.20",
  72. "@types/chai-as-promised": "7.1.8",
  73. "@types/chai-datetime": "1.0.0",
  74. "@types/lodash": "4.17.20",
  75. "@types/mocha": "10.0.10",
  76. "@types/semver": "7.7.0",
  77. "@types/sinon": "17.0.4",
  78. "@types/sinon-chai": "3.2.12",
  79. "chai": "4.5.0",
  80. "chai-as-promised": "7.1.2",
  81. "chai-datetime": "1.8.1",
  82. "delay": "5.0.0",
  83. "expect-type": "0.13.0",
  84. "fs-jetpack": "5.1.0",
  85. "lcov-result-merger": "5.0.1",
  86. "mocha": "11.7.1",
  87. "moment": "2.30.1",
  88. "nyc": "17.1.0",
  89. "p-map": "4.0.0",
  90. "p-props": "4.0.0",
  91. "p-settle": "4.1.1",
  92. "p-timeout": "4.1.0",
  93. "rimraf": "5.0.10",
  94. "sinon": "18.0.1",
  95. "sinon-chai": "3.7.0"
  96. },
  97. "keywords": [
  98. "mysql",
  99. "mariadb",
  100. "sqlite",
  101. "sqlite3",
  102. "postgresql",
  103. "postgres",
  104. "pg",
  105. "mssql",
  106. "db2",
  107. "ibm_db",
  108. "sql",
  109. "sqlserver",
  110. "snowflake",
  111. "orm",
  112. "nodejs",
  113. "object relational mapper",
  114. "database",
  115. "db"
  116. ],
  117. "publishConfig": {
  118. "access": "public"
  119. },
  120. "scripts": {
  121. "----------------------------------------- static analysis -----------------------------------------": "",
  122. "test-typings": "tsc --noEmit && tsc -b test/tsconfig.json",
  123. "----------------------------------------- tests ---------------------------------------------------": "",
  124. "mocha": "mocha -r ../../test/register-esbuild.js",
  125. "_test-unit": "yarn mocha \"test/unit/**/*.test.[tj]s\"",
  126. "test-integration": "yarn mocha \"test/integration/**/*.test.[tj]s\"",
  127. "test-smoke": "yarn mocha \"test/smoke/**/*.test.[tj]s\" --timeout 600000",
  128. "teaser": "ts-node test/teaser.ts",
  129. "test": "yarn build && yarn test-typings && yarn teaser && yarn _test-unit && yarn test-integration",
  130. "----------------------------------------- coverage ------------------------------------------------": "",
  131. "cover": "rimraf coverage && yarn teaser && yarn cover-integration && yarn cover-unit && yarn merge-coverage",
  132. "cover-integration": "cross-env COVERAGE=true nyc --reporter=lcovonly yarn mocha \"test/integration/**/*.test.[tj]s\" && node -e \"require('fs').renameSync('coverage/lcov.info', 'coverage/integration.info')\"",
  133. "cover-unit": "cross-env COVERAGE=true nyc --reporter=lcovonly yarn mocha \"test/unit/**/*.test.[tj]s\" && node -e \"require('fs').renameSync('coverage/lcov.info', 'coverage/unit.info')\"",
  134. "merge-coverage": "lcov-result-merger \"coverage/*.info\" \"coverage/lcov.info\"",
  135. "----------------------------------------- unit tests ---------------------------------------------": "",
  136. "test-unit-mariadb": "cross-env DIALECT=mariadb yarn _test-unit",
  137. "test-unit-mysql": "cross-env DIALECT=mysql yarn _test-unit",
  138. "test-unit-postgres": "cross-env DIALECT=postgres yarn _test-unit",
  139. "test-unit-sqlite3": "cross-env DIALECT=sqlite3 yarn _test-unit",
  140. "test-unit-mssql": "cross-env DIALECT=mssql yarn _test-unit",
  141. "test-unit-db2": "cross-env DIALECT=db2 yarn _test-unit",
  142. "test-unit-ibmi": "cross-env DIALECT=ibmi yarn _test-unit",
  143. "test-unit-snowflake": "cross-env DIALECT=snowflake yarn _test-unit",
  144. "test-unit-all": "yarn test-unit-mariadb && yarn test-unit-mysql && yarn test-unit-postgres && yarn test-unit-mssql && yarn test-unit-sqlite3 && yarn test-unit-snowflake && yarn test-unit-db2 && yarn test-unit-ibmi",
  145. "test-unit": "yarn test-unit-all",
  146. "----------------------------------------- integration tests ---------------------------------------------": "",
  147. "test-integration-mariadb": "cross-env DIALECT=mariadb yarn test-integration",
  148. "test-integration-mysql": "cross-env DIALECT=mysql yarn test-integration",
  149. "test-integration-postgres": "cross-env DIALECT=postgres yarn test-integration",
  150. "test-integration-postgres-native": "cross-env DIALECT=postgres-native yarn test-integration",
  151. "test-integration-sqlite3": "cross-env DIALECT=sqlite3 yarn test-integration",
  152. "test-integration-mssql": "cross-env DIALECT=mssql yarn test-integration",
  153. "test-integration-db2": "cross-env DIALECT=db2 yarn test-integration",
  154. "test-integration-ibmi": "cross-env DIALECT=ibmi yarn test-integration",
  155. "test-integration-snowflake": "cross-env DIALECT=snowflake yarn test-integration",
  156. "test-integration-all": "yarn test-integration-mariadb && yarn test-integration-mysql && yarn test-integration-postgres && yarn test-integration-postgres-native && yarn test-integration-sqlite3 && yarn test-integration-mssql && yarn test-integration-db2 && yarn test-integration-ibmi && yarn test-integration-snowflake",
  157. "----------------------------------------- all tests ---------------------------------------------": "",
  158. "test-mariadb": "cross-env DIALECT=mariadb yarn test",
  159. "test-mysql": "cross-env DIALECT=mysql yarn test",
  160. "test-sqlite3": "cross-env DIALECT=sqlite3 yarn test",
  161. "test-postgres": "cross-env DIALECT=postgres yarn test",
  162. "test-postgres-native": "cross-env DIALECT=postgres-native yarn test",
  163. "test-mssql": "cross-env DIALECT=mssql yarn test",
  164. "test-db2": "cross-env DIALECT=db2 yarn test",
  165. "test-ibmi": "cross-env DIALECT=ibmi yarn test",
  166. "----------------------------------------- development ---------------------------------------------": "",
  167. "build": "node ../../build-packages.mjs core"
  168. },
  169. "support": true
  170. }