{
  "name": "@opensumi/di",
  "version": "2.1.0",
  "description": "A dependency injection tool for Javascript.",
  "license": "MIT",
  "module": "esm/index.js",
  "main": "lib/index.js",
  "types": "types/index.d.ts",
  "scripts": {
    "prepare": "husky install",
    "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
    "build": "npm run build:lib && npm run build:esm",
    "build:lib": "rm -rf lib && tsc -p tsconfig.lib.json",
    "build:esm": "rm -rf esm && tsc -p tsconfig.esm.json",
    "test": "jest --coverage tests/**",
    "test:watch": "yarn test --watch",
    "ci": "npm run lint && npm run test",
    "prepublishOnly": "npm run build",
    "prerelease": "npm run lint && npm run test && npm run build",
    "release": "commit-and-tag-version --npmPublishHint 'echo Just Push code to remote repo, npm publish will be done by CI.'",
    "release:beta": "npm run release -- --prerelease beta"
  },
  "devDependencies": {
    "@commitlint/cli": "17.2.0",
    "@commitlint/config-conventional": "17.2.0",
    "@types/jest": "29.2.2",
    "@types/node": "18.11.9",
    "@typescript-eslint/eslint-plugin": "5.42.1",
    "@typescript-eslint/parser": "5.42.1",
    "commit-and-tag-version": "^11.2.3",
    "commitlint": "17.2.0",
    "eslint": "8.27.0",
    "eslint-config-prettier": "8.5.0",
    "husky": "8.0.1",
    "jest": "29.2.2",
    "lint-staged": "13.0.3",
    "prettier": "2.7.1",
    "reflect-metadata": "^0.1.13",
    "ts-jest": "29.0.3",
    "typescript": "4.8.4"
  },
  "repository": {
    "type": "git",
    "url": "git@github.com:opensumi/di.git"
  },
  "engines": {
    "node": ">=8.0.0"
  },
  "lint-staged": {
    "*.ts": [
      "eslint --fix",
      "prettier --write"
    ]
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  },
  "keywords": [
    "di",
    "injector"
  ],
  "files": [
    "esm",
    "types",
    "lib"
  ],
  "standard-version": {
    "bumpFiles": [
      {
        "filename": "./src/constants.ts",
        "updater": "./scripts/versionUpdater.js"
      },
      {
        "filename": "package.json",
        "type": "json"
      }
    ]
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org"
  }
}
