{
  "name": "create-slots",
  "version": "0.6.1",
  "description": "Bring slots to React components",
  "repository": {
    "type": "git",
    "url": "https://github.com/nihgwu/create-slots.git"
  },
  "author": "Neo Nie <nihgwu@live.com>",
  "license": "MIT",
  "keywords": [
    "react",
    "component",
    "slots",
    "composition"
  ],
  "type": "module",
  "main": "dist/index.cjs",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "require": "./dist/index.cjs",
      "types": "./dist/index.d.ts"
    },
    "./package.json": "./package.json",
    "./list": {
      "import": "./dist/list/index.js",
      "require": "./dist/list/index.cjs",
      "types": "./dist/list/index.d.ts"
    }
  },
  "sideEffects": false,
  "files": [
    "dist",
    "list"
  ],
  "tsup": {
    "entry": [
      "src/index.tsx",
      "src/list/index.tsx"
    ],
    "format": [
      "esm",
      "cjs"
    ],
    "splitting": false,
    "sourcemap": true,
    "clean": true,
    "dts": true
  },
  "scripts": {
    "start": "yarn --cwd example start",
    "test": "jest",
    "test:ci": "jest --coverage",
    "typecheck": "tsc --noEmit",
    "build": "tsup --minify",
    "watch": "tsup --watch",
    "clean": "rimraf dist",
    "lint": "eslint 'src/**/*.{ts,tsx}'",
    "prettier": "prettier --write '**/src/**/*.{ts,tsx}'"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "packages/**/*.{js,ts,tsx}": [
      "prettier --write",
      "eslint --fix"
    ],
    "website/**/*.{js,ts,tsx}": [
      "prettier --write",
      "yarn --cwd website eslint --fix"
    ],
    "*.{md,json,yml}": [
      "prettier --write"
    ]
  },
  "devDependencies": {
    "@testing-library/react": "^13.3.0",
    "@types/jest": "^28.1.1",
    "@types/react": "^18.0.10",
    "@types/react-test-renderer": "^18.0.0",
    "eslint": "^8.19.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-config-react-app": "^7.0.1",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-jsx-a11y": "^6.6.0",
    "eslint-plugin-prettier": "^4.2.1",
    "eslint-plugin-react": "^7.30.1",
    "eslint-plugin-react-hooks": "^4.6.0",
    "husky": "^8.0.1",
    "jest": "^28.1.0",
    "jest-environment-jsdom": "^28.1.0",
    "lint-staged": "^13.0.3",
    "prettier": "^2.7.1",
    "react": "^18.1.0",
    "react-dom": "^18.1.0",
    "react-test-renderer": "^18.1.0",
    "ts-jest": "^28.0.4",
    "tsup": "^6.1.3",
    "typescript": "^4.7.3"
  },
  "peerDependencies": {
    "react": "^16.0.0 || ^17 || ^18"
  },
  "jest": {
    "preset": "ts-jest",
    "testEnvironment": "jsdom",
    "collectCoverageFrom": [
      "src/**/*.{ts,tsx}",
      "!src/__fixtures__/**"
    ],
    "coverageThreshold": {
      "global": {
        "statements": 100,
        "branches": 100,
        "functions": 100,
        "lines": 100
      }
    }
  }
}
