-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
140 lines (140 loc) · 5.04 KB
/
Copy pathpackage.json
File metadata and controls
140 lines (140 loc) · 5.04 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "@adaptivestone/framework",
"version": "5.4.0",
"description": "Adaptive stone node js framework",
"type": "module",
"engines": {
"node": ">=24.0.0",
"bun": ">=1.4.0"
},
"exports": {
"./package.json": "./package.json",
"./server.js": "./dist/server.js",
"./Cli.js": "./dist/Cli.js",
"./cluster.js": "./dist/cluster.js",
"./types.js": "./dist/types.js",
"./folderConfig.js": "./dist/folderConfig.js",
"./config/*": "./dist/config/*",
"./modules/*": "./dist/modules/*",
"./models/*": "./dist/models/*",
"./helpers/*": "./dist/helpers/*",
"./services/*": "./dist/services/*",
"./controllers/*": "./dist/controllers/*",
"./tests/*": "./dist/tests/*",
"./migrations/*": "./dist/migrations/*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/adaptivestone/framework.git"
},
"homepage": "https://framework.adaptivestone.com/",
"scripts": {
"build": "rm -rf dist && tsc",
"postbuild": "cp -R ./src/migrations ./dist/migrations && cp -R ./src/locales ./dist/locales && cp -R ./src/services/messaging/email/resources ./dist/services/messaging/email/resources",
"check:types": "npm run gen && tsc --noEmit",
"check:types:raw": "tsc --noEmit",
"check:types:fast": "npm run gen && tsc --noEmit",
"check:types:tests": "npm run gen && tsc --noEmit -p tsconfig.tests.json",
"dev": "node --watch ./src/index.ts",
"prod": "node ./src/cluster.ts",
"test": "npm run test:coverage",
"t": "node --experimental-test-module-mocks --test --import=./src/tests/setupNodeTest.ts --import=./src/tests/frameworkNodeTestSetup.ts --test-global-setup=./src/tests/globalSetupNodeTest.ts --test-timeout=10000 'src/**/*.test.ts' 'src/**/*.node-test.ts'",
"test:node": "npm run t",
"test:bun": "./scripts/bun-test.sh",
"test:coverage": "mkdir -p coverage && node --experimental-test-module-mocks --experimental-test-coverage --test --import=./src/tests/setupNodeTest.ts --import=./src/tests/frameworkNodeTestSetup.ts --test-global-setup=./src/tests/globalSetupNodeTest.ts --test-timeout=10000 --test-coverage-exclude='src/tests/**' --test-coverage-exclude='**/*.test.ts' --test-coverage-exclude='**/*.node-test.ts' --test-reporter=spec --test-reporter-destination=stdout --test-reporter=junit --test-reporter-destination=coverage/junit.rspec.xml --test-reporter=lcov --test-reporter-destination=coverage/lcov.info 'src/**/*.test.ts' 'src/**/*.node-test.ts'",
"format": "biome format",
"format:fix": "biome format --write",
"lint": "biome lint",
"lint:fix": "biome lint --write",
"check": "biome check",
"check:fix": "biome check --write",
"prepublishOnly": "npm run gen && npm run build",
"smoke": "./scripts/packaging-smoke-test.sh",
"smoke:bun": "./scripts/bun-packaging-smoke-test.sh",
"cli": "node cliCommand.ts",
"gen": "node cliCommand.ts generatetypes",
"openapi": "node cliCommand.ts openapi",
"routes": "node cliCommand.ts routes",
"dev:bench:realistic": "node ./benchmark/fixtures/realistic.ts",
"benchmark:plaintext": "h2load -n 10000 -c 50 -p 'http/1.1' http://localhost:3300/bench/plaintext",
"benchmark:realistic": "h2load -n 10000 -c 50 -p 'http/1.1' 'http://localhost:3300/bench/echo?name=Alice'",
"redis:docker": "docker run --rm -p 6379:6379 redis"
},
"author": "Andrei Lahunou",
"license": "MIT",
"dependencies": {
"deepmerge": "^4.2.2",
"express": "^5.0.1",
"formidable": "^3.5.1",
"mongoose": "^9.9.1",
"rate-limiter-flexible": "^11.0.0",
"winston": "^3.3.3",
"winston-transport": "^4.9.0"
},
"devDependencies": {
"@biomejs/biome": "^2.0.6",
"@redis/client": "^6.0.0",
"@sentry/core": "^10.34.0",
"@sentry/node": "^10.34.0",
"@types/express": "^5.0.1",
"@types/formidable": "^3.4.5",
"@types/node": "^26.0.0",
"i18next": "^26.0.1",
"i18next-fs-backend": "^2.0.0",
"lefthook": "^2.0.0",
"mongodb-memory-server": "^11.0.0",
"oxc-parser": "^0.148.0",
"typescript": "^7.0.2",
"vitest": "^4.0.0",
"yup": "^1.7.0",
"zod": "^4.0.0"
},
"peerDependencies": {
"@adaptivestone/framework-module-email": "^2.1.0",
"@redis/client": "^6.0.0",
"@sentry/core": "^10.34.0",
"@sentry/node": "^10.34.0",
"i18next": "^26.0.1",
"i18next-fs-backend": "^2.0.0",
"mongodb-memory-server": "^11.0.0",
"oxc-parser": "^0.148.0",
"vitest": "^4.0.0",
"yup": "^1.7.0",
"zod": "^3.24.0 || ^4.0.0"
},
"peerDependenciesMeta": {
"@adaptivestone/framework-module-email": {
"optional": true
},
"@redis/client": {
"optional": true
},
"@sentry/core": {
"optional": true
},
"@sentry/node": {
"optional": true
},
"i18next": {
"optional": true
},
"i18next-fs-backend": {
"optional": true
},
"mongodb-memory-server": {
"optional": true
},
"oxc-parser": {
"optional": true
},
"vitest": {
"optional": true
},
"yup": {
"optional": true
},
"zod": {
"optional": true
}
}
}