UNPKG

3.54 kBJSONView Raw
1{
2 "name": "react-tabs",
3 "version": "5.0.0",
4 "description": "An accessible and easy tab component for ReactJS",
5 "main": "lib/index.js",
6 "module": "esm/index.js",
7 "typings": "index.d.ts",
8 "scripts": {
9 "clean:commonjs": "rimraf lib",
10 "clean:umd": "rimraf dist",
11 "build:commonjs": "cross-env BABEL_OUTPUT=commonjs babel src/ --out-dir lib/ --ignore **/__tests__,**/__mocks__",
12 "build:esm": "babel src/ --out-dir esm/ --ignore **/__tests__,**/__mocks__",
13 "build:umd": "rollup -c",
14 "build": "npm-run-all clean:* --parallel build:*",
15 "format": "eslint src --fix --report-unused-disable-directives",
16 "lint": "eslint src --report-unused-disable-directives",
17 "prebump": "run-s lint test",
18 "prepublishOnly": "yarn run build",
19 "test": "cross-env BABEL_OUTPUT=commonjs jest",
20 "start": "webpack serve",
21 "website": "run-s website:clean website:build website:redirect",
22 "website:clean": "rimraf examples/dist",
23 "website:build": "cross-env BABEL_TARGET=examples NODE_ENV=production webpack",
24 "website:redirect": "cp -R examples/src/example examples/dist"
25 },
26 "repository": {
27 "type": "git",
28 "url": "https://github.com/reactjs/react-tabs.git"
29 },
30 "author": "Matt Zabriskie",
31 "license": "MIT",
32 "bugs": {
33 "url": "https://github.com/reactjs/react-tabs/issues"
34 },
35 "files": [
36 "dist",
37 "esm",
38 "lib",
39 "style",
40 "src/*.js",
41 "src/components/*.js",
42 "src/helpers/*.js",
43 "index.d.ts"
44 ],
45 "homepage": "https://github.com/reactjs/react-tabs",
46 "keywords": [
47 "react",
48 "tabs",
49 "a11y",
50 "react-component"
51 ],
52 "peerDependencies": {
53 "react": "^18.0.0"
54 },
55 "devDependencies": {
56 "@babel/cli": "7.17.6",
57 "@babel/core": "7.17.9",
58 "@babel/eslint-parser": "7.17.0",
59 "@babel/preset-env": "7.16.11",
60 "@babel/preset-react": "7.16.7",
61 "@testing-library/dom": "8.13.0",
62 "@testing-library/jest-dom": "5.16.4",
63 "@testing-library/react": "13.1.1",
64 "@testing-library/user-event": "14.1.1",
65 "babel-jest": "27.5.1",
66 "babel-loader": "8.2.4",
67 "babel-plugin-transform-react-remove-prop-types": "0.4.24",
68 "cross-env": "7.0.3",
69 "css-loader": "6.7.1",
70 "eslint": "8.13.0",
71 "eslint-config-prettier": "8.5.0",
72 "eslint-plugin-import": "2.26.0",
73 "eslint-plugin-jsx-a11y": "6.5.1",
74 "eslint-plugin-prettier": "4.0.0",
75 "eslint-plugin-react": "7.29.4",
76 "hoist-non-react-statics": "3.3.2",
77 "html-loader": "3.1.0",
78 "html-webpack-plugin": "5.5.0",
79 "jest": "27.5.1",
80 "jest-environment-jsdom": "27.5.1",
81 "less": "4.1.2",
82 "less-loader": "10.2.0",
83 "mini-css-extract-plugin": "2.6.0",
84 "npm-run-all": "4.1.5",
85 "prettier": "2.6.2",
86 "react": "18.0.0",
87 "react-dom": "18.0.0",
88 "react-live": "2.4.1",
89 "react-modal": "3.14.4",
90 "react-test-renderer": "18.0.0",
91 "rimraf": "3.0.2",
92 "rollup": "2.70.2",
93 "rollup-plugin-babel": "4.4.0",
94 "rollup-plugin-commonjs": "10.1.0",
95 "rollup-plugin-ignore": "1.0.10",
96 "rollup-plugin-node-resolve": "5.2.0",
97 "rollup-plugin-replace": "2.2.0",
98 "rollup-plugin-terser": "7.0.2",
99 "webpack": "5.72.0",
100 "webpack-cli": "4.9.2",
101 "webpack-dev-server": "4.8.1"
102 },
103 "dependencies": {
104 "clsx": "^1.1.0",
105 "prop-types": "^15.5.0"
106 },
107 "jest": {
108 "roots": [
109 "src"
110 ],
111 "testRegex": "/__tests__/.+-test\\.js$",
112 "testEnvironment": "jsdom",
113 "coveragePathIgnorePatterns": [
114 "/node_module/",
115 "/__tests__/"
116 ]
117 }
118}