react-toastify
Version:
React notification made easy
115 lines (114 loc) • 3.62 kB
JSON
{
"name": "react-toastify",
"version": "4.5.2",
"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": "cross-env NODE_ENV=test jest",
"test:coverage": "cross-env NODE_ENV=test 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=src/__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 dist/ReactToastify.css --use autoprefixer -m -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.6",
"prop-types": "^15.6.0",
"react-transition-group": "^2.4.0"
},
"jest": {
"verbose": true,
"setupFiles": [
"raf/polyfill",
"<rootDir>/setupTests.js"
]
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-transform-modules-commonjs": "^7.0.0",
"@babel/plugin-transform-object-assign": "^7.0.0",
"@babel/plugin-transform-spread": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@types/react": "^16.4.12",
"@types/react-transition-group": "^2.0.13",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.4.2",
"babel-loader": "^8.0.0",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"css-loader": "^1.0.0",
"cssnano": "^4.1.0",
"cssnano-cli": "^1.0.5",
"enzyme": "^3.5.0",
"enzyme-adapter-react-16": "^1.3.0",
"enzyme-to-json": "^3.3.4",
"eslint": "^5.4.0",
"eslint-config-react-app": "^2.1.0",
"eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.11.1",
"html-webpack-plugin": "^3.2.0",
"jest": "^23.5.0",
"jest-cli": "^23.5.0",
"node-sass": "^4.9.3",
"postcss": "^7.0.2",
"postcss-cli": "^6.0.0",
"prettier": "^1.14.2",
"raf": "^3.4.0",
"react": "^16.4.2",
"react-dom": "^16.4.2",
"react-test-renderer": "^16.4.2",
"regenerator-runtime": "^0.12.1",
"rimraf": "^2.6.2",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.0",
"webpack": "^4.17.1",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.7"
},
"peerDependencies": {
"react": ">=15.0.0",
"react-dom": ">=15.0.0"
}
}