forked from stellar-nexus-experience/demo-suite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 4.61 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 4.61 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
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
{
"name": "stellar-nexus-experience",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"lint:fix": "eslint --fix .",
"lint:check": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"type-check": "tsc --noEmit",
"code-quality": "npm run lint:check && npm run type-check",
"code-quality:fix": "npm run lint:fix && npm run format",
"test": "echo 'No tests configured'",
"prepare": "husky || true",
"check": "npm run code-quality",
"check:fix": "npm run code-quality:fix",
"env:check": "node -e \"console.log('🔍 Environment Status:'); console.log('📊 Public variables:', Object.keys(process.env).filter(k => k.startsWith('NEXT_PUBLIC_')).length); console.log('🔐 Server variables:', Object.keys(process.env).filter(k => !k.startsWith('NEXT_PUBLIC_')).length); console.log('✅ Environment check completed')\"",
"env:setup": "cp env.example .env.local && echo '✅ Environment file created from template' && echo '📝 Edit .env.local with your values'",
"env:validate": "node -e \"console.log('✅ Environment validation will be checked on app startup')\"",
"test:unit": "jest --testPathPatterns='__tests__/.*\\.test\\.(ts|tsx|js|jsx)$'",
"test:unit:watch": "jest --testPathPatterns='__tests__/.*\\.test\\.(ts|tsx|js|jsx)$' --watch",
"test:components": "jest --testPathPatterns='components/.*\\.test\\.(ts|tsx|js|jsx)$'",
"test:components:watch": "jest --testPathPatterns='components/.*\\.test\\.(ts|tsx|js|jsx)$' --watch",
"test:lib": "jest --testPathPatterns='lib/.*\\.test\\.(ts|tsx|js|jsx)$'",
"test:lib:watch": "jest --testPathPatterns='lib/.*\\.test\\.(ts|tsx|js|jsx)$' --watch",
"test:coverage:html": "jest --coverage --coverageReporters=html",
"test:coverage:open": "open coverage/lcov-report/index.html",
"dev:clean": "rm -rf .next && npm run dev",
"dev:reset": "rm -rf .next node_modules package-lock.json && npm install && npm run dev",
"build:analyze": "ANALYZE=true npm run build",
"build:clean": "rm -rf .next && npm run build",
"start:prod": "npm run build && npm run start",
"docker:build": "docker build -t nexus-experience .",
"docker:run": "docker run -p 3000:3000 nexus-experience",
"docker:dev": "docker-compose up -d",
"docker:stop": "docker-compose down",
"clean": "rm -rf .next coverage node_modules/.cache",
"clean:all": "rm -rf .next coverage node_modules package-lock.json && npm install",
"setup": "npm install && npm run env:setup && npm run code-quality:fix",
"setup:dev": "npm run setup && npm run dev",
"ci": "npm run code-quality",
"ci:quick": "npm run lint:check && npm run test:unit",
"preview": "npm run build && npm run start",
"deploy": "npm run build && echo '🚀 Ready for deployment!'",
"deploy:vercel": "vercel --prod",
"deploy:vercel:preview": "vercel",
"health": "npm run env:check && npm run type-check && echo '✅ All systems healthy!'",
"health:full": "npm run health && npm run test:unit && echo '✅ Full health check passed!'"
},
"lint-staged": {
"src/**/*.{ts,tsx,js,jsx,json,css,scss}": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"@creit.tech/stellar-wallets-kit": "^1.8.0",
"@emailjs/browser": "^4.4.1",
"@stellar/stellar-sdk": "^13.3.0",
"@types/gif.js": "^0.2.5",
"@types/html2canvas": "^0.5.35",
"@types/uuid": "^10.0.0",
"autoprefixer": "^10.0.1",
"date-fns": "^4.1.0",
"firebase": "^12.2.1",
"gif.js": "^0.2.0",
"html2canvas": "^1.4.1",
"next": "^14.2.33",
"postcss": "^8",
"react": "^18",
"react-dom": "^18",
"stellar-sdk": "^13.3.0",
"tailwindcss": "^3.3.0",
"uuid": "^12.0.0",
"zod": "^4.1.5"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^30.0.0",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@typescript-eslint/eslint-plugin": "^8.42.0",
"@typescript-eslint/parser": "^8.42.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"glob": "^11.0.3",
"husky": "^9.1.7",
"jest": "^30.1.3",
"jest-environment-jsdom": "^30.1.2",
"lint-staged": "^16.1.6",
"prettier": "^3.6.2",
"typescript": "^5"
}
}