-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
69 lines (69 loc) · 2.13 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
{
"name": "clickable-box",
"description": "Add `onClick` to HTML elements without sacrificing accessibility.",
"version": "1.1.10",
"author": "Daniel O'Connor <daniel@danoc.me>",
"license": "MIT",
"type": "module",
"source": "./src/index.tsx",
"exports": {
"require": "./dist/clickable-box.cjs",
"default": "./dist/clickable-box.modern.js"
},
"main": "./dist/clickable-box.cjs",
"module": "./dist/clickable-box.module.js",
"unpkg": "./dist/clickable-box.umd.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"test": "pnpm run test:eslint && pnpm run test:jest && pnpm run test:prettier",
"test:eslint": "eslint . --ignore-path .gitignore --ext .jsx --ext .js --ext .tsx --ext .ts",
"test:jest": "jest",
"test:prettier": "prettier . --check",
"format": "prettier . --write",
"release": "rm -rf dist && pnpm install --frozen-lockfile && pnpm test && pnpm microbundle --jsx React.createElement && pnpm changeset publish"
},
"devDependencies": {
"@babel/preset-env": "^7.19.4",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@changesets/cli": "^2.25.0",
"@testing-library/react": "^11.2.3",
"@types/jest": "^26.0.20",
"@types/react": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^26.6.3",
"microbundle": "0.15.1",
"prettier": "^2.7.1",
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": "^16.3.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.3.0 || ^17.0.0 || ^18.0.0"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/danoc/clickable-box.git"
},
"bugs": {
"url": "https://github.com/danoc/clickable-box/issues"
},
"keywords": [
"accessibility",
"react",
"component"
],
"homepage": "https://github.com/danoc/clickable-box#readme",
"packageManager": "pnpm@7.14.0"
}