forked from stipsan/react-spring-bottom-sheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 3.97 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
131
132
133
134
135
{
"name": "@studio-freight/react-spring-bottom-sheet",
"description": "✨ Accessible, 🪄 Delightful, and 🤯 Performant. Built on react-spring for the web, and react-use-gesture.",
"license": "MIT",
"author": "Cody Olsen",
"homepage": "https://react-spring-bottom-sheet.cocody.dev",
"repository": "@studio-freight/react-spring-bottom-sheet",
"bugs": {
"url": "https://github.com/studio-freight/react-spring-bottom-sheet/issues"
},
"version": "3.4.1",
"main": "dist/index.js",
"module": "dist/index.es.js",
"files": [
"defaults.json",
"dist"
],
"scripts": {
"build": "next build",
"build:declarations": "tsc --project tsconfig.declarations.json",
"prebuild:dist": "rimraf dist/**",
"build:dist": "npm run build:postcss && npm run build:microbundle && npm run build:declarations",
"build:microbundle": "NODE_ENV=production microbundle --define process.env.NODE_ENV=production --tsconfig tsconfig.microbundle.json -f cjs,es,modern --css-modules false --jsx React.createElement --jsxFragment React.Fragment",
"build:postcss": "postcss -d dist src/style.css",
"dev": "next",
"lint": "eslint . --ext ts,tsx,js,jsx --max-warnings 0 && tsc",
"prepublishOnly": "npm run build:dist",
"start": "next start",
"test": "npm run prepublishOnly && npm run build"
},
"sideEffects": [
"*.css"
],
"types": "dist/index.d.ts",
"dependencies": {
"@babel/eslint-parser": "^7.17.0",
"@juggle/resize-observer": "^3.3.1",
"@reach/portal": "^0.17.0",
"@use-gesture/react": "^10.2.14",
"@xstate/react": "^3.0.0",
"body-scroll-lock": "4.0.0-beta.0",
"focus-trap": "^6.9.2",
"react-spring": "^9.4.5",
"xstate": "^4.32.1"
},
"peerDependencies": {
"react": "^16.14.0 || 17"
},
"devDependencies": {
"@react-spring/web": "^9.4.5",
"@rooks/use-raf": "^4.11.2",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@tailwindcss/forms": "^0.5.1",
"@tailwindcss/nesting": "0.0.0-insiders.565cd3e",
"@types/node": "^17.0.33",
"@types/react": "^18.0.9",
"@typescript-eslint/eslint-plugin": "^5.24.0",
"@typescript-eslint/parser": "^5.24.0",
"@use-it/interval": "^1.0.0",
"@xstate/inspect": "^0.7.0",
"autoprefixer": "^10.4.7",
"babel-plugin-transform-remove-console": "^6.9.4",
"clsx": "^1.1.1",
"eslint": "^8.15.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"husky": "^8.0.1",
"lint-staged": "^12.4.1",
"microbundle": "^0.15.0",
"next": "^12.1.6",
"postcss": "^8.4.13",
"postcss-cli": "^9.1.0",
"postcss-nesting": "^10.1.5",
"postcss-preset-env": "^7.5.0",
"prettier": "^2.6.2",
"prettier-package-json": "^2.6.3",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.2",
"smooth-scroll-into-view-if-needed": "^1.1.33",
"tailwindcss": "^3.0.24",
"typescript": "^4.6.4"
},
"keywords": [
"animation",
"bottom-drawer",
"bottom-sheet",
"bottomsheet",
"dialog",
"drag-drop",
"draggableview",
"drawer",
"gesture-control",
"modal",
"motion",
"overlay",
"popup",
"react",
"react-spring",
"react-use-gesture",
"sheet",
"typescript"
],
"browserslist": [
"Chrome >= 49",
"Android >= 58",
"Safari >= 9.1",
"iOS >= 9.3",
"Firefox >= 31",
"Edge >= 16"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jsnext:main": "dist/index.es.js",
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --fix",
"*.{js,jsx,ts,tsx,md,html,css,yml,json}": "prettier --write",
"package.json": "prettier-package-json --write"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"source": "src/index.tsx",
"style": "dist/style.css"
}