forked from kmoskwiak/useSSE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
30 lines (30 loc) · 896 Bytes
/
package.json
File metadata and controls
30 lines (30 loc) · 896 Bytes
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
{
"name": "@topechelon/use-sse",
"version": "2.2.1",
"description": "useSSE - use server-side effect",
"main": "dist/index.cjs",
"types": "dist/index.d.ts",
"module": "dist/index.mjs",
"scripts": {
"build": "rm -rf dist && npm run build:esm && npm run build:cjs && npm run build:declarations",
"build:esm": "esbuild src/index.tsx --bundle --external:react --format=esm --outfile=dist/index.mjs",
"build:cjs": "esbuild src/index.tsx --bundle --external:react --format=cjs --outfile=dist/index.cjs",
"build:declarations": "tsc --declaration --emitDeclarationOnly"
},
"peerDependencies": {
"react": ">=16"
},
"devDependencies": {
"@types/react": "^18.0.9",
"typescript": "^4.7.2",
"esbuild": "^0.14.42"
},
"license": "MIT",
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"files": [
"LICENSE",
"dist/"
]
}