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