-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
202 lines (201 loc) · 8.42 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
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
{
"type": "module",
"name": "typegoose",
"version": "0.0.0",
"license": "MIT",
"private": true,
"scripts": {
"prepare": "husky install",
"checkchange": "beachball check",
"change": "beachball change",
"change:allow-major": "beachball change --disallowedChangeTypes=",
"affected": "nx affected",
"affected:build": "nx affected:build",
"affected:e2e": "nx affected:e2e",
"affected:test": "nx affected:test",
"affected:lint": "nx affected:lint",
"affected:dep-graph": "nx affected:dep-graph",
"affected:apps": "nx affected:apps",
"affected:libs": "nx affected:libs",
"affected:deploy": "yarn affected --target deploy",
"ci:install": "npx yarn install --frozen-lockfile",
"ci:lint:all": "nx affected --target=lint --base=remotes/origin/main",
"ci:test:all": "nx affected --target=test --base=remotes/origin/main",
"ci:build:all": "nx affected --target=build --base=remotes/origin/main",
"ci:deploy:affected": "nx affected --target=deploy",
"ci:deploy:api": "node ./tools/scripts/deploy-api.js",
"ci:deploy:noop": "node ./tools/scripts/echo-noop.mjs",
"bump": "beachball bump",
"precommit": "eslint src/**/*.ts",
"ng": "nx",
"dep-graph": "npx nx reset && rm -rf node_modules/.cache && nx dep-graph",
"build": "npx yarn ci:build --ignore-engines",
"test": "nx test",
"lint": "nx workspace-lint && ng lint",
"e2e": "nx e2e",
"format": "nx format:write",
"format:write": "nx format:write",
"format:check": "nx format:check",
"update": "nx migrate latest",
"update:check": "ng update",
"help": "nx help",
"workspace-generator": "nx workspace-generator",
"dev:admin": "nx serve admin",
"dev:services": "docker compose up",
"dev:services:postgres": "docker compose up postgres",
"testt": "nx test && yarn test:admin-e2e",
"test:admin-e2e:watch": "nx run admin-e2e:e2e --headed --watch",
"test:admin-e2e": "nx run admin-e2e:e2e",
"copy-styles": "cp dist/libs/shared/root/ui-styles/src/lib/*.scss dist/libs/shared/root/ui-styles && cp -R dist/libs/shared/root/ui-styles/src/lib/theme dist/libs/shared/root/ui-styles && rm -rf dist/libs/shared/root/ui-styles/src",
"copy-assets": "cp -R dist/libs/shared/root/assets/src/lib/assets dist/libs/shared/root/assets && rm -rf dist/libs/shared/root/assets/src",
"space--------------------github-pages": "space---------------------soft-production-host",
"obuild:prod-ghp": "ng build --prod --base-href /meanstacknh/",
"oproto:prod": "ng deploy --repo=https://github.com/nhhockeplayer/meanstacknh.git --name=\"meanstack\" [email protected]",
"odeploy:prod-ghp": "ng build --base-href /meanstacknh/ --prod && npx ngh --dir=www/",
"build:prod-ghp": "nx build e2-ask --prod --baseHref=/meanstacknh/",
"deploy:prod-ghp": "gh-pages -d dist/apps/e2-ask",
"yaporto": "yarn nx run-many --target=build --prod --projects=${config.affected.apps.join()} --parallel --maxParallel=5 --buildLibsFromSource ",
"b": "nx build e2-ask --prod --baseHref=/meanstacknh/",
"bb": "nx run-many --all --target=build --prod --baseHref=/e2-ask/ --deploy-url /meanstacknh/",
"ghp:build": "nx run-many --all --target=build --prod",
"ghp:deploy-admin": "gh-pages -d dist/apps/admin ",
"docs:json": "compodoc -p ./tsconfig.base.json -e json -d .",
"run:all": "node node_modules/@angular-architects/module-federation/src/server/mf-dev-server.js",
"ng-migrate": "nx migrate @angular/core@latest @angular/cli@latest @angular-architects/module-federation@latest @angular/animations@latest @angular/cdk@latest @angular/common@latest @angular/compiler@latest @angular/core@latest @angular/flex-layout@latest @angular/forms@latest @angular/material@latest @angular/platform-browser@latest @angular/platform-browser-dynamic@latest @angular/router@latest @angular-devkit/build-angular@latest @angular-devkit/core@latest @angular-devkit/schematics@latest @angular-eslint/eslint-plugin@latest @angular-eslint/eslint-plugin-template@latest @angular-eslint/template-parser@latest @angular/cli@latest @angular/compiler-cli@latest @angular/language-service@latest",
"typegoose-migrate": "nx migrate lodash loglevel reflect-metadata semver tslib @nrwl/cli @nrwl/nx-cloud @nrwl/workspace nx prettier @commitlint/cli @commitlint/config-conventional @deepkit/core @deepkit/type @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/git @semantic-release/github @semantic-release/npm @semantic-release/release-notes-generator @types/jest @types/lodash @types/node @types/semver @typescript-eslint/eslint-plugin @typescript-eslint/parser class-transformer commitlint eslint eslint-config-prettier eslint-plugin-prettier husky jest lint-staged mongodb-memory-server mongoose mongoose-findorcreate rimraf semantic-release ts-jest ",
"postinstall": "ngcc --properties es2020 browser module main"
},
"dependencies": {
"@angular/animations": "~14.0.0",
"@angular/common": "~14.0.0",
"@angular/compiler": "~14.0.0",
"@angular/core": "~14.0.0",
"@angular/forms": "~14.0.0",
"@angular/platform-browser": "~14.0.0",
"@angular/platform-browser-dynamic": "~14.0.0",
"@angular/router": "~14.0.0",
"@nrwl/angular": "^14.4.3",
"beachball": "^2.26.0",
"lodash": "4.17.21",
"loglevel": "^1.8.0",
"reflect-metadata": "^0.1.13",
"rxjs": "~7.4.0",
"semver": "^7.3.2",
"tslib": "^2.3.1",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~14.0.0",
"@angular-eslint/eslint-plugin": "~14.0.0",
"@angular-eslint/eslint-plugin-template": "~14.0.0",
"@angular-eslint/template-parser": "~14.0.0",
"@angular/cli": "~14.0.0",
"@angular/compiler-cli": "~14.0.0",
"@angular/language-service": "~14.0.0",
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@deepkit/core": "1.0.1-alpha.58",
"@deepkit/type": "1.0.1-alpha.58",
"@nrwl/cli": "14.3.1",
"@nrwl/eslint-plugin-nx": "14.4.3",
"@nrwl/jest": "14.4.3",
"@nrwl/linter": "14.4.3",
"@nrwl/nx-cloud": "latest",
"@nrwl/workspace": "14.3.1",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^7.2.3",
"@semantic-release/npm": "^7.1.3",
"@semantic-release/release-notes-generator": "^9.0.3",
"@types/jest": "^27.4.0",
"@types/lodash": "^4.14.178",
"@types/node": "~12.20.43",
"@types/semver": "^7.3.9",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"class-transformer": "0.5.1",
"commitlint": "^16.2.1",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"jest-preset-angular": "~11.1.2",
"lint-staged": "^11.2.6",
"mongodb-memory-server": "^8.4.0",
"mongoose": "~6.2.3",
"mongoose-findorcreate": "3.0.0",
"ng-packagr": "~14.0.0",
"nx": "14.3.1",
"postcss": "^8.4.5",
"postcss-import": "~14.1.0",
"postcss-preset-env": "~7.5.0",
"postcss-url": "~10.1.3",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"semantic-release": "^17.4.7",
"ts-jest": "^27.1.3",
"ts-node": "~10.8.0",
"typescript": "~4.7.2"
},
"engines": {
"node": ">=12.22.0"
},
"peerDependencies": {
"mongoose": "~6.2.3"
},
"workspaces": [
"packages/**"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn format:write"
}
},
"lint-staged": {
"nx.json": [
"yarn nxpm-stack lint",
"yarn format:write"
],
"*.scss": [
"prettier --write"
],
"*.(ts|html)": [
"eslint --fix",
"prettier --write"
],
"*.(json|md|mdx|yaml|yml)": [
"prettier --write"
]
},
"jest": {
"testPathIgnorePatterns": [
"website/**/*"
],
"testMatch": [
"**/!(*.)+(test).[t]s"
],
"extensionsToTreatAsEsm": [
".ts"
]
},
"publishConfig": {
"access": "public"
},
"keywords": [
"typegoose",
"mongoose",
"orm",
"mongodb",
"class",
"model",
"schema",
"odm"
],
"bugs": {
"url": "https://github.com/nhhockeyplayer/nx-typegoose/issues"
},
"homepage": "https://nhhockeyplayer.github.io/nx-typegoose/"
}