-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathpackage.json
119 lines (119 loc) · 4.28 KB
/
package.json
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "focus-trap-react",
"version": "11.0.3",
"description": "A React component that traps focus.",
"main": "dist/focus-trap-react.js",
"types": "index.d.ts",
"files": [
"README.md",
"LICENSE",
"CHANGELOG.md",
"SECURITY.md",
"dist",
"src",
"index.d.ts"
],
"scripts": {
"demo-bundle": "NODE_ENV=production browserify demo/js -t babelify --extension=.jsx -o demo/demo-bundle.js",
"start": "npm run build && NODE_ENV=development budo demo/js/index.js:demo-bundle.js --dir demo --live -- -t babelify --extension=.jsx",
"lint": "eslint \"{*,src/**/*,test/**/*,demo/**/*,cypress/e2e/**/*}.+(js|cjs|mjs|ts|cts|mts)\"",
"format": "prettier --write \"{*,src/**/*,test/**/*,demo/js/**/*,.github/workflows/**/*,cypress/**/*}.+(js|cjs|mjs|ts|cts|mts|yml)\"",
"format:check": "prettier --check \"{*,src/**/*,test/**/*,demo/js/**/*,.github/workflows/**/*,cypress/**/*}.+(js|cjs|mjs|ts|cts|mts|yml)\"",
"format:watch": "onchange \"{*,src/**/*,test/**/*,demo/js/**/*,.github/workflows/**/*,cypress/**/*}.+(js|cjs|mjs|ts|cts|mts|yml)\" -- prettier --write {{changed}}",
"build": "babel src -d dist",
"test:types": "tsc index.d.ts",
"test:unit": "jest",
"test:coverage": "jest --coverage",
"test:e2e": "ELECTRON_ENABLE_LOGGING=1 start-server-and-test start 9966 'cypress run --browser $CYPRESS_BROWSER --headless'",
"test:e2e:chrome": "CYPRESS_BROWSER=chrome npm run test:e2e",
"test:e2e:dev": "ELECTRON_ENABLE_LOGGING=1 start-server-and-test start 9966 'cypress open'",
"test": "npm run format:check && npm run lint && npm run test:unit && npm run test:types && npm run test:e2e:chrome",
"prepare": "npm run build",
"prepublishOnly": "npm run test && npm run build",
"release": "npm run build && changeset publish"
},
"repository": {
"type": "git",
"url": "git+/~https://github.com/focus-trap/focus-trap-react.git"
},
"keywords": [
"react",
"reactjs",
"react-component",
"aria",
"accessibility",
"modal",
"dialog",
"focus",
"keyboard"
],
"author": {
"name": "David Clark",
"url": "http://davidtheclark.com/"
},
"license": "MIT",
"bugs": {
"url": "/~https://github.com/focus-trap/focus-trap-react/issues"
},
"homepage": "/~https://github.com/focus-trap/focus-trap-react#readme",
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.26.5",
"@babel/eslint-plugin": "^7.25.9",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@changesets/cli": "^2.27.11",
"@eslint/js": "^9.18.0",
"@testing-library/cypress": "^10.0.2",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/jquery": "^3.5.32",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "^8.20.0",
"all-contributors-cli": "^6.26.1",
"babel-jest": "^29.7.0",
"babelify": "^10.0.0",
"browserify": "^17.0.1",
"budo": "^11.8.4",
"cypress": "^13.17.0",
"cypress-plugin-tab": "^1.0.5",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-import-resolver-node": "^0.3.9",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-cypress": "^4.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-jest-dom": "^5.5.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-testing-library": "^7.1.1",
"globals": "^15.13.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-watch-typeahead": "^2.2.2",
"onchange": "^7.1.0",
"prettier": "^3.4.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"regenerator-runtime": "^0.14.1",
"start-server-and-test": "^2.0.10",
"typescript": "^5.7.3"
},
"dependencies": {
"focus-trap": "^7.6.4",
"tabbable": "^6.2.0"
},
"peerDependencies": {
"@types/react": "^18.0.0 || ^19.0.0",
"@types/react-dom": "^18.0.0 || ^19.0.0",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
}
}