-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
130 lines (130 loc) · 3.09 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "monorepo",
"description": "A simple router for React. Monorepo package.",
"private": true,
"type": "module",
"workspaces": [
"packages/boom-router-react"
],
"version": "1.0.0",
"scripts": {
"fix:p": "prettier --write \"./packages/**/*.(js|ts){x,}\"",
"test": "vitest",
"size": "size-limit",
"build": "npm run build -ws",
"watch": "concurrently -n boom-router \\\\\\\"npm run -w packages/boom-router-react watch\\\\\\\"",
"lint": "eslint packages/**/*.js"
},
"author": "Rohit Khanduri <rohit.khanduri@proton.me>",
"repository": {
"type": "git",
"url": "git+https://github.com/rohit1901/boom-router.git"
},
"license": "MIT",
"prettier": {
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"printWidth": 80
},
"size-limit": [
{
"path": "packages/boom-router/esm/index.js",
"limit": "2500 B",
"ignore": [
"react",
"use-sync-external-store"
]
},
{
"path": "packages/boom-router/esm/use-browser-location.js",
"limit": "1000 B",
"import": "{ useBrowserLocation }",
"ignore": [
"react",
"use-sync-external-store"
]
},
{
"path": "packages/boom-router/esm/memory-location.js",
"limit": "1000 B",
"ignore": [
"react",
"use-sync-external-store"
]
},
{
"path": "packages/boom-router/esm/use-hash-location.js",
"limit": "1000 B",
"ignore": [
"react",
"use-sync-external-store"
]
}
],
"husky": {
"hooks": {
"commit-msg": "npm run fix:p"
}
},
"eslintConfig": {
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"es2020": true,
"browser": true,
"node": true
},
"rules": {
"no-unused-vars": [
"error",
{
"varsIgnorePattern": "^_",
"argsIgnorePattern": "^_"
}
],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
},
"plugins": [
"react-hooks"
],
"ignorePatterns": [
"types/**"
]
},
"devDependencies": {
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-replace": "^5.0.2",
"@size-limit/preset-small-lib": "^10.0.1",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@types/babel__core": "^7.20.2",
"@types/react": "^18.2.0",
"@types/react-test-renderer": "^18.0.0",
"@vitejs/plugin-react": "^4.0.4",
"@vitest/coverage-v8": "^0.34.3",
"concurrently": "^8.2.1",
"copyfiles": "^2.4.1",
"eslint": "^7.19.0",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.0",
"jsdom": "^22.1.0",
"path-to-regexp": "^6.2.1",
"prettier": "^2.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rimraf": "^3.0.2",
"rollup": "^4.18.0",
"size-limit": "^10.0.1",
"typescript": "5.2.2",
"vitest": "^0.34.6"
}
}