-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
179 lines (179 loc) · 6.03 KB
/
package.json
File metadata and controls
179 lines (179 loc) · 6.03 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "@flex-development/sneusers",
"description": "Demo authentication and authorization system",
"version": "0.0.0",
"keywords": [
"bun",
"docker",
"fastify",
"jwt",
"nestjs",
"oauth",
"typescript"
],
"license": "BSD-3-Clause",
"homepage": "https://github.com/flex-development/sneusers",
"repository": "https://github.com/flex-development/sneusers.git",
"bugs": "https://github.com/flex-development/sneusers/issues",
"author": {
"name": "Lexus Drumgold",
"url": "https://github.com/unicornware"
},
"type": "module",
"files": [
"CHANGELOG.md",
"CONTRIBUTING.md",
"Dockerfile",
"README.md",
"docker-compose.yml",
"src"
],
"exports": {
"./accounts": "./src/subdomains/accounts/index.mts",
"./accounts/errors": "./src/subdomains/accounts/errors/index.mts",
"./database": "./src/database/index.mts",
"./errors": "./src/errors/index.mts",
"./package.json": "./package.json",
"./types": "./src/types.mts"
},
"imports": {
"#accounts/index": null,
"#accounts/*/index": null,
"#accounts/*": "./src/subdomains/accounts/*.mts",
"#app": "./src/app.mts",
"#database/index": null,
"#database/*": "./src/database/*.mts",
"#decorators/*": "./src/decorators/*.mts",
"#enums/*": "./src/enums/*.mts",
"#errors/index": null,
"#errors/*": "./src/errors/*.mts",
"#filters/*": "./src/filters/*.mts",
"#fixtures/*": "./__fixtures__/*.mts",
"#hooks/*": "./src/hooks/*.mts",
"#interfaces/*": "./src/interfaces/*.mts",
"#models/*": "./src/models/*.mts",
"#modules/*": "./src/modules/*.mts",
"#pipes/*": "./src/pipes/*.mts",
"#tests/*": "./__tests__/*.mts",
"#types/*": "./src/types/*.mts"
},
"remarkConfig": {
"plugins": [
"@flex-development/remark-preset"
]
},
"scripts": {
"build:image": "docker build -t ghcr.io/flex-development/sneusers:build .",
"check:ci": "bun run check:format && bun run check:lint && bun run check:spelling && bun run typecheck && bun run test:cov && bun pm pack && bun run clean:pack",
"check:format": "dprint check --incremental=false",
"check:lint": "eslint --exit-on-fatal-error --max-warnings 0 .",
"check:spelling": "cspell lint --color --no-progress --relative $@ \"**\"",
"check:types": "tsc -p tsconfig.typecheck.json",
"clean:modules": "trash ./node_modules || exit 0",
"clean:pack": "trash \"./*.tgz\" || exit 0",
"clean:test": "trash ./coverage|| exit 0",
"commitlint": "commitlint -V",
"docker:prune": "docker system prune -f",
"fix:cg": "bun run fix:format && bun run fix:lint",
"fix:format": "dprint fmt",
"fix:lint": "bun run check:lint --cache --fix",
"postinstall": "[ -f ./.git ] && [ -f ./node_modules/.bin/husky ] && chmod +x .husky/* && husky || exit 0",
"postpack": "toggle-scripts +postinstall",
"prepack": "toggle-scripts -postinstall",
"release": "bash ./scripts/release.sh",
"remark": "remark .",
"serve": "cross-env NEST_DEBUG=1 bun run ./src/main.mts",
"serve:watch": "cross-env NEST_DEBUG=1 bun run --conditions=development --watch ./src/main.mts",
"start": "docker run --env NEST_DEBUG=1 --rm -itp 4000:4000 ghcr.io/flex-development/sneusers:build",
"start:dev": "docker compose up",
"test": "cross-env NODE_OPTIONS=\"--conditions development\" vitest run",
"test:cov": "bun run test --coverage",
"test:cov:reports": "bun run test:cov --merge-reports --mode=reports",
"test:cov:serve": "vite preview --outDir ./coverage",
"test:reports": "bun run test --merge-reports --mode=reports",
"typecheck": "vitest run --typecheck --mode=typecheck"
},
"dependencies": {
"@fastify/static": "8.1.1",
"@flex-development/log": "5.0.0-alpha.3",
"@flex-development/tutils": "6.0.0-alpha.25",
"@nestjs/common": "11.1.0",
"@nestjs/config": "4.0.2",
"@nestjs/core": "11.1.0",
"@nestjs/cqrs": "11.0.3",
"@nestjs/jwt": "11.0.0",
"@nestjs/passport": "11.0.5",
"@nestjs/platform-fastify": "11.1.0",
"@nestjs/swagger": "11.2.0",
"bcrypt": "6.0.0",
"bson": "6.10.4",
"class-transformer": "0.5.1",
"class-validator": "0.14.2",
"devlop": "1.1.0",
"fastify": "5.3.2",
"passport": "0.7.0",
"passport-github2": "0.1.12",
"passport-google-oauth20": "2.0.0",
"passport-jwt": "4.0.1",
"reflect-metadata": "0.2.2",
"rxjs": "7.8.2"
},
"devDependencies": {
"@commitlint/cli": "19.8.1",
"@commitlint/types": "19.8.1",
"@faker-js/faker": "9.8.0",
"@flex-development/colors": "1.0.2",
"@flex-development/commitlint-config": "1.0.1",
"@flex-development/eslint-config": "1.1.1",
"@flex-development/grease": "3.0.0-alpha.9",
"@flex-development/pathe": "4.0.2",
"@flex-development/remark-preset": "1.0.0",
"@nestjs/testing": "11.1.0",
"@swc/core": "1.12.7",
"@tsconfig/strictest": "2.0.5",
"@types/bcrypt": "5.0.2",
"@types/chai": "5.2.2",
"@types/is-ci": "3.0.4",
"@types/node-notifier": "8.0.5",
"@types/passport": "1.0.17",
"@types/passport-github2": "1.2.9",
"@types/passport-google-oauth20": "2.0.16",
"@types/passport-jwt": "4.0.1",
"@vates/toggle-scripts": "1.0.0",
"@vitest/coverage-v8": "3.0.9",
"bun": "1.2.12",
"bun-types": "1.2.12",
"chai": "5.2.0",
"chai-http": "5.1.2",
"cross-env": "7.0.3",
"cspell": "9.1.2",
"dprint": "0.50.0",
"editorconfig": "3.0.0",
"eslint": "9.29.0",
"growl": "1.10.5",
"husky": "9.1.7",
"is-ci": "4.1.0",
"node-notifier": "10.0.1",
"prettier": "3.6.1",
"random-item": "4.0.1",
"remark": "15.0.1",
"remark-cli": "12.0.1",
"sh-syntax": "0.5.8",
"trash-cli": "6.0.0",
"ts-dedent": "2.2.0",
"typescript": "5.8.3",
"unified": "11.0.5",
"unplugin-swc": "1.5.5",
"vfile": "6.0.3",
"vitest": "3.0.9"
},
"engines": {
"bun": "1.2.12"
},
"packageManager": "bun@1.2.12",
"sideEffects": false,
"openapi": {
"description": "Demo authentication and authorization system",
"title": "@flex-development/sneusers"
}
}