Blame view

天文台pc/tianwentai-ui/node_modules/sonner/package.json 1.63 KB
bc518174   王天杨   提交两个项目文件
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
62
63
64
65
66
  {
    "name": "sonner",
    "version": "2.0.3",
    "description": "An opinionated toast component for React.",
    "exports": {
      ".": {
        "import": {
          "types": "./dist/index.d.mts",
          "default": "./dist/index.mjs"
        },
        "require": {
          "types": "./dist/index.d.ts",
          "default": "./dist/index.js"
        },
        "default": "./dist/index.js"
      },
      "./dist/styles.css": "./dist/styles.css"
    },
    "main": "./dist/index.js",
    "types": "./dist/index.d.ts",
    "files": [
      "dist"
    ],
    "scripts": {
      "dev": "bunchee --watch",
      "build": "bunchee && cp src/styles.css dist/styles.css",
      "type-check": "tsc --noEmit",
      "dev:website": "turbo run dev --filter=website...",
      "dev:test": "turbo run dev --filter=test...",
      "format": "prettier --write .",
      "test": "playwright test"
    },
    "keywords": [
      "react",
      "notifications",
      "toast",
      "snackbar",
      "message"
    ],
    "author": "Emil Kowalski <e@emilkowal.ski>",
    "license": "MIT",
    "homepage": "https://sonner.emilkowal.ski/",
    "repository": {
      "type": "git",
      "url": "git+https://github.com/emilkowalski/sonner.git"
    },
    "bugs": {
      "url": "https://github.com/emilkowalski/sonner/issues"
    },
    "devDependencies": {
      "@playwright/test": "^1.49.1",
      "@types/node": "^18.11.13",
      "@types/react": "^18.0.26",
      "bunchee": "^6.3.3",
      "prettier": "^2.8.4",
      "react": "^18.2.0",
      "react-dom": "^18.2.0",
      "turbo": "1.6",
      "typescript": "^4.8.4"
    },
    "peerDependencies": {
      "react": "^18.0.0 || ^19.0.0 || ^19.0.0-rc",
      "react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-rc"
    },
    "packageManager": "pnpm@8.12.1"
  }