-
Notifications
You must be signed in to change notification settings - Fork 54
/
package.json
117 lines (117 loc) · 3.8 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "react-if",
"workspaces": [
"demo/"
],
"version": "4.1.5",
"description": "🌗 Render React components conditionally",
"author": "Romain Ruetschi <romain.ruetschi@gmail.com>",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/react-if.esm.js",
"types": "dist/index.d.ts",
"exports": {
"import": "./dist/react-if.esm.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"homepage": "https://github.com/romac/react-if",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/romac/react-if.git"
},
"scripts": {
"start": "dts watch --tsconfig ./src/tsconfig.json",
"build": "dts build --tsconfig ./src/tsconfig.json",
"typecheck": "tsc -p tsconfig.eslint.json",
"test": "dts test",
"lint": "eslint src test demo --fix",
"format": "prettier --write \"{src,tests}/**/*.{ts,tsx}\"",
"update": "yarn upgrade-interactive",
"docs": "typedoc",
"bump": "cliff-jumper",
"check-update": "cliff-jumper --dry-run",
"prepack": "yarn build"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@favware/cliff-jumper": "^5.0.0",
"@sapphire/eslint-config": "^5.0.5",
"@sapphire/prettier-config": "^2.0.0",
"@sapphire/ts-config": "^5.0.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/node": "^22.10.2",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"cz-conventional-changelog": "^3.3.0",
"dts-cli": "^2.0.5",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"lint-staged": "^15.2.11",
"prettier": "^3.4.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"ts-jest": "^29.2.5",
"typedoc": "^0.26.1",
"typescript": "^5.5.2"
},
"engines": {
"node": ">=12"
},
"peerDependencies": {
"react": "^16.x || ^17.x || ^18.x"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*": "prettier --ignore-unknown --write",
"*.{mjs,js,ts,tsx}": "eslint --fix --ext mjs,js,ts,tsx"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"resolutions": {
"prettier": "^3.4.2",
"@types/react-dom": "^18.3.5",
"@types/react": "^18.3.18",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"cz-conventional-changelog": "^3.3.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react": "^7.37.2",
"eslint": "^8.57.1",
"react-dom": "^18.3.1",
"ansi-regex": "^5.0.1",
"minimist": "^1.2.8",
"react": "^18.3.1",
"@sapphire/ts-config@^4.0.1": "patch:@sapphire/ts-config@npm%3A4.0.0#./.yarn/patches/@sapphire-ts-config-npm-4.0.0-cfd20d4fc5.patch",
"@types/testing-library__jest-dom@^5.14.8": "patch:@types/testing-library__jest-dom@npm%3A5.14.7#./.yarn/patches/@types-testing-library__jest-dom-npm-5.14.7-9c1df8c5da.patch",
"@types/testing-library__jest-dom@^5.9.1": "patch:@types/testing-library__jest-dom@npm%3A5.14.7#./.yarn/patches/@types-testing-library__jest-dom-npm-5.14.7-9c1df8c5da.patch"
},
"packageManager": "yarn@4.5.3"
}