-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.79 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 2.79 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
{
"name": "react-constore",
"version": "1.1.1",
"description": "Lightweight and efficient state management for React with TypeScript support",
"author": "Mostafa Rastegar",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/mostafarastegar/react-constore.git"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./middlewares": {
"types": "./middlewares/index.d.ts",
"import": "./middlewares/index.ts",
"require": "./middlewares/index.ts"
}
},
"files": [
"dist",
"middlewares",
"types.ts",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"semantic-release": "semantic-release",
"build": "tsup src/index.ts --format cjs,esm --dts --clean --minify --treeshake && npm run copy-middlewares",
"copy-middlewares": "rm -rf middlewares && cp -r src/middlewares middlewares && cp -r src/types.ts middlewares",
"dev": "tsup src/index.ts --format cjs,esm --dts --watch && npm run copy-middlewares",
"prepare": "npm run build",
"type-check": "tsc --noEmit",
"size": "size-limit",
"test:size": "npm run build && npm run size",
"preview": "npm pack --dry-run",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:ci": "jest --ci --coverage --watchAll=false"
},
"keywords": [
"react",
"react18",
"react19",
"state",
"management",
"context",
"typescript",
"hooks",
"store",
"concurrent",
"server-components"
],
"peerDependencies": {
"react": ">=18.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": false
}
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.3",
"@semantic-release/npm": "^12.0.1",
"@semantic-release/release-notes-generator": "^14.0.3",
"@size-limit/preset-small-lib": "^11.0.0",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.8",
"@types/react": "^18.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react": "^18.0.0",
"semantic-release": "^24.2.5",
"size-limit": "^11.0.0",
"ts-jest": "^29.1.1",
"tsup": "^8.0.0",
"typescript": "^5.0.0"
},
"size-limit": [
{
"path": "dist/index.js",
"limit": "2KB"
},
{
"path": "dist/index.mjs",
"limit": "2KB"
}
],
"engines": {
"node": ">=16"
}
}