UNPKG

react-collapse

Version:

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

95 lines (94 loc) 3.23 kB
{ "name": "react-collapse", "version": "1.4.0", "description": "Component-wrapper for collapse animation with react-motion for elements with variable (and dynamic) height", "main": "lib/index.js", "scripts": { "pregh-pages": "git fetch origin", "gh-pages": "git checkout gh-pages && git rebase origin/master --force-rebase && npm run build && git add . && git commit --amend --no-edit && git push --force && git checkout master", "build": "parallelshell -w \"npm run build:lib -s\" \"npm run build:example -s\" \"npm run build:bower -s\"", "prebuild": "rimraf lib example build", "build:lib": "babel src --out-dir lib --source-maps --ignore src/example", "build:example": "webpack --config webpack.config.js", "build:bower": "webpack --config webpack.config.bower.js", "prepublish": "npm run build -s", "start": "webpack-dev-server --config webpack.config.development.js", "test": "babel-node node_modules/tape/bin/tape test/**/*-test.js", "test:dev": "babel-node node_modules/tape/bin/tape test/**/*-test.js | tap-nyan", "test:cov": "babel-node node_modules/isparta/bin/isparta cover --report text --report html --dir reports/coverage --include \"**/!(*-test).js\" test", "test:e2e": "node scripts/test-e2e.js", "lint": "eslint --cache .", "coveralls": "minicat reports/coverage/lcov.info | coveralls", "precommit": "npm run lint -s", "prepush": "npm run test -s && npm run test:e2e -s", "postversion": "git push --follow-tags", "bower:create-repo": "./scripts/create-repo.sh", "bower:publish": "./scripts/publish.sh", "bower:register": "./scripts/register.sh" }, "engines": { "node": ">=0.10" }, "os": [ "darwin", "linux", "win32" ], "repository": { "type": "git", "url": "https://github.com/nkbt/react-collapse.git" }, "keywords": [ "component", "react-component", "react-motion", "react", "collapse", "slide-down", "slide-up" ], "author": "Nik Butenko <nik@butenko.me> (http://butenko.me/)", "license": "MIT", "bugs": { "url": "https://github.com/nkbt/react-collapse/issues" }, "homepage": "https://github.com/nkbt/react-collapse", "peerDependencies": { "react": "^0.14", "react-motion": "^0.3" }, "dependencies": { "react-addons-pure-render-mixin": "^0.14.0", "react-height": "^1.1.0" }, "devDependencies": { "babel": "^5.8.23", "babel-core": "^5.8.25", "babel-eslint": "^4.1.3", "babel-loader": "^5.3.2", "coveralls": "^2.11.4", "eslint": "^1.7.3", "eslint-loader": "^1.1.0", "eslint-plugin-react": "^3.6.3", "glob": "^5.0.15", "html-webpack-plugin": "^1.6.2", "husky": "^0.10.1", "isparta": "^3.1.0", "json-loader": "^0.5.3", "minicat": "^1.0.0", "nightwatch": "^0.8.6", "node-libs-browser": "^0.5.3", "parallelshell": "^2.0.0", "react": "^0.14.0", "react-dom": "^0.14.0", "react-hot-loader": "^1.3.0", "react-motion": "^0.3.1", "rimraf": "^2.4.3", "selenium-standalone": "^4.7.1", "tap-nyan": "0.0.2", "tap-xunit": "^1.2.1", "tape": "^4.2.2", "webpack": "^1.12.2", "webpack-dev-server": "^1.12.1" } }