forked from stipsan/react-spring-bottom-sheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
139 lines (139 loc) · 4.05 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
{
"name": "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": "stipsan/react-spring-bottom-sheet",
"bugs": {
"url": "https://github.com/stipsan/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": {
"@reach/portal": "^0.13.0",
"@xstate/react": "^1.2.0",
"body-scroll-lock": "^3.1.5",
"focus-trap": "^6.2.2",
"react-spring": "^8.0.27",
"react-use-gesture": "^8.0.1",
"xstate": "^4.15.1"
},
"peerDependencies": {
"react": "^16.14.0 || 17 || 18"
},
"devDependencies": {
"@rooks/use-raf": "^4.5.0",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@tailwindcss/forms": "^0.4.0",
"@types/classnames": "^2.2.11",
"@types/node": "^14.14.10",
"@types/react": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"@use-it/interval": "^1.0.0",
"@xstate/inspect": "^0.6.0",
"autoprefixer": "^10.0.4",
"babel-eslint": "^10.1.0",
"babel-plugin-transform-remove-console": "^6.9.4",
"classnames": "^2.2.6",
"eslint": "^7.14.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^6.0.0",
"lint-staged": "^10.5.3",
"microbundle": "^0.14.0",
"next": "^10.0.3",
"postcss": "^8.1.14",
"postcss-cli": "^8.3.0",
"postcss-custom-properties-fallback": "^1.0.1",
"postcss-import-svg": "^1.0.1",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.2.1",
"prettier-package-json": "^2.1.3",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"rimraf": "^3.0.2",
"semantic-release": "^17.3.0",
"smooth-scroll-into-view-if-needed": "^1.1.29",
"svgo": "^1.3.2",
"tailwindcss": "^2.0.1",
"typescript": "^4.1.2"
},
"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"
}