forked from fkhadra/react-toastify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.22 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "react-toastify",
"version": "4.0.1",
"description": "React notification made easy",
"keywords": [
"react",
"notification",
"toast",
"react-component",
"react-toastify",
"push",
"alert"
],
"main": "lib/index.js",
"typings": "./index.d.ts",
"files": [
"lib",
"dist",
"src",
"scss",
"index.d.ts"
],
"scripts": {
"start": "npm run sass && webpack-dev-server --config ./webpack.config.dev.js",
"test": "jest",
"test:coverage": "jest --coverage && cat ./coverage/lcov.info | coveralls",
"lint": "eslint src/",
"lint:fix": "eslint --fix src/",
"prettier-all": "prettier --single-quote --write 'src/**/*.js'",
"prebuild": "npm run test",
"build": "npm run build:es && npm run build:umd && npm run style",
"build:es": "npm run clean:es && cross-env NODE_ENV=production babel --ignore=__tests__ src -d lib",
"build:umd": "npm run clean:umd && cross-env NODE_ENV=production webpack",
"clean:es": "rimraf lib/*",
"clean:umd": "rimraf dist/*",
"sass": "node-sass scss/main.scss dist/ReactToastify.css",
"postsass": "postcss --use autoprefixer -m -b 'last 2 versions' dist/ReactToastify.css -o dist/ReactToastify.css",
"style": "npm run sass && cssnano dist/ReactToastify.css dist/ReactToastify.min.css --no-zindex --no-reduceIdents"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fkhadra/react-toastify.git"
},
"author": "Fadi Khadra <fdkhadra@gmail.com> (https://fkhadra.github.io)",
"license": "MIT",
"bugs": {
"url": "https://github.com/fkhadra/react-toastify/issues"
},
"homepage": "https://github.com/fkhadra/react-toastify#readme",
"dependencies": {
"classnames": "^2.2.5",
"prop-types": "^15.6.0",
"react-transition-group": "^2.2.1"
},
"jest": {
"verbose": true,
"setupFiles": [
"raf/polyfill",
"<rootDir>/setupTests.js"
]
},
"devDependencies": {
"@types/react": "^16.0.18",
"@types/react-transition-group": "^2.0.6",
"babel-cli": "^6.26.0",
"babel-eslint": "^8.0.1",
"babel-jest": "^21.2.0",
"babel-loader": "^7.1.2",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react-app": "^3.0.3",
"coveralls": "^3.0.0",
"cross-env": "^5.1.4",
"css-loader": "^0.28.11",
"cssnano": "^3.10.0",
"cssnano-cli": "^1.0.5",
"enzyme": "^3.0.0",
"enzyme-adapter-react-16": "^1.0.0",
"enzyme-to-json": "^3.2.2",
"eslint": "^4.7.2",
"eslint-config-react-app": "^2.0.1",
"eslint-plugin-flowtype": "^2.37.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.4.0",
"html-webpack-plugin": "^3.1.0",
"jest": "^21.2.1",
"jest-cli": "^21.2.1",
"node-sass": "^4.8.3",
"postcss": "^6.0.21",
"postcss-cli": "^5.0.0",
"prettier": "^1.9.2",
"raf": "^3.3.2",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-test-renderer": "^16.0.0",
"rimraf": "^2.6.2",
"style-loader": "^0.20.3",
"webpack": "^4.2.0",
"webpack-cli": "^2.0.13",
"webpack-dev-server": "^3.1.1"
},
"peerDependencies": {
"react": ">=15.0.0",
"react-dom": ">=15.0.0"
}
}