-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 1.97 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 1.97 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
{
"$schema": "https://json.schemastore.org/package.json",
"name": "strict-react-context",
"version": "1.0.0",
"description": "A wrapper around React context that throws an error when a context value is used without being provided.",
"keywords": [
"react",
"context",
"required",
"strict",
"useContext",
"error"
],
"homepage": "https://github.com/incentro-dc/strict-react-context",
"bugs": "https://github.com/incentro-dc/strict-react-context/issues",
"repository": "https://github.com/incentro-dc/strict-react-context",
"license": "MIT",
"author": "Luud Janssen",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
}
},
"main": "./dist/index.js",
"files": [
"dist/**/*"
],
"scripts": {
"build": "tsc --project tsconfig.build.json",
"clean": "pnpm run \"/^clean:.*/\"",
"clean:build": "rimraf dist",
"clean:cache": "rimraf node_modules/.cache",
"format": "prettier --write . --cache",
"lint": "pnpm run \"/^lint:.*/\"",
"lint:prettier": "prettier --check . --cache",
"lint:typescript": "tsc --noEmit",
"release": "env-cmd release-it",
"test": "vitest"
},
"dependencies": {
"use-context-selector": "^2.0.0"
},
"devDependencies": {
"@release-it/conventional-changelog": "^9.0.1",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/react": "^16.0.1",
"@tsconfig/strictest": "^2.0.5",
"@types/react": "^18.0.0",
"@vitejs/plugin-react": "^4.3.3",
"env-cmd": "^10.1.0",
"jsdom": "^25.0.1",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.1.0",
"prettier-plugin-packagejson": "^2.5.3",
"react": "^18.0.0",
"release-it": "^17.10.0",
"rimraf": "^6.0.1",
"typescript": "~5.6.3",
"vitest": "^2.1.4"
},
"peerDependencies": {
"react": "^18.0.0 || 19.0.0"
},
"engines": {
"pnpm": ">=9.0.0"
}
}