react-smooth-collapse
Version:
React component for animating showing or hiding an element.
72 lines (71 loc) • 2.26 kB
JSON
{
"name": "react-smooth-collapse",
"version": "2.1.2",
"description": "React component for animating showing or hiding an element.",
"main": "js/index.js",
"sideEffects": false,
"scripts": {
"prepare": "rimraf js && babel -s true -d js/ src/ --ignore '**/*.test.js' && flow-copy-source -v src js",
"example-build": "cross-env NODE_ENV=development browserify -t babelify -do example/bundle.js example/main.js",
"example-watch": "cross-env NODE_ENV=development watchify -v -t babelify -do example/bundle.js example/main.js",
"example-build-prod": "cross-env NODE_ENV=production browserify -t babelify -do example/bundle.js example/main.js",
"test": "yarn run lint && flow check && jest && tsc",
"lint": "eslint . --max-warnings 0",
"lint-fix": "eslint . --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/StreakYC/react-smooth-collapse.git"
},
"keywords": [
"react",
"react-component",
"animation",
"hide",
"collapse"
],
"files": [
"js",
"index.d.ts"
],
"author": "Chris Cowan <agentme49@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/StreakYC/react-smooth-collapse/issues"
},
"homepage": "https://github.com/StreakYC/react-smooth-collapse#readme",
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/eslint-parser": "^7.16.5",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@types/react": "^18.0.17",
"babel-jest": "^29.0.0",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.7.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-react": "^7.4.0",
"flow-bin": "^0.104.0",
"flow-copy-source": "^2.0.2",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"sinon": "^14.0.0",
"typescript": "^4.8.2",
"watchify": "^4.0.0"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"prop-types": "^15.6.0"
},
"peerDependencies": {
"react": "^16.3.0 || ^17.0.0 || ^18.0.0"
}
}