forked from wh1teee/react-spring-bottom-sheet-updated
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
144 lines (144 loc) · 4.21 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
136
137
138
139
140
141
142
143
144
{
"name": "@la55u/react-spring-bottom-sheet-updated",
"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": "https://github.com/la55u/react-spring-bottom-sheet-updated",
"bugs": {
"url": "https://github.com/la55u/react-spring-bottom-sheet-updated/issues"
},
"version": "1.0.3",
"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": {
"@juggle/resize-observer": "^3.4.0",
"@radix-ui/react-portal": "^1.0.3",
"@xstate/react": "^3.2.2",
"body-scroll-lock": "^3.1.5",
"focus-trap": "^7.4.3",
"react-spring": "^9.7.1",
"react-use-gesture": "^9.1.3",
"svgo": "3.0.2",
"xstate": "^4.37.2"
},
"peerDependencies": {
"react": "^16.14.0 || 17 || 18"
},
"devDependencies": {
"@rooks/use-raf": "^4.11.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@tailwindcss/forms": "^0.5.3",
"@types/classnames": "^2.3.1",
"@types/node": "^20.3.1",
"@types/react": "^18.2.12",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"@use-it/interval": "^1.0.0",
"@xstate/inspect": "^0.8.0",
"autoprefixer": "^10.4.14",
"babel-eslint": "^10.1.0",
"babel-plugin-transform-remove-console": "^6.9.4",
"classnames": "^2.3.2",
"eslint": "^8.43.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"microbundle": "^0.15.1",
"next": "^13.4.6",
"postcss": "^8.4.24",
"postcss-cli": "^10.1.0",
"postcss-custom-properties-fallback": "^1.0.2",
"postcss-import-svg": "^1.0.5",
"postcss-preset-env": "^8.5.0",
"prettier": "^2.8.8",
"prettier-package-json": "^2.8.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^5.0.1",
"semantic-release": "^21.0.5",
"smooth-scroll-into-view-if-needed": "^2.0.0",
"swiper": "^9.4.1",
"tailwindcss": "^3.3.2",
"typescript": "^5.1.3"
},
"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"
},
"meta": {
"twitter:site": "@stipsan",
"twitter:image:src": "https://react-spring-bottom-sheet.cocody.dev/somecard.png"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"source": "src/index.tsx",
"style": "dist/style.css",
"publishConfig": {
"access": "public"
}
}