-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.13 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
{
"name": "react-let",
"version": "1.1.1",
"license": "MIT",
"author": "Max F. Albrecht (http://github.com/eins78)",
"type": "module",
"files": [
"dist"
],
"main": "./dist/react-let.umd.cjs",
"module": "./dist/react-let.js",
"exports": {
".": {
"import": "./dist/react-let.js",
"require": "./dist/react-let.umd.cjs"
}
},
"types": "./dist/types/main.d.ts",
"scripts": {
"dev": "vite",
"build": "npm run -s build:vite && npm run -s build:declarations",
"build:vite": "vite build",
"build:declarations": "npx tsc --noEmit false --emitDeclarationOnly && rm -rf dist/types/example/",
"clean": "rm -rf dist",
"dist": "tsc && npm run -s clean && npm run -s build",
"preview": "vite preview",
"test": "npm run dist",
"prepublishOnly": "npm run build"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/node": "^18.15.11",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react": "^3.1.0",
"prettier": "^2.8.7",
"typescript": "^4.9.3",
"vite": "^4.2.0"
}
}