-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.72 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 2.72 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
{
"name": "bluga",
"version": "1.0.0",
"description": "A blogging platform",
"main": "index.js",
"repository": "https://github.com/devylab/bluga.git",
"author": "Cavdy <cavdyofficials@gmail.com>",
"license": "MIT",
"type": "module",
"engines": {
"npm": ">=9.8.0",
"node": ">=18.9.0"
},
"scripts": {
"prebuild": "rimraf build && yarn find-deadcode",
"prestart": "yarn migrate:prod",
"minify-copy": "yarn grunt && yarn grunt:copy",
"build": "tsc && yarn minify-copy",
"generate": "prisma generate",
"generate:secret": "./node_modules/@fastify/secure-session/genkey.js > secret_key",
"dev": "tsx watch --loader ./generate_secret.cjs src/index.mts",
"find-deadcode": "ts-prune",
"start": "node --loader ./generate_secret.cjs build/index.mjs",
"migrate:dev": "prisma migrate dev --name",
"migrate:prod": "prisma migrate deploy && prisma db seed",
"seed": "prisma db seed",
"grunt": "grunt",
"grunt:watch": "grunt watch --force",
"grunt:copy": "grunt copy",
"prettier": "prettier --write \"**/*.{ts,tsx}\""
},
"devDependencies": {
"@types/adm-zip": "^0.5.0",
"@types/ejs": "^3.1.1",
"@types/html-minifier": "^4.0.2",
"@types/jsonwebtoken": "^9.0.1",
"@types/node": "^18.11.9",
"@types/sanitize-html": "^2.6.2",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"autoprefixer": "^10.4.13",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"grunt": "^1.5.3",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-uglify": "^5.2.2",
"grunt-contrib-watch": "^1.1.0",
"prettier": "^2.7.1",
"prisma": "^4.14.1",
"rimraf": "^3.0.2",
"ts-prune": "^0.10.3",
"typescript": "^4.9.3"
},
"dependencies": {
"@fastify/compress": "^6.1.1",
"@fastify/cookie": "^8.3.0",
"@fastify/csrf-protection": "^6.2.0",
"@fastify/formbody": "^7.3.0",
"@fastify/helmet": "^10.0.2",
"@fastify/multipart": "^7.5.0",
"@fastify/rate-limit": "^8.0.0",
"@fastify/restartable": "^2.1.0",
"@fastify/secure-session": "^6.1.0",
"@fastify/static": "^6.5.0",
"@fastify/view": "^7.1.2",
"@ladjs/graceful": "^3.2.2",
"@prisma/client": "^4.14.1",
"adm-zip": "^0.5.10",
"argon2": "^0.30.2",
"dotenv": "^16.0.3",
"editorjs-html": "^3.4.2",
"ejs": "^3.1.9",
"envalid": "^7.3.1",
"fastify": "^4.17.0",
"html-minifier": "^4.0.0",
"jsonwebtoken": "^9.0.0",
"nanoid": "3.3.4",
"node-cache": "^5.1.2",
"rxjs": "^7.5.7",
"sanitize-html": "^2.7.3",
"sitemap": "^7.1.1",
"striptags": "^3.2.0",
"tsx": "^3.12.7"
},
"prisma": {
"seed": "tsx prisma/seed/index.ts"
}
}