-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
78 lines (78 loc) · 1.99 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
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
{
"name": "brouther",
"type": "module",
"version": "5.2.2",
"source": "./src/index.ts",
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.cjs",
"exports": {
".": {
"default": {
"type": "./dist/index.d.ts",
"import": "./dist/index.cjs",
"default": "./dist/index.js",
"require": "./dist/index.cjs"
},
"types": {
"import": "./dist/index.d.ts",
"require": "./dist/index.d.ts",
"default": "./dist/index.d.ts"
}
}
},
"scripts": {
"build": "NODE_ENV=production vite build; tsc",
"dev": "vite build --watch",
"pack": "npm pack --dry-run --pack-destination out out/brouther",
"prepack": "npm run build",
"prepare": "npm run build",
"start": "vite build --watch",
"test": "vitest run && npm run test:types",
"test:types": "tsc -p ./tsconfig.test.json",
"test:watch": "vitest watch",
"cy": "cypress open",
"cy:chrome": "cypress run --browser chrome",
"cy:electron": "cypress run --browser electron",
"cy:run": "npm run cy:chrome && npm cy:electron",
"cy:browser": "start-server-and-test start http://localhost:5173 cy:run",
"typedoc": "typedoc --out docs src/index.ts"
},
"dependencies": {
"history": "5.3.0",
"qs": "6.13.0",
"react-error-boundary": "4.0.13",
"ts-toolbelt": "9.6.0"
},
"peerDependencies": {
"react": ">=16.8.3"
},
"devDependencies": {
"@types/node": "20.12.13",
"@types/qs": "6.9.15",
"@types/react": "18.3.3",
"cypress": "13.10.0",
"prettier": "3.2.5",
"start-server-and-test": "2.0.3",
"ts-node": "10.9.2",
"tslib": "2.6.2",
"typescript": "5.4.5",
"vite": "5.2.12",
"vitest": "1.6.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"volta": {
"node": "18.13.0"
}
}