-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 3.76 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 3.76 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "revisium",
"version": "2.7.2",
"description": "Revisium is a tool (UI/API) inspired by JSON (JSON Schema) and Git, designed to provide a flexible and low-level headless CMS solution.",
"private": true,
"homepage": "https://revisium.io",
"license": "Apache-2.0",
"author": "Anton Kashirov",
"scripts": {
"prisma:migrate:deploy": "npx prisma migrate deploy --schema node_modules/@revisium/core/dist/prisma/schema.prisma",
"prisma:studio": "npx prisma studio",
"seed": "node node_modules/@revisium/core/dist/prisma/seed.js",
"build": "nest build",
"copy:admin": "cp -R node_modules/@revisium/admin/dist ./client",
"prepare": "npm run copy:admin",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "npm run prisma:migrate:deploy && node --experimental-require-module node_modules/@revisium/core/dist/prisma/seed.js && node --experimental-require-module dist/src/main",
"lint:ci": "eslint \"{src,apps,libs,test}/**/*.ts\"",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"tsc": "tsc -p tsconfig.json",
"prepare:playwright-tests": "docker compose -f docker-compose.tests.yml -p test-revisium-playwright up --build --wait -d && npm run prisma:migrate:deploy && npm run seed && npm run copy:admin",
"playwright-tests": "npx playwright test",
"playwright-tests:ui": "npx playwright test --ui",
"playwright-tests:generate-api": "npx swagger-typescript-api generate -p http://localhost:8080/api-json -o e2e/utils/api -n revisium.ts",
"standalone:build": "npm run build && bash standalone/build.sh"
},
"dependencies": {
"@nestjs/common": "^11.1.11",
"@nestjs/config": "^4.0.2",
"@nestjs/core": "^11.1.11",
"@nestjs/platform-express": "^11.1.11",
"@nestjs/swagger": "^11.2.4",
"@revisium/admin": "^2.5.2",
"@revisium/core": "^2.9.2",
"@revisium/endpoint": "^2.5.1",
"graphql": "^16.12.0"
},
"devDependencies": {
"@nestjs/cli": "^11.0.14",
"@nestjs/schematics": "^11.0.9",
"@nestjs/testing": "^11.1.11",
"@playwright/test": "^1.56.1",
"@types/express": "^5.0.6",
"@types/jest": "^29.5.14",
"@types/node": "^24.10.1",
"@types/supertest": "^6.0.3",
"@typescript-eslint/eslint-plugin": "^8.32.1",
"@typescript-eslint/parser": "^8.32.1",
"eslint": "^9.27.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.4.1",
"jest": "^29.7.0",
"jest-mock-extended": "^3.0.7",
"prettier": "^3.5.3",
"prisma": "^7.4.0",
"source-map-support": "^0.5.21",
"supertest": "^7.2.2",
"swagger-typescript-api": "^13.2.16",
"ts-jest": "^29.4.6",
"ts-loader": "^9.5.4",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.52.0"
},
"overrides": {
"hono": "^4.12.7",
"@hono/node-server": "^1.19.10",
"lodash": "^4.17.23",
"@angular-devkit/core": {
"ajv": "^8.18.0"
},
"schema-utils@3": {
"ajv": "^6.14.0"
},
"schema-utils@4": {
"ajv": "^8.18.0"
},
"file-type": "^21.3.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}