ohctechv3/.svn/pristine/85/851e2d46bd45c2ab8d55815b691529e40727ce36.svn-base

142 lines
5.3 KiB
Plaintext
Raw Normal View History

2024-10-28 15:03:36 +05:30
{
"version": "10.0.4",
"license": "MIT",
"typings": "dist/index.d.ts",
"description": "React notification made easy",
"keywords": [
"react",
"notification",
"toast",
"react-component",
"react-toastify",
"push",
"alert"
],
"files": [
"dist",
"addons",
"scss"
],
"sideEffects": true,
"scripts": {
"start": "cd playground && yarn dev",
"test": "cypress open --component",
"test:run": "cypress run --component -b chrome",
"clean": "rimraf dist && rimraf addons",
"lint": "eslint \"src/**/*.{ts,tsx}\"",
"prettier": "prettier --write src",
"prettier-scss": "prettier --write scss",
"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",
"build": "npm run clean && npm run build:core && npm run pack-and-extract && npm run build:addons && npm run style && husky install",
"build:core": "microbundle --jsx React.createElement --jsxFragment React.Fragment --tsconfig tsconfig.build.json",
"build:addons": "node build-addons.mjs",
"postbuild": "./prepend-use-client.sh",
"setup": "npm run clean && npm run build && npm run pack-and-extract",
"setup:core": "npm run clean && npm run build:core && npm run pack-and-extract",
"pack-and-extract": "yarn pack -f react-toastify.tgz && npm run rm-pkg && npm run extract-pkg",
"rm-pkg": "rimraf node_modules/react-toastify && mkdir -p node_modules/react-toastify",
"extract-pkg": "tar xzvf react-toastify.tgz -C node_modules/react-toastify --strip-components 1 && rimraf react-toastify.tgz"
},
"peerDependencies": {
"react": ">=16",
"react-dom": ">=16"
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid"
},
"name": "react-toastify",
"repository": {
"type": "git",
"url": "git+https://github.com/fkhadra/react-toastify.git"
},
"author": "Fadi Khadra <fdkhadra@gmail.com> (https://fkhadra.github.io)",
"bugs": {
"url": "https://github.com/fkhadra/react-toastify/issues"
},
"homepage": "https://github.com/fkhadra/react-toastify#readme",
"devDependencies": {
"@4tw/cypress-drag-drop": "^2.2.4",
"@cypress/code-coverage": "^3.12.18",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@testing-library/cypress": "^10.0.1",
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"@vitejs/plugin-react": "^4.2.1",
"coveralls": "^3.0.9",
"cssnano": "^6.0.3",
"cssnano-cli": "^1.0.5",
"cypress": "^13.6.2",
"eslint": "^8.56.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.4.0",
"husky": "^8.0.3",
"microbundle": "^0.15.1",
"postcss": "^8.4.33",
"postcss-cli": "^11.0.0",
"prettier": "3.2.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rimraf": "^5.0.0",
"sass": "^1.69.7",
"style2js": "^1.0.3",
"ts-jest": "^29.1.0",
"tslib": "^2.5.0",
"typescript": "^5.3.3",
"vite": "^5.0.11",
"vite-plugin-istanbul": "^5.0.0"
},
"dependencies": {
"clsx": "^2.1.0"
},
"main": "dist/react-toastify.js",
"module": "dist/react-toastify.esm.mjs",
"umd:main": "dist/react-toastify.umd.js",
"unpkg": "dist/react-toastify.umd.js",
"source": "src/index.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/react-toastify.js",
"import": "./dist/react-toastify.esm.mjs",
"umd": "./dist/react-toastify.umd.js"
},
"./dist/ReactToastify.min.css": "./dist/ReactToastify.min.css",
"./dist/ReactToastify.css": "./dist/ReactToastify.css",
"./dist/ReactToastify.css.map": "./dist/ReactToastify.css.map",
"./dist/ReactToastify.minimal.css": "./dist/ReactToastify.minimal.css",
"./ReactToastify.min.css": "./dist/ReactToastify.min.css",
"./ReactToastify.css": "./dist/ReactToastify.css",
"./ReactToastify.css.map": "./dist/ReactToastify.css.map",
"./ReactToastify.minimal.css": "./dist/ReactToastify.minimal.css",
"./dist/inject-style": {
"types": "./dist/inject-style.d.ts",
"require": "./dist/inject-style.js",
"import": "./dist/inject-style.esm.mjs"
},
"./inject-style": {
"types": "./dist/inject-style.d.ts",
"require": "./dist/inject-style.js",
"import": "./dist/inject-style.esm.mjs"
},
"./package.json": "./package.json",
"./scss/": "./scss/",
"./addons/use-notification-center": {
"types": "./addons/use-notification-center/index.d.ts",
"require": "./addons/use-notification-center/index.js",
"import": "./addons/use-notification-center/index.esm.mjs"
}
}
}