-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
184 lines (184 loc) · 5.4 KB
/
Copy pathpackage.json
File metadata and controls
184 lines (184 loc) · 5.4 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
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
{
"name": "@benzid.wael/secure-vault",
"version": "0.1.9",
"description": "A secure password management application built with Electron and React",
"type": "module",
"main": "build/electron/main.cjs",
"homepage": "./",
"license": "MIT",
"author": {
"name": "Wael Ben Zid",
"email": "benzid.wael@hotmail.fr"
},
"repository": {
"type": "git",
"url": "git+https://github.com/benzid-wael/secure-vault.git"
},
"engines": {
"node": ">=20.10.0"
},
"files": [
"bin/",
"src/electron/",
"src/utils/",
"README.md",
"LICENSE"
],
"scripts": {
"dev": "vite",
"start": "vite",
"build": "vite build",
"preview": "vite preview",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"test:coverage:ui": "vitest --ui --coverage",
"test:coverage:check": "node scripts/coverage-check.js",
"lint": "cross-env ESLINT_USE_FLAT_CONFIG=true eslint .",
"lint:fix": "cross-env ESLINT_USE_FLAT_CONFIG=true eslint . --fix",
"typecheck": "tsc --noEmit",
"format": "prettier --write .",
"format:check": "prettier --check .",
"dev:electron": "npm run build:main && concurrently -k -n VITE,ELECTRON -c blue,green \"vite\" \"wait-on tcp:3000 && cross-env ELECTRON_IS_DEV=1 electron .\"",
"dev:renderer": "vite",
"dev:main": "cross-env NODE_ENV=development electron .",
"build:renderer": "vite build",
"build:main": "vite build --config vite.electron.config.js",
"build:all": "npm run build:renderer && npm run build:main",
"verify-build": "node scripts/verify-build.js",
"start:dev": "cross-env NODE_ENV=development electron .",
"start:prod": "cross-env NODE_ENV=production electron .",
"package": "npm run build:all && electron-builder",
"package:mac": "npm run build:all && electron-builder --mac",
"package:win": "npm run build:all && electron-builder --win",
"package:linux": "npm run build:all && electron-builder --linux",
"package:cli": "node scripts/build-cli.js",
"release:tag": "bash scripts/release-tag.sh",
"release:promote": "bash scripts/npm-dist-tag.sh",
"electron": "npm run start:prod",
"electron-dev": "npm run dev:electron",
"electron:build": "npm run build:all",
"electron-pack": "npm run package",
"preelectron-pack": "npm run build:all",
"prepare": "husky"
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@inquirer/password": "^5.1.1",
"@mui/icons-material": "^5.14.1",
"@mui/material": "^5.14.1",
"chalk": "^5.6.0",
"commander": "^15.0.0",
"crypto-js": "^4.1.1",
"electron-is-dev": "^2.0.0",
"figlet": "^1.8.2",
"fs-extra": "^11.1.1",
"node-forge": "^1.3.1",
"ora": "^9.4.0",
"path": "^0.12.7",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^7.17.0",
"uuid": "^14.0.0"
},
"devDependencies": {
"@babel/core": "^7.23.5",
"@emotion/babel-plugin": "^11.11.0",
"@eslint/js": "^8.57.1",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.5.1",
"@types/node": "^20.10.5",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^6.0.0",
"@vitest/coverage-v8": "^4.1.8",
"@vitest/ui": "^4.1.8",
"concurrently": "^10.0.3",
"cross-env": "^7.0.3",
"electron": "^42.3.3",
"electron-builder": "^26.15.2",
"esbuild": "^0.28.0",
"eslint": "^8.56.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"globals": "^17.6.0",
"husky": "^9.1.7",
"jsdom": "^22.1.0",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"typescript": "^5.9.3",
"vite": "^8.0.16",
"vite-plugin-electron": "^0.15.5",
"vitepress": "^1.6.4",
"vitest": "^4.1.8",
"wait-on": "^9.0.10"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"npx prettier --write"
],
"*.{json,md,css}": [
"npx prettier --write"
]
},
"build": {
"appId": "com.securepasswordmanager.app",
"productName": "Secure Password Manager",
"files": [
"build/**/*",
"node_modules/**/*"
],
"directories": {
"buildResources": "public",
"output": "dist"
},
"publish": null,
"mac": {
"category": "public.app-category.utilities",
"target": [
"dmg",
"zip"
]
},
"win": {
"target": [
"nsis",
"portable"
]
},
"linux": {
"target": [
"AppImage",
"deb"
],
"category": "Utility",
"executableName": "secure-vault",
"artifactName": "secure-vault-${version}-${arch}.${ext}"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"bin": {
"vault": "./bin/cli.js"
}
}