-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 3.48 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 3.48 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
{
"name": "modo-fe",
"version": "0.1.0",
"description": "Frontend Modo Project using Monorepo Architecture",
"scripts": {
"dev": "run-p \"dev:*\"",
"dev:css": "npm run generate:css -- --watch",
"dev:mfa": "npm run mfa-dev",
"dev:host": "npm run dev -workspace=@workspace/host",
"dev:main": "next dev -p 5173",
"host": "run-p \"host:*\"",
"host:mfa": "npm run mfa-dev",
"host:css": "npm run generate:css -- --watch",
"host:dev": "npm run dev -workspace=@workspace/host",
"auth": "run-p \"auth:*\"",
"auth:css": "npm run generate:css -- --watch",
"auth:dev": "npm run dev -workspace=@workspace/auth",
"books": "run-p \"books:*\"",
"books:css": "npm run generate:css -- --watch",
"books:dev": "npm run dev -workspace=@workspace/books",
"mfa-dev": "NODE_ENV=development run-p \"mfa-service:*\"",
"mfa-prod": "NODE_ENV=production run-p \"mfa-service:*\" mfa-host",
"mfa-host": "npm run build -workspace=@workspace/host && npm run preview -workspace=@workspace/host",
"mfa-service:auth": "npm run build -workspace=@workspace/auth && npm run preview -workspace=@workspace/auth",
"mfa-service:books": "npm run build -workspace=@workspace/books && npm run preview -workspace=@workspace/books",
"build": "npm run generate:css && tsc && next build && npm run sentry:sourcemaps",
"preview": "next start -p 5173",
"aws": "dotenv -e .env -- cross-var ssh %SSH_HOST%",
"lint": "run-p \"lint:*\"",
"lint:packages": "eslint && tsc -p packages/tsconfig.json --noEmit",
"lint:main": "next lint && tsc -p tsconfig.json --noEmit",
"lint:host": "eslint && tsc -p micro_services/host/tsconfig.json --noEmit",
"lint:auth": "eslint && tsc -p micro_services/auth/tsconfig.json --noEmit",
"lint:books": "eslint && tsc -p micro_services/books/tsconfig.json --noEmit",
"test": "NODE_OPTIONS=--experimental-vm-modules npx jest --passWithNoTests",
"test:watch": "jest --no-cache --watch",
"mock:auth": "NODE_ENV=mock npm run auth",
"generate:css": "npx tailwindcss -i ./packages/styles/_mobile.css -o ./packages/styles/tailwind-LEGACY.css",
"prepare": "husky install",
"lint-staged": "lint-staged",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org modo-n0 --project host ./micro_services/host/dist && sentry-cli sourcemaps upload --org modo-n0 --project host ./micro_services/host/dist"
},
"lint-staged": {
"app/**/*.{js?(x),ts?(x)}": [
"eslint --fix",
"prettier --write",
"bash -c 'npm run lint:main'"
],
"packages/**/*.{js?(x),ts?(x)}": [
"eslint --fix",
"prettier --write",
"bash -c 'npm run lint:packages'"
],
"micro_services/auth/**/*.{js?(x),ts?(x)}": [
"eslint --fix",
"prettier --write",
"bash -c 'npm run lint:auth'"
],
"micro_services/books/**/*.{js?(x),ts?(x)}": [
"eslint --fix",
"prettier --write",
"bash -c 'npm run lint:books'"
],
"micro_services/host/**/*.{js?(x),ts?(x)}": [
"eslint --fix",
"prettier --write",
"bash -c 'npm run lint:host'"
]
},
"workspaces": [
"micro_services/*",
"packages/**/*"
],
"dependencies": {
"@packages/config": "^0.1.0",
"@packages/utils": "^0.1.0"
},
"devDependencies": {
"@packages/assets": "^0.1.0",
"@packages/components": "^0.1.0",
"@packages/config": "^0.1.0",
"@packages/config-next": "^0.1.0",
"@packages/styles": "^0.1.0",
"@packages/tsconfig": "^0.1.0",
"@packages/utils": "^0.1.0"
}
}