UNPKG

react-toastify

Version:
109 lines (108 loc) 3.33 kB
{ "name": "react-toastify", "version": "4.0.0", "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", "jest-glamor-react": "^3.2.2", "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" } }