-
Notifications
You must be signed in to change notification settings - Fork 67
/
package.json
115 lines (115 loc) · 3.61 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
{
"name": "react-focus-lock",
"version": "2.13.2",
"description": "It is a trap! (for a focus)",
"main": "dist/cjs/index.js",
"jsnext:main": "dist/es2015/index.js",
"module": "dist/es2015/index.js",
"types": "./dist/cjs/index.d.ts",
"sideEffects": [
"**/sidecar.js",
"**/index.js"
],
"scripts": {
"build:dts": "copyfiles -u 1 src/**/*.d.ts dist/cjs",
"build:cjs": "NODE_ENV=cjs babel src -d dist/cjs",
"build:es5": "NODE_ENV=es2015 babel src -d dist/es2015",
"build": "rm -Rf ./dist && yarn build:es5 && yarn build:cjs && yarn build:dts",
"test": "npm run test:pick -- '_tests/**/*spec.js'",
"test:pick": "NODE_ENV=cjs mocha --require @babel/register --require global-jsdom/register --require _tests/spinup/scaffolding --exit",
"prepublish": "npm run lint:fix && npm run build && npm run changelog",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"storybook": "NODE_ENV=es2015 start-storybook -p 6006",
"build-storybook": "NODE_ENV=es2015 build-storybook",
"package-self": "package-self",
"size": "yarn build && yarn size-limit",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/theKashey/react-focus-lock.git"
},
"files": [
"dist",
"sidecar",
"UI",
"interfaces.d.ts",
"react-focus-lock.d.ts"
],
"keywords": [
"react",
"focus",
"lock",
"trap",
"tabbable"
],
"author": "theKashey <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/theKashey/react-focus-lock/issues"
},
"peerDependencies": {
"@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"@size-limit/preset-small-lib": "^4.5.0",
"@storybook/addon-actions": "^5.1.8",
"@storybook/addon-links": "^5.1.8",
"@storybook/react": "^5.1.8",
"@testing-library/react": "^12.0.0",
"@testing-library/user-event": "^12.0.0",
"@types/react": "^18.0.8",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"babel-plugin-transform-react-remove-prop-types": "^0.4.19",
"chai": "^4.1.0",
"chai-enzyme": "^1.0.0-beta.0",
"conventional-changelog-cli": "^2.0.12",
"copyfiles": "^2.4.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-mocha": "^5.3.0",
"eslint-plugin-react": "^7.13.0",
"global-jsdom": "^8.4.0",
"jsdom": "^16.0.0",
"material-ui": "^0.20.0",
"mocha": "^8.3.2",
"package-self": "^1.1.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-hot-loader": "^4.11.0",
"react-test-renderer": "^16.2.0",
"sinon": "7.3.2",
"size-limit": "^4.5.0"
},
"homepage": "https://github.com/theKashey/react-focus-lock#readme",
"dependencies": {
"@babel/runtime": "^7.0.0",
"focus-lock": "^1.3.5",
"prop-types": "^15.6.2",
"react-clientside-effect": "^1.2.6",
"use-callback-ref": "^1.3.2",
"use-sidecar": "^1.1.2"
},
"packageManager": "[email protected]"
}