-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
88 lines (88 loc) · 2.29 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
{
"name": "@primer/behaviors",
"version": "1.3.0",
"description": "Shared behaviors for JavaScript components",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"module": "./dist/esm/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/esm/index.d.ts"
},
"./utils": {
"module": "./dist/esm/utils/index.js",
"import": "./dist/esm/utils/index.js",
"require": "./dist/cjs/utils/index.js",
"types": "./dist/esm/utils/index.d.ts"
}
},
"types": "dist/esm/index.d.ts",
"files": [
"dist",
"utils"
],
"sideEffects": [
"dist/esm/focus-zone.js",
"dist/esm/focus-trap.js",
"dist/cjs/focus-zone.js",
"dist/cjs/focus-trap.js"
],
"scripts": {
"lint": "eslint src/",
"test": "npm run jest && npm run lint",
"test:watch": "jest --watch",
"jest": "jest",
"clean": "rm -rf dist",
"prebuild": "npm run clean",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"size-limit": "npm run build && size-limit",
"release": "npm run build && changeset publish"
},
"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.js"
}
],
"devDependencies": {
"@changesets/changelog-github": "^0.4.2",
"@changesets/cli": "^2.18.1",
"@github/prettier-config": "0.0.4",
"@size-limit/preset-small-lib": "^7.0.3",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.0.3",
"@types/react": "^17.0.37",
"esbuild": "^0.14.1",
"esbuild-jest": "^0.5.0",
"eslint": "^8.3.0",
"eslint-plugin-github": "^4.3.5",
"jest": "^27.4.3",
"prettier": "^2.5.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"size-limit": "^7.0.3",
"typescript": "^4.5.2"
}
}