-
Notifications
You must be signed in to change notification settings - Fork 46
/
package.json
128 lines (128 loc) · 4.64 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
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "example",
"version": "1.0.0",
"description": "",
"author": "",
"type": "module",
"license": "ISC",
"engines": {
"node": ">=18"
},
"scripts": {
"lint": "eslint src --ext .ts,.tsx",
"typeorm": "./node_modules/typeorm/cli.js --dataSource dist/sources/typeorm/config.js",
"sequelize": "yarn sequelize-cli --config src/sources/sequelize/config.js",
"knex": "dotenv -c '.env' -- npx knex --knexpath dist/sources/objectionjs/index.js --knexfile dist/sources/objectionjs/knexfile.cjs",
"mikroorm": "node --experimental-specifier-resolution=node --loader ts-node/esm ./node_modules/.bin/mikro-orm",
"migration:up": "yarn sequelize db:migrate && yarn typeorm migration:run && yarn mikroorm migration:up && yarn prisma migrate dev --schema prisma/schema.prisma && yarn knex migrate:latest",
"migration:up:production": "yarn sequelize db:migrate && yarn typeorm migration:run && yarn mikro-orm migration:up && yarn prisma migrate deploy --schema prisma/schema.prisma",
"docker:up": "docker-compose -f docker-compose.yaml up -d",
"start:dev": "nodemon",
"start": "node dist/index.js",
"build": "yarn clean && tsc && yarn copy-theme",
"build:watch": "tsc -w",
"postgres:clean": "node dist/scripts/truncate-postgres",
"mysql:clean": "prisma migrate reset --force && prisma migrate deploy",
"mongodb:clean": "node dist/scripts/truncate-mongodb",
"db:clean": "yarn postgres:clean && yarn mysql:clean && yarn mongodb:clean",
"seed:typeorm": "node dist/sources/typeorm/seeds/run",
"seed:sequelize": "node dist/sources/sequelize/seeds/run",
"seed:mongoose": "node dist/sources/mongoose/seeds/run",
"seed:mikro-orm": "node dist/sources/mikroorm/seeds/run",
"seed:prisma": "node dist/sources/prisma/seeds/run",
"seed:all": "yarn seed:typeorm && yarn seed:sequelize && yarn seed:mongoose && yarn seed:mikro-orm && yarn seed:prisma",
"clean": "rimraf dist",
"copy-theme": "copyfiles -u 1 src/themes/**/theme.bundle.js src/themes/**/*.css dist/"
},
"mikro-orm": {
"useTsNode": true,
"configPaths": [
"./dist/sources/mikroorm/config.js",
"./src/sources/mikroorm/config.ts"
]
},
"prisma": {
"schema": "prisma/schema.prisma"
},
"dependencies": {
"@adminjs/express": "^6.0.0",
"@adminjs/fastify": "^4.0.0",
"@adminjs/hapi": "^7.0.0",
"@adminjs/koa": "^4.0.0",
"@adminjs/mikroorm": "^3.0.0",
"@adminjs/mongoose": "^4.0.0",
"@adminjs/objection": "^2.0.0",
"@adminjs/passwords": "^4.0.0",
"@adminjs/prisma": "^4.0.0",
"@adminjs/sequelize": "^4.0.0",
"@adminjs/themes": "^1.0.0",
"@adminjs/typeorm": "^5.0.0",
"@faker-js/faker": "^7.6.0",
"@hapi/boom": "^10.0.1",
"@hapi/cookie": "^12.0.1",
"@hapi/hapi": "^21.3.0",
"@koa/router": "^12.0.0",
"@mikro-orm/cli": "^5.6.15",
"@mikro-orm/core": "^5.6.15",
"@mikro-orm/migrations": "^5.6.15",
"@mikro-orm/nestjs": "^5.1.7",
"@mikro-orm/postgresql": "^5.6.15",
"@nestjs/common": "^9.3.12",
"@nestjs/core": "^9.3.12",
"@nestjs/mongoose": "^9.2.2",
"@nestjs/platform-express": "^9.3.12",
"@nestjs/typeorm": "^9.0.1",
"@prisma/client": "^4.11.0",
"adminjs": "^7.0.9",
"ajv-formats": "^2.1.1",
"argon2": "^0.30.3",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"connect-pg-simple": "^8.0.0",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-formidable": "^1.2.0",
"express-session": "^1.17.3",
"fastify-static": "^4.7.0",
"i18next": "^22.4.13",
"knex": "^2.4.2",
"koa": "^2.14.2",
"koa2-formidable": "^1.0.3",
"mongoose": "^7.0.2",
"nodemon": "^2.0.21",
"objection": "^3.0.1",
"pg": "^8.10.0",
"prisma": "^4.11.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.0",
"sequelize": "^6.29.3",
"sequelize-cli": "^6.6.0",
"tslib": "^2.5.0",
"typeorm": "^0.3.12",
"uuid": "^9.0.0"
},
"devDependencies": {
"@types/argon2": "^0.15.0",
"@types/connect-pg-simple": "^7.0.0",
"@types/cors": "^2.8.13",
"@types/express-session": "^1.17.7",
"@types/lodash": "^4.14.191",
"@types/node": "^18.15.5",
"@types/uuid": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"copyfiles": "^2.4.1",
"dotenv-cli": "^7.1.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^2.8.6",
"rimraf": "^4.4.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.2",
"typescript": "^5.0.2"
}
}