UNPKG

@bitjourney/react-toastr

Version:
111 lines (110 loc) 2.91 kB
{ "name": "@bitjourney/react-toastr", "version": "3.0.1", "description": "React.js toastr component", "license": "MIT", "author": { "name": "tomchentw", "email": "developer@tomchentw.com", "url": "https://github.com/tomchentw" }, "repository": { "type": "git", "url": "https://github.com/tomchentw/react-toastr" }, "bugs": { "url": "https://github.com/tomchentw/react-toastr/issues" }, "homepage": "https://tomchentw.github.io/react-toastr/", "main": "lib/index.js", "files": ["lib/", "src/", "CHANGELOG.md"], "keywords": [ "React.js", "React", "react-component", "toastr", "alert", "toast", "message", "popup", "jQuery" ], "scripts": { "precommit": "lint-staged", "styleguide": "styleguidist server", "styleguide:build": "styleguidist build", "test": "react-scripts test", "test:once": "cross-env CI=true npm test", "prebuild:lib": "rimraf lib", "build:lib": "cross-env NODE_ENV=production babel src --out-dir lib", "precommit:lib": "npm run build:lib", "commit:lib": "git add -A && git commit -m 'chore(lib): compile from src with `babel`'", "precommit:docs": "npm run styleguide:build", "commit:docs": "git add -A && git commit -m 'docs: compile from src with `styleguidist`'", "prerelease": "npm run commit:lib && npm run commit:docs", "release": "standard-version" }, "lint-staged": { "*.{js,jsx,json,css}": ["prettier --write", "git add"] }, "babel": { "plugins": [ "lodash", "transform-class-properties", "transform-object-rest-spread", "transform-runtime" ], "presets": [ [ "env", { "targets": { "ie": 9 } } ], "react" ] }, "prettier": { "semi": false, "singleQuote": false, "trailingComma": "es5" }, "dependencies": { "babel-runtime": "^6.26.0", "classnames": "^2.2.5", "dom-helpers": "^3.2.1", "lodash": "^4.17.4" }, "peerDependencies": { "react": "^15.0.0 || ^16.0.0", "react-dom": "^15.0.0 || ^16.0.0" }, "devDependencies": { "animate.css": "^3.5.2", "babel-cli": "^6.26.0", "babel-plugin-lodash": "^3.2.11", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.6.0", "babel-preset-react": "^6.24.1", "cross-env": "^5.0.5", "husky": "^0.14.3", "jquery": "^3.2.1", "lint-staged": "^4.1.3", "prettier": "^1.6.1", "prismjs": "^1.6.0", "react": "^15.0.0", "react-dom": "^15.0.0", "react-scripts": "^1.0.11", "react-styleguidist": "^6.0.24", "react-test-renderer": "^15.0.0", "rimraf": "^2.6.1", "standard-version": "^4.2.0", "toastr": "^2.1.2" } }