This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
81 lines (81 loc) · 3.35 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
{
"name": "ana",
"version": "1.24.0",
"description": "",
"main": "index.js",
"repository": "[email protected]:kolserdav/ana.git",
"types": "types",
"prisma": {
"schema": "./packages/server/orm/schema.prisma",
"seed": "node ./scripts/seed/insert-pages.js"
},
"scripts": {
"build:app": "npm run generate && cd packages/app && npm run build",
"build:server": "npm run migrate && cd packages/server && npm run build",
"start:server": "cd packages/server && npm run start",
"start:app": "cd packages/app && npm run start",
"build": "npm run build:app && npm run build:server",
"install:node": "npm install --ignore-scripts && npm run install:server && npm run install:app && npm run scripts",
"install:server": "cd packages/server && npm i",
"install:app": "cd packages/app && npm i",
"install:translate": "cd packages/translate2 && pip install -r requirements.txt",
"migrate:dev": "npm run format && npm run generate && prisma migrate dev --preview-feature",
"migrate": "npm run generate && prisma migrate deploy --preview-feature",
"migrate:reset": "prisma migrate reset --preview-feature",
"migrate:status": "prisma migrate status --preview-feature",
"seed": "prisma db seed",
"studio": "prisma studio",
"generate": "prisma generate",
"format": "prisma format",
"translate": "python packages/translate2/main.py",
"postinstall": "npm run install:node && npm run install:translate",
"dev:server": "cd packages/server && npm run dev",
"dev:app": "cd packages/app && npm run dev",
"dev": "concurrently \"npm run dev:node\" \"npm run translate\"",
"dev:node": "concurrently \"npm run dev:server\" \"npm run dev:app\"",
"dev:win": "concurrently \"npm run dev:server\" \"npm run dev:app\"",
"scripts:create-interfaces-symlink": "node scripts/create-interfaces-symlink.js",
"scripts:copy-test-constants": "node scripts/copy-test-constants.js",
"scripts:copy-env": "node scripts/copy-env.js",
"scripts:git-check": "env-cmd -f ./.env node scripts/git-check.js -e anaserver,ana -p packages/server,packages/app",
"scripts": "npm run scripts:create-interfaces-symlink && npm run scripts:copy-test-constants && npm run scripts:copy-env",
"test": "node --test tests/unit/*.test.js",
"test:translate": "env-cmd -f ./.env node tests/e2e/translate.test.js",
"types": "tsc -p ./jsconfig.json"
},
"keywords": [],
"author": "kolserdav",
"license": "AGPL-3.0 license",
"devDependencies": {
"@types/html-to-text": "^9.0.1",
"@types/jsonwebtoken": "^9.0.2",
"@types/node": "20.3.1",
"@types/nodemailer": "^6.4.8",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"concurrently": "^8.2.0",
"env-cmd": "^10.1.0",
"es-abstract": "^1.21.2",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"nodemon": "^2.0.22",
"prettier": "^2.8.8",
"prisma": "^5.0.0",
"puppeteer": "^19.6.0",
"rimraf": "^5.0.1",
"typescript": "^4.9.4"
},
"dependencies": {
"@fastify/cors": "^8.3.0",
"@fastify/http-proxy": "^9.2.1",
"@prisma/client": "^5.0.0",
"date-fns": "^2.30.0",
"dotenv": "^16.3.1",
"html-to-text": "^9.0.5",
"jsonwebtoken": "^9.0.0",
"nodemailer": "^6.9.3",
"uuid": "^9.0.0"
}
}