-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
105 lines (105 loc) · 2.56 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
{
"name": "required-react-context",
"description": "A simple React Context wrapper that throws an error if it is used without being provided",
"packageManager": "[email protected]",
"version": "1.4.1",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./canary": {
"import": "./dist/canary.js",
"require": "./dist/canary.cjs"
}
},
"files": [
"dist",
"canary"
],
"workspaces": [
"examples/*"
],
"keywords": [
"react",
"context",
"required",
"createcontext",
"usecontext"
],
"scripts": {
"prepare": "husky install",
"prebuild": "yarn run type",
"clean": "rimraf dist",
"build": "yarn clean && yarn build-only",
"build-only": "tsup",
"test": "vitest",
"lint": "eslint",
"format": "prettier",
"pre-commit": "lint-staged",
"attw": "attw",
"publint": "publint",
"type": "tsc",
"prepack": "yarn run publint",
"size": "size-limit",
"example": "yarn workspace example-app dev"
},
"repository": "https://github.com/EskiMojo14/required-react-context.git",
"author": "EskiMojo14 <[email protected]>",
"license": "MIT",
"prettier": {},
"lint-staged": {
"*.{ts,md}": "prettier --write"
},
"tsup": {
"entry": [
"src/index.tsx",
"src/canary.tsx"
],
"sourcemap": true,
"format": [
"esm",
"cjs"
],
"dts": true,
"minify": true
},
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.2",
"@size-limit/preset-small-lib": "^11.1.2",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^16",
"@testing-library/user-event": "^14.5.2",
"@types/eslint": "^8",
"@types/node": "^20.12.7",
"@types/react": "^19",
"@types/react-dom": "^19",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"eslint": "^8.57.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-vitest": "^0.4.0",
"husky": "^9.0.11",
"jsdom": "^25.0.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"publint": "^0.2.7",
"react": "^19",
"react-dom": "^19",
"rimraf": "^5.0.5",
"size-limit": "^11.1.2",
"tsup": "^8.0.2",
"typescript": "^5.4.3",
"vitest": "^1.4.0"
}
}