UNPKG

2.58 kBJSONView Raw
1{
2 "version": "8.1.0",
3 "license": "MIT",
4 "main": "dist/index.js",
5 "typings": "dist/index.d.ts",
6 "description": "React notification made easy",
7 "keywords": [
8 "react",
9 "notification",
10 "toast",
11 "react-component",
12 "react-toastify",
13 "push",
14 "alert"
15 ],
16 "files": [
17 "dist",
18 "scss"
19 ],
20 "sideEffects": true,
21 "scripts": {
22 "start": "cd example && npm run start",
23 "build": "npm run prepare",
24 "test": "tsdx test --passWithNoTests",
25 "test:coverage": "tsdx test --coverage",
26 "lint": "tsdx lint src",
27 "prepare": "tsdx build && npm run style",
28 "sass": "sass scss/main.scss dist/ReactToastify.css",
29 "sass-minimal": "sass scss/minimal.scss dist/ReactToastify.minimal.css",
30 "postsass": "postcss dist/ReactToastify.css --use autoprefixer -m -o dist/ReactToastify.css",
31 "postsass-minimal": "cssnano dist/ReactToastify.minimal.css dist/ReactToastify.minimal.css --no-zindex --no-reduceIdents",
32 "style": "npm run sass && npm run sass-minimal && cssnano dist/ReactToastify.css dist/ReactToastify.min.css --no-zindex --no-reduceIdents && npm run style-injector",
33 "style-injector": "style2js --out-dir dist dist/ReactToastify.min.css"
34 },
35 "peerDependencies": {
36 "react": ">=16",
37 "react-dom": ">=16"
38 },
39 "husky": {
40 "hooks": {
41 "pre-commit": "npm run lint"
42 }
43 },
44 "prettier": {
45 "printWidth": 80,
46 "semi": true,
47 "singleQuote": true
48 },
49 "eslint": {
50 "rules": {
51 "react-hooks/exhaustive-deps": "warn"
52 }
53 },
54 "jest": {
55 "verbose": true,
56 "coveragePathIgnorePatterns": [
57 "/src/index.tsx"
58 ]
59 },
60 "name": "react-toastify",
61 "repository": {
62 "type": "git",
63 "url": "git+https://github.com/fkhadra/react-toastify.git"
64 },
65 "author": "Fadi Khadra <fdkhadra@gmail.com> (https://fkhadra.github.io)",
66 "bugs": {
67 "url": "https://github.com/fkhadra/react-toastify/issues"
68 },
69 "homepage": "https://github.com/fkhadra/react-toastify#readme",
70 "module": "dist/react-toastify.esm.js",
71 "devDependencies": {
72 "@testing-library/react": "^12.0.0",
73 "@types/jest": "^24.9.0",
74 "@types/react": "^17.0.19",
75 "@types/react-dom": "^17.0.9",
76 "coveralls": "^3.0.9",
77 "cssnano": "^4.1.10",
78 "cssnano-cli": "^1.0.5",
79 "husky": "^4.2.0",
80 "postcss": "^7.0.27",
81 "postcss-cli": "^7.1.0",
82 "react": "^17.0.2",
83 "react-dom": "^17.0.2",
84 "sass": "^1.26.0",
85 "style2js": "^1.0.0",
86 "tsdx": "^0.14.1",
87 "tslib": "^2.3.1",
88 "typescript": "^4.3.5"
89 },
90 "dependencies": {
91 "clsx": "^1.1.1"
92 }
93}