1 | {
|
2 | "version": "11.0.3",
|
3 | "license": "MIT",
|
4 | "description": "React notification made easy",
|
5 | "keywords": [
|
6 | "react",
|
7 | "notification",
|
8 | "toast",
|
9 | "react-component",
|
10 | "react-toastify",
|
11 | "push",
|
12 | "alert",
|
13 | "snackbar",
|
14 | "message"
|
15 | ],
|
16 | "files": [
|
17 | "dist",
|
18 | "addons"
|
19 | ],
|
20 | "scripts": {
|
21 | "prepare": "lefthook install",
|
22 | "setup": "pnpm link .",
|
23 | "start": "cd playground && pnpm dev",
|
24 | "test": "cypress open --component",
|
25 | "test:run": "cypress run --component -b chrome",
|
26 | "prettier": "prettier --write src",
|
27 | "build": "tsup && cp src/style.css dist/ReactToastify.css && rm dist/unstyled.css*"
|
28 | },
|
29 | "peerDependencies": {
|
30 | "react": "^18 || ^19",
|
31 | "react-dom": "^18 || ^19"
|
32 | },
|
33 | "prettier": {
|
34 | "printWidth": 120,
|
35 | "semi": true,
|
36 | "singleQuote": true,
|
37 | "trailingComma": "none",
|
38 | "arrowParens": "avoid"
|
39 | },
|
40 | "name": "react-toastify",
|
41 | "repository": {
|
42 | "type": "git",
|
43 | "url": "git+https://github.com/fkhadra/react-toastify.git"
|
44 | },
|
45 | "author": "Fadi Khadra <fdkhadra@gmail.com> (https://fkhadra.github.io)",
|
46 | "bugs": {
|
47 | "url": "https://github.com/fkhadra/react-toastify/issues"
|
48 | },
|
49 | "homepage": "https://github.com/fkhadra/react-toastify#readme",
|
50 | "devDependencies": {
|
51 | "@4tw/cypress-drag-drop": "^2.2.5",
|
52 | "@cypress/code-coverage": "^3.13.9",
|
53 | "@istanbuljs/nyc-config-typescript": "^1.0.2",
|
54 | "@testing-library/cypress": "^10.0.2",
|
55 | "@types/node": "^22.10.2",
|
56 | "@types/react": "^19.0.1",
|
57 | "@types/react-dom": "^19.0.2",
|
58 | "@vitejs/plugin-react": "^4.3.4",
|
59 | "coveralls": "^3.1.1",
|
60 | "cypress": "^13.16.1",
|
61 | "lefthook": "^1.9.2",
|
62 | "lint-staged": "^15.2.11",
|
63 | "postcss": "^8.4.49",
|
64 | "prettier": "3.4.2",
|
65 | "react": "^19.0.0",
|
66 | "react-dom": "^19.0.0",
|
67 | "tsup": "^8.3.5",
|
68 | "typescript": "^5.7.2",
|
69 | "vite": "^6.0.3",
|
70 | "vite-plugin-istanbul": "^6.0.2"
|
71 | },
|
72 | "dependencies": {
|
73 | "clsx": "^2.1.1"
|
74 | },
|
75 | "main": "dist/index.js",
|
76 | "typings": "dist/index.d.ts",
|
77 | "module": "dist/index.mjs",
|
78 | "source": "src/index.ts",
|
79 | "exports": {
|
80 | ".": {
|
81 | "types": "./dist/index.d.ts",
|
82 | "import": "./dist/index.mjs",
|
83 | "require": "./dist/index.js"
|
84 | },
|
85 | "./unstyled": {
|
86 | "types": "./dist/unstyled.d.ts",
|
87 | "import": "./dist/unstyled.mjs",
|
88 | "require": "./dist/unstyled.js"
|
89 | },
|
90 | "./dist/ReactToastify.css": "./dist/ReactToastify.css",
|
91 | "./ReactToastify.css": "./dist/ReactToastify.css",
|
92 | "./package.json": "./package.json",
|
93 | "./addons/use-notification-center": {
|
94 | "types": "./addons/use-notification-center/index.d.ts",
|
95 | "import": "./addons/use-notification-center/index.mjs",
|
96 | "require": "./addons/use-notification-center/index.js"
|
97 | },
|
98 | "./notification-center": {
|
99 | "types": "./addons/use-notification-center/index.d.ts",
|
100 | "import": "./addons/use-notification-center/index.mjs",
|
101 | "require": "./addons/use-notification-center/index.js"
|
102 | }
|
103 | },
|
104 | "lint-staged": {
|
105 | "*.{js,jsx,ts,tsx,md,html,css}": "prettier --write"
|
106 | }
|
107 | }
|