forked from fkhadra/react-toastify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.52 KB
/
package.json
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"version": "8.1.0",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"description": "React notification made easy",
"keywords": [
"react",
"notification",
"toast",
"react-component",
"react-toastify",
"push",
"alert"
],
"files": [
"dist",
"scss"
],
"sideEffects": true,
"scripts": {
"start": "cd example && npm run start",
"build": "npm run prepare",
"test": "tsdx test --passWithNoTests",
"test:coverage": "tsdx test --coverage",
"lint": "tsdx lint src",
"prepare": "tsdx build && npm run style",
"sass": "sass scss/main.scss dist/ReactToastify.css",
"sass-minimal": "sass scss/minimal.scss dist/ReactToastify.minimal.css",
"postsass": "postcss dist/ReactToastify.css --use autoprefixer -m -o dist/ReactToastify.css",
"postsass-minimal": "cssnano dist/ReactToastify.minimal.css dist/ReactToastify.minimal.css --no-zindex --no-reduceIdents",
"style": "npm run sass && npm run sass-minimal && cssnano dist/ReactToastify.css dist/ReactToastify.min.css --no-zindex --no-reduceIdents && npm run style-injector",
"style-injector": "style2js --out-dir dist dist/ReactToastify.min.css"
},
"peerDependencies": {
"react": ">=16",
"react-dom": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true
},
"eslint": {
"rules": {
"react-hooks/exhaustive-deps": "warn"
}
},
"jest": {
"verbose": true,
"coveragePathIgnorePatterns": [
"/src/index.tsx"
]
},
"name": "react-toastify",
"repository": {
"type": "git",
"url": "git+https://github.com/fkhadra/react-toastify.git"
},
"author": "Fadi Khadra <[email protected]> (https://fkhadra.github.io)",
"bugs": {
"url": "https://github.com/fkhadra/react-toastify/issues"
},
"homepage": "https://github.com/fkhadra/react-toastify#readme",
"module": "dist/react-toastify.esm.js",
"devDependencies": {
"@testing-library/react": "^12.0.0",
"@types/jest": "^24.9.0",
"@types/react": "^17.0.19",
"@types/react-dom": "^17.0.9",
"coveralls": "^3.0.9",
"cssnano": "^4.1.10",
"cssnano-cli": "^1.0.5",
"husky": "^4.2.0",
"postcss": "^7.0.27",
"postcss-cli": "^7.1.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"sass": "^1.26.0",
"style2js": "^1.0.0",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typescript": "^4.3.5"
},
"dependencies": {
"clsx": "^1.1.1"
}
}