aboutsummaryrefslogtreecommitdiffstats
path: root/src/packages/react/package.json
blob: 7be75721ce1bc63de896667c7858f4a5f1a09e5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
  "name": "@locusts/react",
  "version": "0.0.0",
  "description": "A React component that introduces locusts into your website.",
  "author": "Matt Strapp <matt+locusts@mattstrapp.net> (https://mattstrapp.net)",
  "bugs": "https://github.com/locusts-r-us/locusts/issues",
  "license": "0BSD",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/locusts-r-us/locusts.git",
    "directory": "packages/vue"
  },
  "files": [
    "dist"
  ],
  "main": "./dist/locusts.umd.cjs",
  "module": "./dist/locusts.js",
  "type": "module",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/locusts.js",
      "require": "./dist/locusts.umd.cjs"
    }
  },
  "keywords": [
    "react",
    "component",
    "why",
    "joke"
  ],
  "types": "./dist/index.d.ts",
  "scripts": {
    "dev": "vite",
    "build": "vite build && tsc --declaration --emitDeclarationOnly && publint",
    "format": "prettier --write . && eslint --fix .",
    "lint": "prettier --check . && eslint .",
    "preview": "vite preview"
  },
  "peerDependencies": {
    "react": ">=18.0.0"
  },
  "devDependencies": {
    "@repo/eslint-config": "workspace:*",
    "@repo/typescript-config": "workspace:*",
    "@types/react": "^18.3.12",
    "@types/react-dom": "^18.3.1",
    "@vitejs/plugin-react-swc": "^3.5.0",
    "eslint-plugin-react": "^7.37.2",
    "eslint-plugin-react-hooks": "^5.0.0",
    "eslint-plugin-react-refresh": "^0.4.14",
    "globals": "^15.12.0",
    "publint": "^0.2.0",
    "typescript": "^5.6.2",
    "typescript-eslint": "^8.13.0",
    "vite": "^5.4.10"
  },
  "publishConfig": {
    "access": "public"
  }
}