react-expand-animated
Version:
The expand component that animate the height of child component when toggling
75 lines (74 loc) • 2.2 kB
JSON
{
"name": "react-expand-animated",
"version": "1.0.2",
"description": "The expand component that animate the height of child component when toggling",
"main": "build/Expand.js",
"repository": "https://github.com/sonybinhle/react-expand-animated.git",
"author": "Binh Le <sonybinhle@gmail.com>",
"license": "MIT",
"keywords": [
"react",
"collapse",
"expandable",
"expand",
"animation",
"fade",
"height"
],
"scripts": {
"dev": "webpack-dev-server --config example/webpack.js",
"build": "npm run clean && babel src -d build --ignore test.js --source-maps inline",
"clean": "rm -rf build",
"test": "NODE_ENV=test jest",
"test:u": "NODE_ENV=test jest --u",
"test:cov": "rm -rf ./coverage && npm run test -- --coverage",
"prepush": "npm run lint && npm run test:cov",
"prepublishOnly": "npm run build && npm run test:cov",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"lint": "eslint 'src/**'",
"lint:fix": "eslint --fix 'src/**'"
},
"peerDependencies": {
"react": ">=16.x"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"coveralls": "^3.0.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.4",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^23.7.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.18.3",
"html-webpack-plugin": "^3.0.6",
"husky": "^4.2.3",
"jest": "^25.1.0",
"prop-types": "^15.6.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"styled-components": "^5.0.1",
"webpack": "^4.41.6",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
},
"jest": {
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"setupFiles": [
"<rootDir>/tools/jest.setup.js"
]
}
}