-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.82 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 2.82 KB
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
{
"name": "@primer/behaviors",
"version": "1.10.2",
"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",
"storybook": "storybook dev -p 6006 --no-open",
"build-storybook": "storybook build"
},
"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.18.0",
"@changesets/changelog-github": "^0.6.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": "^12.0.0",
"@storybook/react-vite": "^10.0.8",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^30.0.0",
"@types/node": "^25.0.0",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.2.3",
"clsx": "^2.1.1",
"esbuild": "^0.28.0",
"esbuild-jest": "^0.5.0",
"eslint": "^8.50.0",
"eslint-plugin-github": "^5.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-storybook": "^10.0.8",
"jest": "^30.0.4",
"jest-environment-jsdom": "^30.0.4",
"prettier": "^3.0.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1",
"rollup": "^4.18.0",
"size-limit": "^12.0.0",
"storybook": "^10.0.8",
"tslib": "^2.8.1",
"typescript": "^6.0.2"
}
}