forked from focus-trap/focus-trap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 3.31 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
{
"name": "focus-trap",
"version": "6.6.1",
"description": "Trap focus within a DOM node.",
"main": "dist/focus-trap.js",
"module": "dist/focus-trap.esm.js",
"types": "index.d.ts",
"sideEffects": false,
"files": [
"package.json",
"README.md",
"CHANGELOG.md",
"SECURITY.md",
"LICENSE",
"index.js",
"index.d.ts",
"dist"
],
"scripts": {
"demo-bundle": "browserify docs/js/index.js -o docs/demo-bundle.js",
"format": "prettier --write \"{*,src/**/*,test/**/*,docs/js/**/*,.github/workflows/*,cypress/**/*}.+(js|yml)\"",
"format:check": "prettier --check \"{*,src/**/*,test/**/*,docs/js/**/*,.github/workflows/*,cypress/**/*}.+(js|yml)\"",
"format:watch": "onchange \"{*,src/**/*,test/**/*,docs/js/**/*,.github/workflows/*,cypress/**/*}.+(js|yml)\" -- prettier --write {{changed}}",
"lint": "eslint \"*.js\" \"docs/js/**/*.js\" \"cypress/**/*.js\"",
"clean": "rm -rf ./dist",
"compile:esm": "cross-env BUILD_ENV=esm BABEL_ENV=esm rollup -c",
"compile:cjs": "cross-env BUILD_ENV=cjs BABEL_ENV=es5 rollup -c",
"compile:umd": "cross-env BUILD_ENV=umd BABEL_ENV=es5 rollup -c",
"compile": "yarn compile:esm && yarn compile:cjs && yarn compile:umd",
"build": "yarn clean && yarn compile",
"start": "yarn compile:cjs && budo docs/js/index.js:demo-bundle.js --dir docs --live -- -t babelify",
"test:types": "tsc index.d.ts",
"test:unit": "echo \"No unit tests to run!\"",
"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:chrome": "CYPRESS_BROWSER=chrome yarn test:cypress:ci",
"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.git"
},
"keywords": [
"focus",
"accessibility",
"trap",
"capture",
"keyboard",
"modal"
],
"author": {
"name": "David Clark",
"url": "http://davidtheclark.com/"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/focus-trap/focus-trap/issues"
},
"homepage": "https://github.com/focus-trap/focus-trap#readme",
"dependencies": {
"tabbable": "^5.2.1"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@changesets/cli": "^2.16.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@testing-library/cypress": "^8.0.0",
"@types/jquery": "^3.5.6",
"all-contributors-cli": "^6.20.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"budo": "^11.6.4",
"cross-env": "^7.0.3",
"cypress": "^8.3.0",
"cypress-plugin-tab": "^1.0.5",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.11.3",
"onchange": "^7.1.0",
"prettier": "^2.3.2",
"rollup": "^2.56.3",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.1",
"start-server-and-test": "^1.13.1",
"typescript": "^4.3.5"
}
}