不要怂,就是干,撸起袖子干!

package.json 8.25 KB
{
  "name": "sequelize",
  "description": "Multi dialect ORM for Node.JS",
  "version": "0.0.0-development",
  "maintainers": [
    "Sascha Depold <sascha@depold.com>",
    "Jan Aagaard Meier <janzeh@gmail.com>",
    "Daniel Durante <me@danieldurante.com>",
    "Mick Hansen <mick.kasper.hansen@gmail.com>",
    "Sushant Dhiman <sushantdhiman@outlook.com>",
    "Pedro Augusto de Paula Barbosa <papb1996@gmail.com>"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/sequelize/sequelize.git"
  },
  "bugs": {
    "url": "https://github.com/sequelize/sequelize/issues"
  },
  "homepage": "https://sequelize.org/",
  "main": "index.js",
  "types": "types",
  "engines": {
    "node": ">=10.0.0"
  },
  "files": [
    "lib",
    "types/index.d.ts",
    "types/lib",
    "types/type-helpers"
  ],
  "license": "MIT",
  "dependencies": {
    "debug": "^4.1.1",
    "dottie": "^2.0.0",
    "inflection": "1.13.1",
    "lodash": "^4.17.20",
    "moment": "^2.26.0",
    "moment-timezone": "^0.5.31",
    "retry-as-promised": "^3.2.0",
    "semver": "^7.3.2",
    "sequelize-pool": "^6.0.0",
    "toposort-class": "^1.0.1",
    "uuid": "^8.1.0",
    "validator": "^10.11.0",
    "wkx": "^0.5.0"
  },
  "devDependencies": {
    "@commitlint/cli": "^11.0.0",
    "@commitlint/config-angular": "^11.0.0",
    "@types/node": "^12.12.42",
    "@types/validator": "^10.11.0",
    "acorn": "^8.0.4",
    "chai": "^4.x",
    "chai-as-promised": "^7.x",
    "chai-datetime": "^1.6.0",
    "cheerio": "^1.0.0-rc.3",
    "cls-hooked": "^4.2.2",
    "cross-env": "^7.0.2",
    "delay": "^4.3.0",
    "esdoc": "^1.1.0",
    "esdoc-ecmascript-proposal-plugin": "^1.0.0",
    "esdoc-inject-style-plugin": "^1.0.0",
    "esdoc-standard-plugin": "^1.0.0",
    "eslint": "^6.8.0",
    "eslint-plugin-jsdoc": "^20.4.0",
    "eslint-plugin-mocha": "^6.2.2",
    "expect-type": "^0.11.0",
    "fs-jetpack": "^4.1.0",
    "husky": "^4.2.5",
    "js-combinatorics": "^0.5.5",
    "lcov-result-merger": "^3.0.0",
    "lint-staged": "^10.2.6",
    "mariadb": "^2.3.1",
    "markdownlint-cli": "^0.26.0",
    "marked": "^1.1.0",
    "mocha": "^7.1.2",
    "mysql2": "^2.1.0",
    "nyc": "^15.0.0",
    "p-map": "^4.0.0",
    "p-props": "^4.0.0",
    "p-settle": "^4.1.1",
    "p-timeout": "^4.0.0",
    "pg": "^8.2.1",
    "pg-hstore": "^2.x",
    "rimraf": "^3.0.2",
    "semantic-release": "^17.3.0",
    "semantic-release-fail-on-major-bump": "^1.0.0",
    "sinon": "^9.0.2",
    "sinon-chai": "^3.3.0",
    "sqlite3": "^4.2.0",
    "tedious": "8.3.0",
    "typescript": "^4.1.3"
  },
  "peerDependenciesMeta": {
    "pg": {
      "optional": true
    },
    "pg-hstore": {
      "optional": true
    },
    "mysql2": {
      "optional": true
    },
    "mariadb": {
      "optional": true
    },
    "sqlite3": {
      "optional": true
    },
    "tedious": {
      "optional": true
    }
  },
  "keywords": [
    "mysql",
    "mariadb",
    "sqlite",
    "postgresql",
    "postgres",
    "pg",
    "mssql",
    "sql",
    "sqlserver",
    "orm",
    "nodejs",
    "object relational mapper",
    "database",
    "db"
  ],
  "commitlint": {
    "extends": [
      "@commitlint/config-angular"
    ],
    "rules": {
      "type-enum": [
        2,
        "always",
        [
          "build",
          "ci",
          "docs",
          "feat",
          "fix",
          "perf",
          "refactor",
          "revert",
          "style",
          "test",
          "meta"
        ]
      ]
    }
  },
  "lint-staged": {
    "*.js": "eslint"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged",
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
    }
  },
  "release": {
    "plugins": [
      "semantic-release-fail-on-major-bump"
    ],
    "branches": [
      "v6"
    ],
    "verifyConditions": [
      "@semantic-release/npm",
      "@semantic-release/github"
    ]
  },
  "publishConfig": {
    "tag": "latest"
  },
  "scripts": {
    "----------------------------------------- static analysis -----------------------------------------": "",
    "lint": "eslint lib test --quiet",
    "lint-docs": "markdownlint docs",
    "test-typings": "tsc -b types/tsconfig.json && tsc -b types/test/tsconfig.json",
    "----------------------------------------- documentation -------------------------------------------": "",
    "docs": "rimraf esdoc && esdoc -c docs/esdoc-config.js && cp docs/favicon.ico esdoc/favicon.ico && cp docs/ROUTER.txt esdoc/ROUTER && node docs/run-docs-transforms.js && node docs/redirects/create-redirects.js && rimraf esdoc/file esdoc/source.html",
    "----------------------------------------- tests ---------------------------------------------------": "",
    "test-unit": "mocha \"test/unit/**/*.test.js\"",
    "test-integration": "mocha \"test/integration/**/*.test.js\"",
    "teaser": "node test/teaser.js",
    "test": "npm run teaser && npm run test-unit && npm run test-integration",
    "----------------------------------------- coverage ------------------------------------------------": "",
    "cover": "rimraf coverage && npm run teaser && npm run cover-integration && npm run cover-unit && npm run merge-coverage",
    "cover-integration": "cross-env COVERAGE=true nyc --reporter=lcovonly mocha \"test/integration/**/*.test.js\" && node -e \"require('fs').renameSync('coverage/lcov.info', 'coverage/integration.info')\"",
    "cover-unit": "cross-env COVERAGE=true nyc --reporter=lcovonly mocha \"test/unit/**/*.test.js\" && node -e \"require('fs').renameSync('coverage/lcov.info', 'coverage/unit.info')\"",
    "merge-coverage": "lcov-result-merger \"coverage/*.info\" \"coverage/lcov.info\"",
    "----------------------------------------- local test dbs ------------------------------------------": "",
    "start-mariadb": "bash dev/mariadb/10.3/start.sh",
    "start-mysql": "bash dev/mysql/5.7/start.sh",
    "start-postgres": "bash dev/postgres/10/start.sh",
    "start-mssql": "bash dev/mssql/2019/start.sh",
    "stop-mariadb": "bash dev/mariadb/10.3/stop.sh",
    "stop-mysql": "bash dev/mysql/5.7/stop.sh",
    "stop-postgres": "bash dev/postgres/10/stop.sh",
    "stop-mssql": "bash dev/mssql/2019/stop.sh",
    "restart-mariadb": "npm run start-mariadb",
    "restart-mysql": "npm run start-mysql",
    "restart-postgres": "npm run start-postgres",
    "restart-mssql": "npm run start-mssql",
    "----------------------------------------- local tests ---------------------------------------------": "",
    "test-unit-mariadb": "cross-env DIALECT=mariadb npm run test-unit",
    "test-unit-mysql": "cross-env DIALECT=mysql npm run test-unit",
    "test-unit-postgres": "cross-env DIALECT=postgres npm run test-unit",
    "test-unit-postgres-native": "cross-env DIALECT=postgres-native npm run test-unit",
    "test-unit-sqlite": "cross-env DIALECT=sqlite npm run test-unit",
    "test-unit-mssql": "cross-env DIALECT=mssql npm run test-unit",
    "test-integration-mariadb": "cross-env DIALECT=mariadb npm run test-integration",
    "test-integration-mysql": "cross-env DIALECT=mysql npm run test-integration",
    "test-integration-postgres": "cross-env DIALECT=postgres npm run test-integration",
    "test-integration-postgres-native": "cross-env DIALECT=postgres-native npm run test-integration",
    "test-integration-sqlite": "cross-env DIALECT=sqlite npm run test-integration",
    "test-integration-mssql": "cross-env DIALECT=mssql npm run test-integration",
    "test-mariadb": "cross-env DIALECT=mariadb npm test",
    "test-mysql": "cross-env DIALECT=mysql npm test",
    "test-sqlite": "cross-env DIALECT=sqlite npm test",
    "test-postgres": "cross-env DIALECT=postgres npm test",
    "test-postgres-native": "cross-env DIALECT=postgres-native npm test",
    "test-mssql": "cross-env DIALECT=mssql npm test",
    "----------------------------------------- development ---------------------------------------------": "",
    "sscce": "node sscce.js",
    "sscce-mariadb": "cross-env DIALECT=mariadb node sscce.js",
    "sscce-mysql": "cross-env DIALECT=mysql node sscce.js",
    "sscce-postgres": "cross-env DIALECT=postgres node sscce.js",
    "sscce-postgres-native": "cross-env DIALECT=postgres-native node sscce.js",
    "sscce-sqlite": "cross-env DIALECT=sqlite node sscce.js",
    "sscce-mssql": "cross-env DIALECT=mssql node sscce.js",
    "---------------------------------------------------------------------------------------------------": ""
  }
}