forked from accessible-ui/tabs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
路101 lines (101 loc) 路 3.35 KB
/
Copy pathpackage.json
File metadata and controls
executable file
路101 lines (101 loc) 路 3.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "@accessible/tabs",
"version": "1.0.0",
"homepage": "https://github.com/accessible-ui/tabs#readme",
"repository": "github:accessible-ui/tabs",
"bugs": "https://github.com/accessible-ui/tabs/issues",
"author": "Jared Lunde <jared.lunde@gmail.com> (https://jaredLunde.com)",
"license": "MIT",
"description": "An accessible and versatile tabs component for React",
"keywords": [
"react",
"react component",
"tabs",
"accessible tabs",
"a11y tabs",
"react a11y tabs",
"react accessible tabs",
"react tabs",
"react tabs component",
"a11y",
"react aria tabs",
"aria",
"aria tabs"
],
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"files": [
"/dist"
],
"sideEffects": false,
"scripts": {
"build": "npm run build:cjs && npm run build:es && npm run build:types",
"build:cjs": "babel src -d dist/cjs -x .ts,.tsx --ignore \"**/*.test.ts\",\"**/test.ts\",\"**/*.test.tsx\",\"**/test.tsx\" --delete-dir-on-start",
"build:es": "cross-env BABEL_ENV=es babel src -d dist/es -x .ts,.tsx --ignore \"**/*.test.ts\",\"**/test.ts\",\"**/*.test.tsx\",\"**/test.tsx\" --delete-dir-on-start",
"build:types": "tsc -p tsconfig.json -d --outDir dist/es --emitDeclarationOnly && mkdir -p dist/cjs && cp -R dist/es/**.d.ts dist/cjs && rimraf dist/**/*.test.d.ts",
"check-types": "tsc --noEmit -p tsconfig.json",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,md,yml,json,babelrc,eslintrc,prettierrc}\"",
"lint": "eslint . --ext .ts,.tsx",
"prepublishOnly": "npm run lint && npm run test && npm run build && npm run format",
"test": "jest",
"validate": "npm run check-types && npm run lint && npm run test -- --coverage"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run build:types"
}
},
"lint-staged": {
"**/*.{ts,tsx,js,jsx}": [
"eslint",
"prettier --write"
],
"**/*.{md,yml,json,babelrc,eslintrc,prettierrc}": [
"prettier --write"
]
},
"devDependencies": {
"@babel/preset-react": "latest",
"@lunde/babel-preset-es": "latest",
"@testing-library/jest-dom": "latest",
"@testing-library/react": "latest",
"@testing-library/react-hooks": "latest",
"@types/jest": "latest",
"@types/react": "latest",
"@types/react-dom": "latest",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"babel-plugin-optimize-react": "latest",
"babel-plugin-typescript-to-proptypes": "latest",
"cross-env": "latest",
"eslint": "latest",
"eslint-import-resolver-jest": "latest",
"eslint-plugin-jest": "latest",
"eslint-plugin-react": "latest",
"eslint-plugin-react-hooks": "latest",
"husky": "latest",
"jest": "latest",
"lint-staged": "latest",
"prettier": "latest",
"react": "latest",
"react-dom": "latest",
"react-test-renderer": "latest",
"rimraf": "^2.6.3",
"ts-jest": "latest",
"typescript": "latest"
},
"dependencies": {
"@accessible/button": "^1.0.3",
"@accessible/use-conditional-focus": "^1.0.1",
"@accessible/use-id": "^1.0.4",
"@accessible/use-keycode": "^3.0.1",
"@react-hook/merged-ref": "^1.0.8",
"@react-hook/passive-layout-effect": "^1.0.2",
"clsx": "^1.0.4"
},
"peerDependencies": {
"prop-types": ">=15.6",
"react": ">=16.8",
"react-dom": ">=16.8"
}
}