UNPKG

3.17 kBJSONView Raw
1{
2 "name": "react-focus-lock",
3 "version": "2.0.3",
4 "description": "It is a trap! (for a focus)",
5 "main": "dist/cjs/index.js",
6 "jsnext:main": "dist/es2015/index.js",
7 "module": "dist/es2015/index.js",
8 "types": "react-focus-lock.d.ts",
9 "sideEffects": [
10 "**/sidecar.js"
11 ],
12 "scripts": {
13 "build:cjs": "NODE_ENV=cjs babel src -d dist/cjs",
14 "build:es5": "NODE_ENV=es2015 babel src -d dist/es2015",
15 "build": "rm -Rf ./dist && yarn build:es5 && yarn build:cjs",
16 "test": "npm run test:pick -- '_tests/**/*spec.js'",
17 "test:pick": "NODE_ENV=cjs mocha --require @babel/register --require jsdom-global/register --require _tests/spinup/scaffolding ",
18 "prepublish": "npm run build",
19 "lint": "eslint src",
20 "lint:fix": "eslint src tests --fix",
21 "storybook": "NODE_ENV=es2015 start-storybook -p 6006",
22 "build-storybook": "NODE_ENV=es2015 build-storybook",
23 "package-self": "package-self",
24 "size": "npm run build && npx size-limit",
25 "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
26 },
27 "repository": {
28 "type": "git",
29 "url": "git+https://github.com/theKashey/react-focus-lock.git"
30 },
31 "files": [
32 "dist",
33 "sidecar",
34 "UI",
35 "interfaces.d.ts",
36 "react-focus-lock.d.ts"
37 ],
38 "keywords": [
39 "react",
40 "focus",
41 "lock",
42 "trap",
43 "tabbable"
44 ],
45 "author": "theKashey <thekashey@gmail.com>",
46 "license": "MIT",
47 "bugs": {
48 "url": "https://github.com/theKashey/react-focus-lock/issues"
49 },
50 "peerDependencies": {
51 "react": "^16.8.0"
52 },
53 "devDependencies": {
54 "@babel/cli": "^7.0.0",
55 "@babel/core": "^7.0.0",
56 "@babel/plugin-proposal-class-properties": "^7.0.0",
57 "@babel/plugin-syntax-dynamic-import": "^7.2.0",
58 "@babel/plugin-transform-runtime": "^7.1.0",
59 "@babel/polyfill": "^7.0.0",
60 "@babel/preset-env": "^7.0.0",
61 "@babel/preset-react": "^7.0.0",
62 "@babel/register": "^7.0.0",
63 "@storybook/addon-actions": "^5.1.8",
64 "@storybook/addon-links": "^5.1.8",
65 "@storybook/react": "^5.1.8",
66 "@types/react": "^16.8.19",
67 "babel-eslint": "^10.0.1",
68 "babel-loader": "^8.0.4",
69 "babel-plugin-transform-react-remove-prop-types": "^0.4.19",
70 "chai": "^4.1.0",
71 "chai-enzyme": "^1.0.0-beta.0",
72 "conventional-changelog-cli": "^2.0.12",
73 "enzyme": "^3.3.0",
74 "enzyme-adapter-react-16": "^1.7.1",
75 "eslint": "^5.16.0",
76 "eslint-config-airbnb": "^17.1.0",
77 "eslint-plugin-import": "^2.17.3",
78 "eslint-plugin-jsx-a11y": "^6.2.1",
79 "eslint-plugin-mocha": "^5.3.0",
80 "eslint-plugin-react": "^7.13.0",
81 "jsdom": "15.1.1",
82 "jsdom-global": "3.0.2",
83 "material-ui": "^0.20.0",
84 "mocha": "^6.1.4",
85 "package-self": "^1.1.1",
86 "react": "^16.8.6",
87 "react-compat": "^0.0.1",
88 "react-dom": "^16.8.6",
89 "react-hot-loader": "^4.11.0",
90 "react-test-renderer": "^16.2.0",
91 "sinon": "7.3.2"
92 },
93 "homepage": "https://github.com/theKashey/react-focus-lock#readme",
94 "dependencies": {
95 "@babel/runtime": "^7.0.0",
96 "focus-lock": "^0.6.4",
97 "prop-types": "^15.6.2",
98 "react-clientside-effect": "^1.2.1",
99 "use-sidecar": "^1.0.1"
100 }
101}