forked from focus-trap/focus-trap-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
92 lines (92 loc) · 2.89 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
{
"name": "focus-trap-react",
"version": "8.3.2",
"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": "browserify demo/js -t babelify --extension=.jsx -o demo/demo-bundle.js",
"start": "yarn build && budo demo/js/index.js:demo-bundle.js --dir demo --live -- -t babelify --extension=.jsx",
"lint": "eslint \"*.js\" \"src/**/*.js\" \"test/**/*.js\" \"demo/**/*.js\" \"cypress/**/*.js\"",
"format": "prettier --write \"{*,src/**/*,test/**/*,demo/js/**/*,.github/workflows/*,cypress/**/*}.+(js|yml)\"",
"format:check": "prettier --check \"{*,src/**/*,test/**/*,demo/js/**/*,.github/workflows/*,cypress/**/*}.+(js|yml)\"",
"build": "babel src -d dist",
"test:types": "tsc index.d.ts",
"test:unit": "jest",
"test:cypress": "start-server-and-test start 9966 'cypress open'",
"test:cypress-ci": "start-server-and-test start 9966 'cypress run --browser $CYPRESS_BROWSER --headless'",
"test": "yarn format:check && yarn lint && yarn test:unit && yarn test:types && CYPRESS_BROWSER=chrome yarn test:cypress-ci",
"prepare": "yarn build",
"release": "yarn 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.12.8",
"@babel/core": "^7.12.9",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-env": "^7.12.7",
"@babel/preset-react": "^7.12.7",
"@changesets/cli": "^2.12.0",
"@testing-library/cypress": "^7.0.2",
"@types/jquery": "^3.5.4",
"all-contributors-cli": "^6.19.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"budo": "^11.6.4",
"cypress": "^6.0.1",
"cypress-plugin-tab": "^1.0.5",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-react": "^7.21.5",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"start-server-and-test": "^1.11.6",
"typescript": "^4.1.2"
},
"dependencies": {
"focus-trap": "^6.2.2"
},
"peerDependencies": {
"prop-types": "^15.7.2",
"react": ">=16.0.0",
"react-dom": ">=16.0.0"
}
}