mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2025-10-16 11:55:39 +00:00
* init react-bootstrap-table2-paginator * add react-bootstrap-table2-paginator as dependency * no container * handle for wrapping pagination component * add style for paginator addon * add story for pagination * implement pagination list * constants maintain in core package * implement sizePerPage dropdown * fix unalign for sizePerPage dropdown and pagination list * allow to return array from render(react@16 new feature) * implement pagination hooks * add story for pagination hooks * fixed dependencies version and upgrade enzyme * Shallow renderer no longer calls componentDidMount because DOM refs are not available * classNames -> className for TextEditor * add tests for pagination * fix react-bootstrap-table can't be resolved in other modules * implement custom page button title * add test for page button title * fix bug when sizePerPageList is an object array * add story for custom pagination * remove necessary component extends * move pagination options to react-bootstrap-table2-paginator * refine pagination stories * implement hideSizePerPage * implement hidePageListOnlyOnePage * fix multiple same key warning * remove help * support start from react@^16
87 lines
2.4 KiB
JSON
87 lines
2.4 KiB
JSON
{
|
|
"name": "react-bootstrap-table2",
|
|
"version": "0.0.1",
|
|
"description": "Rebuilt for react-bootstrap-table",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"postinstall": "lerna bootstrap",
|
|
"start": "node -r babel-register ./node_modules/.bin/webpack-dev-server --config webpack.config.babel.js",
|
|
"lint": "eslint ./packages --ext .js --ext .jsx --ignore-path .gitignore",
|
|
"pretest": "yarn lint --cache",
|
|
"test": "jest",
|
|
"test:coverage": "jest --coverage",
|
|
"test:watch": "jest --watch",
|
|
"storybook": "cd ./packages/react-bootstrap-table2-example && yarn storybook"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/react-bootstrap-table/react-bootstrap-table2.git"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/react-bootstrap-table/react-bootstrap-table2/issues"
|
|
},
|
|
"homepage": "https://github.com/react-bootstrap-table/react-bootstrap-table2#readme",
|
|
"devDependencies": {
|
|
"babel-core": "6.25.0",
|
|
"babel-eslint": "7.2.3",
|
|
"babel-jest": "20.0.3",
|
|
"babel-loader": "7.1.1",
|
|
"babel-preset-es2015": "6.24.1",
|
|
"babel-preset-react": "6.24.1",
|
|
"babel-preset-stage-0": "6.24.1",
|
|
"babel-register": "6.24.1",
|
|
"css-loader": "0.28.1",
|
|
"enzyme": "3.1.1",
|
|
"enzyme-adapter-react-16": "1.0.4",
|
|
"eslint": "4.5.0",
|
|
"eslint-config-airbnb": "15.1.0",
|
|
"eslint-loader": "1.9.0",
|
|
"eslint-plugin-import": "2.7.0",
|
|
"eslint-plugin-jsx-a11y": "5.1.1",
|
|
"eslint-plugin-react": "7.2.1",
|
|
"html-webpack-plugin": "2.30.1",
|
|
"jest": "20.0.4",
|
|
"jsdom": "11.2.0",
|
|
"jsdom-global": "3.0.2",
|
|
"lerna": "2.0.0",
|
|
"node-sass": "4.5.3",
|
|
"react-test-renderer": "16.0.0",
|
|
"sass-loader": "6.0.6",
|
|
"sinon": "3.2.1",
|
|
"style-loader": "0.17.0",
|
|
"webpack": "3.5.4",
|
|
"webpack-dev-server": "2.7.1"
|
|
},
|
|
"dependencies": {
|
|
"classnames": "2.2.5",
|
|
"prop-types": "15.5.10",
|
|
"react": "16.0.0",
|
|
"react-dom": "16.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"prop-types": "^15.0.0",
|
|
"react": "^16.0.0",
|
|
"react-dom": "^16.0.0"
|
|
},
|
|
"jest": {
|
|
"collectCoverageFrom": [
|
|
"packages/**/*.js"
|
|
],
|
|
"roots": [
|
|
"<rootDir>/packages"
|
|
],
|
|
"setupFiles": [
|
|
"<rootDir>/enzyme-setup.js"
|
|
],
|
|
"modulePaths": [
|
|
"<rootDir>/packages/react-bootstrap-table2"
|
|
],
|
|
"testEnvironment": "node",
|
|
"testMatch": [
|
|
"**/test/**/*.test.js"
|
|
]
|
|
}
|
|
}
|