-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathpackage.json
85 lines (85 loc) · 2.3 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
{
"version": "4.0.1",
"license": "MIT",
"name": "react-modal-sheet",
"description": "Flexible bottom sheet component for your React apps",
"author": "Teemu Taskula",
"repository": "https://github.com/Temzasse/react-modal-sheet",
"homepage": "https://temzasse.github.io/react-modal-sheet",
"keywords": [
"react",
"modal",
"motion",
"bottom-sheet",
"accessibility",
"framer-motion"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"dev": "tsup --watch --onSuccess \"npm run link:update\"",
"build": "tsup",
"build:verify": "attw --pack .",
"format:check": "biome format ./src",
"format:write": "biome format --write ./src",
"lint:check": "biome lint --error-on-warnings ./src",
"lint:write": "biome lint --error-on-warnings --write ./src",
"link": "yalc publish && npm run link:example && npm run link:example-ssr",
"link:example": "cd example && yalc add react-modal-sheet && npm i",
"link:example-ssr": "cd example-ssr && yalc add react-modal-sheet && npm i",
"link:update": "tsup --dts-only && yalc push --replace",
"test": "vitest run",
"typecheck": "tsc --noEmit",
"verify": "run-p format:check lint:check typecheck",
"release": "npm run verify && npm run build && npm run build:verify && np",
"prepare": "husky"
},
"peerDependencies": {
"motion": ">=11",
"react": ">=16"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.17.2",
"@biomejs/biome": "1.9.4",
"@types/react": "19.0.2",
"@types/react-dom": "19.0.2",
"@vitejs/plugin-react": "4.3.4",
"csstype": "3.1.3",
"husky": "9.1.7",
"jsdom": "25.0.1",
"motion": "11.15.0",
"npm-run-all": "4.1.5",
"react": "19.0.0",
"react-dom": "19.0.0",
"tsup": "8.3.5",
"typescript": "5.7.2",
"vite": "6.0.6",
"vitest": "2.1.8"
},
"engines": {
"node": ">=18"
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
}
}