UNPKG

react-tabtab

Version:

A mobile support, draggable, editable and api based Tab for ReactJS

149 lines (148 loc) 4.59 kB
{ "name": "react-tabtab", "version": "2.0.0", "description": "A mobile support, draggable, editable and api based Tab for ReactJS", "main": "lib/", "scripts": { "start": "node devServer.js", "build": "npm run build:lib && npm run build:dist", "build:lib": "rimraf ./lib && cross-env BABEL_ENV=production babel src -d lib", "build:dist": "rimraf dist && rollup -c --environment ESBUNDLE && rollup -c --environment PRODUCTION", "lint": "eslint src example test", "test": "jest", "test:watch": "NODE_ENV=test npm test -- --watch", "flow": "flow check", "flow:watch": "flow-watch", "gh-pages": "rimraf _gh-pages && npm run gh-pages:build && npm run gh-pages:publish", "gh-pages:build": "cross-env NODE_ENV=production webpack --config webpack.config.prod.js", "gh-pages:publish": "git-directory-deploy --directory _gh-pages --branch gh-pages", "prepublish": "npm run build", "validate": "npm ls" }, "repository": { "type": "git", "url": "git+https://github.com/ctxhou/react-tabtab.git" }, "keywords": [ "react", "tabs", "react-tab", "react-tabtab", "react-component", "tab", "tabtab", "styled-components" ], "files": [ "dist", "docs", "flow-typed", "lib", "src" ], "author": "ctxhou", "license": "MIT", "bugs": { "url": "https://github.com/ctxhou/react-tabtab/issues" }, "homepage": "https://github.com/ctxhou/react-tabtab#readme", "dependencies": { "classnames": "^2.2.5", "invariant": "^2.2.2", "prop-types": "^15.6.0", "react-poppop": "^1.5.0", "react-sortable-hoc": "^0.6.8", "react-test-renderer": "^16.0.0" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-core": "^6.14.0", "babel-eslint": "^7.2.3", "babel-jest": "^20.0.3", "babel-loader": "^7.0.0", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-dynamic-import-webpack": "^1.0.1", "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-flow-react-proptypes": "^9.0.0", "babel-plugin-transform-class-properties": "^6.16.0", "babel-plugin-transform-flow-strip-types": "^6.22.0", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-plugin-transform-react-remove-prop-types": "^0.4.10", "babel-polyfill": "^6.26.0", "babel-preset-es2015": "^6.24.1", "babel-preset-flow": "^6.23.0", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "babel-runtime": "^6.11.6", "compression-webpack-plugin": "^1.0.1", "cross-env": "^5.1.1", "enzyme": "^3.7.0", "enzyme-adapter-react-15": "^1.0.5", "enzyme-adapter-react-16": "^1.0.4", "enzyme-adapter-react-16.3": "^1.4.0", "enzyme-to-json": "^3.2.2", "eslint": "^4.0.0", "eslint-config-google": "^0.4.0", "eslint-config-prettier": "^2.6.0", "eslint-plugin-flowtype": "^2.39.1", "eslint-plugin-flowtype-errors": "^3.3.6", "eslint-plugin-jest": "^21.2.0", "eslint-plugin-prettier": "^2.3.1", "eslint-plugin-react": "^7.5.1", "extract-text-webpack-plugin": "^3.0.1", "flow-bin": "^0.58.0", "flow-watch": "^1.1.1", "git-directory-deploy": "^1.5.1", "html-webpack-plugin": "^2.30.1", "husky": "^0.14.3", "jest": "^20.0.4", "jest-styled-components": "^6.3.0", "noop3": "^999.999.999", "precommit-hook-eslint": "^3.0.0", "prettier": "^1.7.4", "react": "16.3.0", "react-content-loader": "^3.1.1", "react-dom": "16.3.0", "react-icons": "^2.2.7", "react-select": "^1.0.0-rc.10", "rimraf": "^2.6.2", "rollup": "^0.52.1", "rollup-plugin-babel": "^3.0.1", "rollup-plugin-commonjs": "^8.2.6", "rollup-plugin-flow": "^1.1.1", "rollup-plugin-json": "^2.3.0", "rollup-plugin-node-resolve": "^3.0.0", "rollup-plugin-replace": "^2.0.0", "rollup-plugin-uglify": "^2.0.1", "rollup-plugin-visualizer": "^0.3.1", "styled-components": "^4.0.0", "webpack": "^3.3.0", "webpack-bundle-analyzer": "^2.9.0", "webpack-dev-middleware": "^1.12.0", "webpack-hot-middleware": "^2.18.2" }, "peerDependencies": { "react": ">= 16.3.0 < 17.0.0-0", "styled-components": "^4.0.0" }, "jest": { "setupFiles": [ "./test/shim", "./test/enzyme-setup" ], "roots": [ "<rootDir>/test/" ], "unmockedModulePathPatterns": [ "node_modules/react/", "node_modules/enzyme/" ], "snapshotSerializers": [ "enzyme-to-json/serializer" ] }, "pre-commit": [ "lint", "test" ] }