forked from gid-oss/dataui-nestjs-crud
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
80 lines (80 loc) · 2.81 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
{
"name": "@n4it/nestjs-crud",
"version": "1.0.0",
"description": "Nest CRUD for RESTful APIs",
"license": "GPL-3.0",
"workspaces": [
"packages/*"
],
"private": true,
"scripts": {
"s": "npx nps",
"s:list": "yarn s --scripts",
"rebuild": "yarn clean && yarn build",
"build": "yarn s build",
"clean": "yarn s clean",
"test": "npx jest --runInBand -c=jest.config.js packages/ --verbose",
"lint": "eslint \"packages/**/*.ts\" --fix",
"pub": "npx lerna publish --force-publish",
"db:cli:typeorm": "ts-node -r tsconfig-paths/register node_modules/typeorm/cli.js",
"db:sync:typeorm": "npx ts-node -r tsconfig-paths/register -P tsconfig.json ./node_modules/typeorm/cli.js schema:sync",
"db:drop:typeorm": "yarn db:cli:typeorm schema:drop",
"db:seeds:typeorm": "yarn db:cli:typeorm migration:run",
"db:prepare:typeorm": "yarn db:drop:typeorm -d ./database/postgres.datasource && yarn db:sync:typeorm -d ./database/postgres.datasource && yarn db:seeds:typeorm -d ./database/postgres.datasource",
"db:prepare:typeorm:mysql": "yarn db:drop:typeorm -d ./database/mysql.datasource && yarn db:sync:typeorm -d ./database/mysql.datasource && yarn db:seeds:typeorm -d ./database/mysql.datasource",
"test:all": "yarn test:mysql && yarn test:postgres",
"test:coverage": "yarn test:all --coverage",
"test:postgres": "yarn db:prepare:typeorm && yarn test",
"test:mysql": "yarn db:prepare:typeorm:mysql && TYPEORM_CONNECTION=mysql yarn test",
"test:mikro": "npx jest --runInBand -c=jest.config.js packages/crud-mikroorm --verbose"
},
"keywords": [
"nestjs",
"nest",
"crud",
"n4it"
],
"devDependencies": {
"@faker-js/faker": "9.3.0",
"@mikro-orm/postgresql": "^6.4.3",
"@mikro-orm/cli": "^6.4.3",
"@nestjs/common": "10.4.15",
"@nestjs/core": "10.4.15",
"@nestjs/platform-express": "10.4.15",
"@nestjs/swagger": "8.1.0",
"@nestjs/testing": "10.4.15",
"@nestjs/typeorm": "10.0.2",
"@types/jest": "29.5.14",
"@types/supertest": "6.0.2",
"@typescript-eslint/eslint-plugin": "6.0.0",
"@typescript-eslint/parser": "6.0.0",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"eslint": "8.42.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-prettier": "5.0.0",
"jest": "29.7.0",
"lerna": "7.1.1",
"mysql2": "3.11.5",
"nps": "5.10.0",
"nps-utils": "1.7.0",
"pg": "8.13.1",
"prettier": "3.0.0",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typeorm": "0.3.20",
"typeorm-extension": "3.6.3",
"typescript": "5.7.2"
},
"author": {
"name": "n4it",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/nest4it/nestjs-crud"
}
}