This repository was archived by the owner on Apr 5, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 3.76 KB
/
package.json
File metadata and controls
116 lines (116 loc) · 3.76 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
108
109
110
111
112
113
114
115
116
{
"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": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@favware/cliff-jumper": "^2.2.3",
"@sapphire/eslint-config": "^5.0.3",
"@sapphire/prettier-config": "^2.0.0",
"@sapphire/ts-config": "^5.0.0",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
"@types/node": "^20.10.4",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"cz-conventional-changelog": "^3.3.0",
"dts-cli": "^2.0.3",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-jest": "^29.1.1",
"typedoc": "^0.25.4",
"typescript": "^5.3.3"
},
"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.1.1",
"@types/react-dom": "^18.2.18",
"@types/react": "^18.2.45",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"cz-conventional-changelog": "^3.3.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react": "^7.33.2",
"eslint": "^8.56.0",
"react-dom": "^18.2.0",
"ansi-regex": "^6.0.1",
"minimist": "^1.2.8",
"react": "^18.2.0",
"@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.0.2"
}