UNPKG

react-collapse

Version:

Component-wrapper for collapse animation for elements with variable (and dynamic) height

100 lines (99 loc) 3.25 kB
{ "name": "react-collapse", "version": "5.1.1", "description": "Component-wrapper for collapse animation for elements with variable (and dynamic) height", "main": "lib/index.js", "config": { "component": "ReactCollapse", "externals": { "react": "React", "react-dom": "ReactDOM" }, "include": [ "https://unpkg.com/react/umd/react.production.min.js", "https://unpkg.com/react-dom/umd/react-dom.production.min.js" ] }, "scripts": { "build": "yarn lib && yarn dist", "start": "NODE_ENV=development webpack serve --config ./webpack/dev.config.js", "predist": "rm -rf ./build", "dist": "NODE_ENV=production webpack-cli --config ./webpack/dist.config.js && NODE_ENV=production webpack-cli --config ./webpack/min.config.js", "preghPages": "yarn pub", "ghPages": "gh-pages --dist ./pub --repo git@github.com:nkbt/react-collapse.git --user nik@butenko.me --branch gh-pages --message 'Publish examples'", "prelib": "rm -rf ./lib", "lib": "NODE_ENV=production babel src --out-dir lib", "lint": "eslint .", "prepub": "rm -rf ./pub", "pub": "NODE_ENV=production webpack-cli --config ./webpack/pub.config.js", "test": "node test/Collapse-test.js", "prepublishOnly": "yarn build", "postversion": "git push --follow-tags", "nuke": "rm -rf node_modules yarn.lock", "postnuke": "yarn install", "deps": "! depcheck | grep --invert-match 'No depcheck issue'", "offline-update": "yarn cache clean && yarn install --force", "offline": "yarn install --pure-lockfile --offline" }, "repository": { "type": "git", "url": "https://github.com/nkbt/react-collapse.git" }, "keywords": [ "component", "react-component", "react", "collapse", "slide-down", "slide-up" ], "author": "Nik Butenko <nik@butenko.me>", "license": "MIT", "bugs": { "url": "https://github.com/nkbt/react-collapse/issues" }, "homepage": "https://github.com/nkbt/react-collapse", "peerDependencies": { "react": ">=16.3.0" }, "devDependencies": { "@babel/cli": "^7.12.1", "@babel/core": "^7.12.3", "@babel/plugin-proposal-class-properties": "^7.12.1", "@babel/plugin-proposal-object-rest-spread": "^7.12.1", "@babel/preset-env": "^7.12.1", "@babel/preset-react": "^7.12.5", "@babel/register": "^7.12.1", "babel-eslint": "^10.1.0", "babel-loader": "^8.2.1", "babel-plugin-transform-react-remove-prop-types": "^0.4.24", "css-loader": "^5.0.1", "depcheck": "^1.3.1", "eslint": "^7.13.0", "eslint-config-airbnb": "^18.2.1", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-react": "^7.21.5", "eslint-plugin-react-hooks": "^4.2.0", "gh-pages": "^3.1.0", "html-webpack-plugin": "^4.5.0", "html-webpack-tags-plugin": "^2.0.17", "mini-css-extract-plugin": "^1.3.1", "prop-types": "^15.7.2", "react": "^17.0.1", "react-dom": "^17.0.1", "style-loader": "^2.0.0", "tape": "^5.0.1", "webpack": "^5.5.1", "webpack-cli": "^4.2.0", "webpack-dev-server": "^3.11.0" }, "files": [ "build", "lib", "src", "LICENSE", "package.json", "README.md" ] }