-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
55 lines (55 loc) · 1.49 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
{
"name": "@worksolutions/react-utils",
"private": false,
"version": "2.2.8",
"description": "",
"types": "dist/esm/index.d.ts",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"repository": {
"type": "git",
"url": "https://github.com/worksolutions/frontend-react-utils"
},
"scripts": {
"test": "jest",
"format": "prettier --write --list-different \"src/**/*.{ts,tsx,js,json,yml}\"",
"build": "rm -rf dist && NODE_ENV=production && tsc --module ESNext --outDir dist/esm && tsc --module commonjs --outDir dist/cjs",
"lint": "eslint \"src/**/*.{ts,tsx}\""
},
"sideEffects": false,
"dependencies": {
"mobx": "^6.*",
"@worksolutions/utils": "^1.4.3",
"lodash.debounce": "^4.*",
"lodash.throttle": "^4.*",
"react": "*",
"react-dom": "*",
"react-use": "^17.*",
"@popperjs/core": "^2.*",
"mobx-utils": "^6.0.5"
},
"devDependencies": {
"@types/lodash.debounce": "^4.*",
"@types/lodash.throttle": "^4.*",
"@types/node": "*",
"@types/react": "*",
"@types/react-dom": "*",
"@types/resize-observer-browser": "^0.1.7",
"prettier": "*",
"typescript": "*",
"@worksolutions/eslint-config-common": "^1.0.1"
},
"eslintConfig": {
"extends": [
"@worksolutions/common"
],
"rules": {
"react-hooks/exhaustive-deps": [
"error",
{
"additionalHooks": "(useAsyncFn|useEffectSkipFirst|useMemoizeCallback|useObservableAsDeferredMemo)"
}
]
}
}
}