UNPKG

react-tabs

Version:

An accessible and easy tab component for ReactJS

128 lines (127 loc) 3.93 kB
{ "name": "react-tabs", "version": "2.3.0", "description": "An accessible and easy tab component for ReactJS", "main": "lib/index.js", "module": "esm/index.js", "scripts": { "clean:commonjs": "rimraf lib", "clean:umd": "rimraf dist", "create-github-release": "conventional-github-releaser -p angular", "build:commonjs": "cross-env BABEL_OUTPUT=commonjs babel src/ --out-dir lib/ --ignore **/__tests__,**/__mocks__", "build:esm": "babel src/ --out-dir esm/ --ignore **/__tests__,**/__mocks__", "build:umd": "rollup -c", "build": "npm-run-all clean:* --parallel build:*", "format": "eslint src --fix", "lint": "eslint src", "precommit": "lint-staged", "prebump": "run-s lint test", "prepublish": "yarn run build", "release": "standard-version --sign", "test": "cross-env BABEL_OUTPUT=commonjs jest", "start": "webpack-dev-server --inline --content-base examples/", "website": "run-s website:clean website:build website:redirect", "website:clean": "rimraf examples/dist", "website:build": "cross-env BABEL_TARGET=examples NODE_ENV=production webpack", "website:redirect": "cp -R examples/src/example examples/dist" }, "repository": { "type": "git", "url": "https://github.com/reactjs/react-tabs.git" }, "author": "Matt Zabriskie", "license": "MIT", "bugs": { "url": "https://github.com/reactjs/react-tabs/issues" }, "files": [ "dist", "esm", "lib", "style", "src" ], "homepage": "https://github.com/reactjs/react-tabs", "keywords": [ "react", "tabs", "a11y", "react-component" ], "peerDependencies": { "react": "^0.14.9 || ^15.3.0 || ^16.0.0" }, "devDependencies": { "@babel/cli": "^7.0.0", "@babel/core": "^7.0.0", "@babel/plugin-external-helpers": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/plugin-proposal-object-rest-spread": "^7.0.0", "@babel/plugin-syntax-dynamic-import": "^7.0.0", "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", "babel-core": "^7.0.0-0", "babel-eslint": "^9.0.0", "babel-jest": "^23.4.2", "babel-loader": "^8.0.0", "babel-plugin-transform-react-remove-prop-types": "^0.4.15", "conventional-github-releaser": "^3.1.2", "cross-env": "^5.2.0", "css-loader": "^1.0.0", "enzyme": "^3.5.0", "enzyme-adapter-react-16": "^1.3.0", "eslint": "^5.4.0", "eslint-config-airbnb": "^17.1.0", "eslint-config-prettier": "^3.0.1", "eslint-plugin-import": "^2.14.0", "eslint-plugin-jsx-a11y": "^6.1.1", "eslint-plugin-prettier": "^2.6.2", "eslint-plugin-react": "^7.11.1", "file-loader": "^2.0.0", "hoist-non-react-statics": "^3.0.1", "html-loader": "^0.5.5", "html-webpack-plugin": "^3.2.0", "husky": "^0.14.3", "jest": "^23.5.0", "less": "^3.8.1", "less-loader": "^4.1.0", "lint-staged": "^7.2.2", "mini-css-extract-plugin": "^0.4.2", "npm-run-all": "^4.1.3", "prettier": "^1.14.2", "react": "^16.4.2", "react-dom": "^16.4.2", "react-live": "^1.11.0", "react-modal": "^3.5.1", "react-test-renderer": "^16.4.2", "rimraf": "^2.6.2", "rollup": "^0.65.0", "rollup-plugin-babel": "^4.0.2", "rollup-plugin-commonjs": "^9.1.6", "rollup-plugin-ignore": "^1.0.3", "rollup-plugin-node-resolve": "^3.3.0", "rollup-plugin-replace": "^2.0.0", "rollup-plugin-uglify": "^4.0.0", "standard-version": "^4.4.0", "uglifyjs-webpack-plugin": "^1.3.0", "webpack": "^4.17.1", "webpack-cli": "^3.1.0", "webpack-dev-server": "^3.1.7" }, "dependencies": { "classnames": "^2.2.0", "prop-types": "^15.5.0" }, "jest": { "roots": [ "src" ], "testRegex": "/__tests__/.+-test\\.js$" }, "lint-staged": { "src/**/*.js": [ "yarn run eslint --fix", "git add" ] } }