-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
84 lines (84 loc) · 1.91 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
79
80
81
82
83
84
{
"name": "@cher-ami/router",
"version": "3.5.4",
"description": "A fresh react router designed for flexible route transitions",
"author": "Willy Brauner",
"license": "MIT",
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"private": false,
"keywords": [
"router",
"react",
"typescript"
],
"repository": {
"type": "git",
"url": "git://github.com/cher-ami/router.git"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "rm -rf dist",
"build": "tsup",
"build:watch": "tsup --watch --sourcemap",
"dev": "FORCE_COLOR=1 turbo run dev",
"size": "size-limit",
"size-why": "size-limit -- --why",
"test": "vitest",
"test:watch": "vitest --watch",
"pre-publish": "npm run build && npm run test",
"prepare": "husky install"
},
"size-limit": [
{
"name": "@cher-ami/router",
"limit": "12 kB",
"path": "dist/index.js"
}
],
"dependencies": {
"@cher-ami/debug": "^1.2.0",
"history": "^5.3.0",
"path-to-regexp": "^6.2.1",
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^8.2.6",
"@testing-library/react": "^14.0.0",
"@types/node": "^20.8.7",
"@types/react": "^18.2.29",
"@types/react-dom": "^18.2.14",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"lint-staged": "^15.0.1",
"prettier": "^3.0.3",
"react-test-renderer": "^18.2.0",
"size-limit": "^9.0.0",
"tsup": "^7.2.0",
"turbo": "^1.10.15",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
"lint-staged": {
"*.{tsx,ts,jsx,js,less,css,json,md}": [
"prettier --write ."
]
},
"prettier": {
"printWidth": 90,
"semi": false
}
}