-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.69 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 1.69 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
{
"name": "@icydotdev/pocket",
"version": "1.0.7",
"description": "Pocket-sized React Context syntax. One call, zero ceremony.",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"assets/logo.png"
],
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"react": ">=17"
},
"sideEffects": false,
"scripts": {
"build": "tsup src/index.tsx --format esm,cjs --dts --clean",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run lint && npm run typecheck && npm run test && npm run build"
},
"devDependencies": {
"@testing-library/react": "^16.0.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"jsdom": "^25.0.0",
"prettier": "^3.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tsup": "^8.2.0",
"typescript": "^5.5.0",
"vitest": "^2.1.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/icydotdev/pocket.git"
},
"homepage": "https://github.com/icydotdev/pocket#readme",
"bugs": {
"url": "https://github.com/icydotdev/pocket/issues"
},
"keywords": [
"react",
"context",
"hook",
"state",
"provider"
],
"author": "icy.dev",
"license": "MIT"
}