-
Notifications
You must be signed in to change notification settings - Fork 62
/
package.json
116 lines (116 loc) · 3.75 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
{
"name": "hemmelig",
"version": "6.0.0",
"description": "Paste a password, secret message or private information",
"main": "index.js",
"type": "module",
"scripts": {
"start": "prisma migrate deploy && node server.js",
"test": "mocha tests/**/*.test.js --reporter nyan && hurl --test tests/api/*.hurl",
"test-watch": "mocha --watch tests/**/*.test.js --reporter nyan",
"build": "node pre.js && vite build",
"dev": "npm run server-dev",
"server-dev": "prisma migrate dev && NODE_ENV=development node pre.js && NODE_ENV=development node server.js --dev",
"docker-build": "docker build -t hemmelig .",
"docker-run": "docker run -p 3000:3000 -d --name=hemmelig -v ./data/hemmelig/:/var/tmp/hemmelig/upload/files -v ./database/:/home/node/hemmelig/database/ hemmelig",
"production-test": "npm run docker-build && npm run docker-run",
"prepare": "husky install",
"prettier": "prettier --write --ignore-unknown server/ client/ shared/ prisma/",
"publish-cli": "rm -rf dist/ && npx microbundle build --target node -i cli.js -o dist/ && npm publish",
"pkg": "rm -rf dist/ bin/ && npx esbuild cli.js --bundle --platform=node --outfile=dist/cli.cjs --define:import.meta.url=__dirname && npx pkg dist/cli.cjs --targets=node18-linux-arm64 --output=bin/hemmelig"
},
"bin": {
"hemmelig": "./dist/hemmelig.esm.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/HemmeligOrg/Hemmelig.app.git"
},
"author": "Bjarne Øverli",
"license": "MIT",
"bugs": {
"url": "https://github.com/HemmeligOrg/Hemmelig.app/issues"
},
"homepage": "/",
"dependencies": {
"@aws-sdk/client-s3": "^3.450.0",
"@aws-sdk/lib-storage": "^3.450.0",
"@fastify/cookie": "^8.3.0",
"@fastify/cors": "^8.1.0",
"@fastify/helmet": "^9.1.0",
"@fastify/jwt": "^7.2.3",
"@fastify/multipart": "^7.1.1",
"@fastify/static": "^6.12.0",
"@fastify/vite": "^6.0.6",
"@prisma/client": "^4.12.0",
"@tabler/icons": "^1.83.1",
"@tailwindcss/forms": "^0.5.9",
"@vitejs/plugin-react": "^4.2.1",
"bcryptjs": "^2.4.3",
"config": "^3.3.6",
"email-validator": "^2.0.4",
"fastify": "^4.9.1",
"fastify-plugin": "^3.0.1",
"file-type": "^18.0.0",
"generate-password-browser": "^1.1.0",
"ip-range-check": "^0.2.0",
"is-base64": "^1.1.0",
"jsdom": "^22.1.0",
"meow": "^11.0.0",
"nanoid": "^3.1.31",
"node-fetch": "^2.6.7",
"pretty-bytes": "^4.0.2",
"react-qr-code": "^2.0.8",
"react-router-dom": "^6.21.3",
"recharts": "^2.13.0",
"sanitize-filename": "^1.6.3",
"tweetnacl": "^0.14.5",
"tweetnacl-util": "^0.15.1",
"unfetch": "^4.2.0",
"validator": "^13.7.0",
"y8": "^1.0.5"
},
"devDependencies": {
"autoprefixer": "^10.4.20",
"buffer": "^6.0.3",
"classcat": "^5.0.3",
"dayjs": "^1.11.7",
"deepmerge": "^4.2.2",
"dlv": "^1.1.3",
"husky": "^6.0.0",
"i18next": "^21.9.1",
"i18next-browser-languagedetector": "^6.1.5",
"i18next-http-backend": "^1.4.1",
"jszip": "^3.10.1",
"lint-staged": "^11.0.0",
"mocha": "^10.0.0",
"nodemon": "^2.0.7",
"postcss": "^8.4.47",
"prettier": "^3.2.4",
"prettier-plugin-organize-imports": "^3.2.4",
"prettier-plugin-prisma": "^5.0.0",
"prisma": "^4.12.0",
"react": "^18.3.1",
"react-dom": "^18.0.0",
"react-i18next": "^11.18.5",
"react-quill": "^2.0.0",
"tailwindcss": "^3.4.14",
"vite": "^5.4.10",
"zustand": "^5.0.0"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}