forked from pmndrs/use-gesture
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 3.32 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
{
"name": "@use-gesture/root",
"version": "0.0.0",
"description": "React hook for receiving gestures https://use-gesture.netlify.app",
"license": "MIT",
"private": true,
"preconstruct": {
"packages": [
"packages/*"
]
},
"scripts": {
"postinstall": "husky install && preconstruct dev",
"build": "preconstruct build",
"watch": "preconstruct watch",
"dev": "preconstruct dev",
"validate": "preconstruct validate",
"lint:full": "eslint packages/*/src",
"lint": "pretty-quick --staged",
"tsc": "tsc --noEmit",
"docs:start": "pnpm run start --filter documentation",
"docs:build": "pnpm run build --filter documentation",
"demo:dev": "pnpm run dev --filter demo",
"demo:build": "pnpm run build --filter demo",
"test": "jest",
"test:watch": "jest --watchAll",
"size": "size-limit",
"size:analyze": "size-limit --why",
"ci:version": "pnpm changeset version && pnpm install --lockfile-only",
"ci:publish": "pnpm build && pnpm changeset publish"
},
"size-limit": [
{
"name": "@use-gesture/react",
"path": "packages/react/dist/use-gesture-react.esm.js",
"limit": "9 KB",
"ignore": [
"react"
]
},
{
"name": "@use-gesture/react -- tree-shaking",
"import": "{ useDrag }",
"path": "packages/react/dist/use-gesture-react.esm.js",
"limit": "7 KB",
"ignore": [
"react"
]
},
{
"name": "@use-gesture/vanilla",
"path": "packages/vanilla/dist/use-gesture-vanilla.esm.js",
"limit": "9 KB"
},
{
"name": "@use-gesture/vanilla -- tree-shaking",
"import": "{ WheelGesture }",
"path": "packages/vanilla/dist/use-gesture-vanilla.esm.js",
"limit": "6 KB"
}
],
"jest": {
"testEnvironment": "jsdom",
"roots": [
"./test"
],
"setupFilesAfterEnv": [
"./setupPointerEvent.js"
],
"setupFiles": [
"@testing-library/react/dont-cleanup-after-each"
]
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@changesets/cli": "^2.21.0",
"@preconstruct/cli": "^2.1.5",
"@size-limit/preset-small-lib": "^7.0.8",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@types/jest": "^27.4.1",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.13",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.5.1",
"eslint": "^8.10.0",
"eslint-config-react-app": "^7.0.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest-dom": "^4.0.1",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.29.2",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-testing-library": "^5.0.5",
"husky": "^7.0.4",
"jest": "^27.5.1",
"patch-package": "^6.4.7",
"pnpm": "^6.32.2",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.5.1",
"pretty-quick": "^3.1.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"size-limit": "^7.0.8",
"tsd": "^0.19.1",
"typescript": "^4.6.2"
},
"pnpm": {
"overrides": {
"sharp": "0.28.2"
}
}
}