-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
51 lines (51 loc) · 1.37 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
{
"name": "react-stackai",
"version": "0.1.9",
"files": [
"dist"
],
"type": "module",
"main": "./dist/react-stack.cjs",
"module": "./dist/react-stack.js",
"react-native": "./dist/react-stack.js",
"exports": {
".": {
"types": "./dist/stack.d.ts",
"import": "./dist/react-stack.js",
"require": "./dist/react-stack.cjs"
},
"./vanilla": {
"require": "./dist/vanilla/vanilla-stackai.js"
}
},
"scripts": {
"dev": "vite",
"build:react": "tsc && cross-env BUILD_TARGET=react vite build",
"build:vanilla": "tsc && cross-env BUILD_TARGET=vanilla vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
},
"dependencies": {
"lodash.debounce": "^4.0.8",
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
},
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
},
"devDependencies": {
"@types/lodash.debounce": "^4.0.9",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-react-swc": "^3.3.2",
"cross-env": "^7.0.3",
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"typescript": "^5.0.2",
"vite": "^4.5.3"
}
}