-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
99 lines (99 loc) · 2.54 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
{
"name": "@primer/behaviors",
"version": "1.8.0",
"description": "Shared behaviors for JavaScript components",
"type": "commonjs",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.mjs",
"exports": {
".": {
"types": {
"import": "./dist/esm/index.d.ts",
"require": "./dist/cjs/index.d.ts"
},
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js"
},
"./utils": {
"types": {
"import": "./dist/esm/utils/index.d.ts",
"require": "./dist/cjs/utils/index.d.ts"
},
"import": "./dist/esm/utils/index.mjs",
"require": "./dist/cjs/utils/index.js"
}
},
"types": "dist/esm/index.d.ts",
"files": [
"dist",
"utils"
],
"sideEffects": [
"dist/esm/focus-zone.mjs",
"dist/esm/focus-trap.mjs",
"dist/cjs/focus-zone.js",
"dist/cjs/focus-trap.js"
],
"scripts": {
"clean": "rimraf dist",
"build": "rollup -c",
"lint": "eslint src/",
"test": "jest",
"test:watch": "jest --watch",
"prebuild": "npm run clean",
"release": "npm run build && changeset publish",
"size-limit": "npm run build && size-limit",
"type-check": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/primer/behaviors.git"
},
"keywords": [
"primer",
"behavior",
"behaviors",
"focus"
],
"author": "",
"prettier": "@github/prettier-config",
"license": "MIT",
"bugs": {
"url": "https://github.com/primer/behaviors/issues"
},
"homepage": "https://github.com/primer/behaviors#readme",
"size-limit": [
{
"limit": "10kb",
"path": "dist/esm/index.mjs"
}
],
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.0",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.18.1",
"@github/prettier-config": "^0.0.6",
"@rollup/plugin-typescript": "^12.1.0",
"@rollup/wasm-node": "^4.19.1",
"@size-limit/preset-small-lib": "^11.1.4",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.11",
"@types/node": "^22.0.0",
"@types/react": "^18.2.23",
"esbuild": "^0.24.0",
"esbuild-jest": "^0.5.0",
"eslint": "^8.50.0",
"eslint-plugin-github": "^5.0.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^6.0.1",
"rollup": "^4.18.0",
"size-limit": "^11.1.4",
"typescript": "^5.2.2"
}
}