-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (71 loc) · 2.03 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (71 loc) · 2.03 KB
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
{
"name": "fundx",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint"
},
"dependencies": {
"@radix-ui/react-avatar": "^1.1.11",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-progress": "^1.1.8",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tabs": "^1.1.13",
"@stacks/auth": "^7.4.0",
"@stacks/bns": "^7.2.0",
"@stacks/common": "^7.3.1",
"@stacks/connect": "^8.2.6",
"@stacks/encryption": "^7.4.0",
"@stacks/network": "^7.3.1",
"@stacks/profile": "^7.4.0",
"@stacks/stacking": "^7.4.0",
"@stacks/storage": "^7.4.0",
"@stacks/transactions": "^7.4.0",
"@stacks/wallet-sdk": "^7.2.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"framer-motion": "^12.35.0",
"lucide-react": "^0.563.0",
"next": "16.1.4",
"next-themes": "^0.4.6",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-icons": "^5.5.0",
"reacts-cli": "^1.0.3",
"sonner": "^2.0.7",
"tailwind-merge": "^3.4.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"babel-plugin-react-compiler": "1.0.0",
"eslint": "^9",
"eslint-config-next": "16.1.4",
"tailwindcss": "^4",
"tw-animate-css": "^1.4.0",
"typescript": "^5"
}
}
// Utility function to sort and format dependencies
function sortAndFormatDependencies(dependencies) {
return Object.keys(dependencies).sort().reduce((acc, key) => {
acc[key] = dependencies[key];
return acc;
}, {});
}
// Example usage:
const formattedDependencies = sortAndFormatDependencies({
"@radix-ui/react-avatar": "^1.1.11",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16"
});
console.log(formattedDependencies);