@contentstack/react-toastify
Version:
React notification made easy
96 lines (95 loc) • 2.55 kB
JSON
{
"version": "6.1.5",
"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": [
"*.css"
],
"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"
},
"peerDependencies": {
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true
},
"eslint": {
"rules": {
"react-hooks/exhaustive-deps": "off"
}
},
"jest": {
"verbose": true,
"coveragePathIgnorePatterns": [
"/src/index.tsx"
]
},
"name": "@contentstack/react-toastify",
"author": "Contentstack",
"module": "dist/react-toastify.esm.js",
"devDependencies": {
"@babel/core": "^7.0.0-0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"@testing-library/react": "^9.4.0",
"@types/jest": "^24.9.0",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.6",
"@types/react-transition-group": "^4.2.4",
"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": "^16.13.1",
"react-dom": "^16.13.1",
"sass": "^1.26.0",
"tsdx": "^0.12.3",
"tslib": "^1.10.0",
"typescript": "^3.7.5"
},
"dependencies": {
"clsx": "^1.1.1",
"prop-types": "^15.7.2",
"react-transition-group": "^4.4.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/contentstack/venus-react19-forks.git"
}
}