forked from metriport/metriport
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 4.4 KB
/
Copy pathpackage.json
File metadata and controls
94 lines (94 loc) · 4.4 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
{
"name": "metriport",
"version": "1.0.0",
"bin": {},
"scripts": {
"prepare-dev": "is-ci || husky install",
"preinstall": "npm i -g rimraf@5.0.10 is-ci@3.0.1 --no-fund && npm run prepare-dev",
"preci": "npm run preinstall",
"preinstall-deps": "npm run preci",
"init": "npm i && SCRIPT='i' npm run lambdas:no-run",
"clean": "npm run clean --workspaces --if-present && SCRIPT='clean' npm run lambdas",
"deepclean": "npm run deepclean --workspaces --if-present && echo 'rimraf node_modules' && rimraf node_modules && SCRIPT='deepclean' npm run lambdas",
"prep-lambdas": "cd packages/lambdas && npm run prep-deploy && cd ../..",
"prep-converter": "cd packages/fhir-converter && npm run prep-deploy && cd ../..",
"prep-deploy": "npm run install-deps && npm run build:cloud && npm run test && npm run prep-lambdas && npm run prep-converter",
"prep-deploy-staging": "npm run install-deps && npm run build:staging && npm run test && npm run prep-lambdas && npm run prep-converter",
"package": "npm run prep-deploy",
"install-deps": "npm ci --ignore-scripts --no-fund && SCRIPT='ci --ignore-scripts --no-fund' npm run lambdas:no-run",
"build": "if npm run build --workspaces && SCRIPT='build' npm run lambdas; then echo '\n\\033[1;32mBuild successful\\033[0m'; else echo '\n\\033[1;31m>>> Build failed <<<\\033[0m' && exit 1; fi",
"build:cloud": "npm run build:cloud --workspaces && SCRIPT='build:cloud' npm run lambdas",
"build:staging": "ENV_TYPE='staging' npm run build:cloud --workspaces && SCRIPT='build:cloud' npm run lambdas",
"typecheck": "npm run typecheck --workspaces --if-present && SCRIPT='typecheck' npm run lambdas",
"lint": "npm run lint --workspaces --if-present && SCRIPT='lint' npm run lambdas",
"lint-fix": "npm run lint-fix --workspaces --if-present",
"lint-staged": "npx lint-staged",
"prettier-fix": "npm run prettier-fix --workspaces --if-present",
"prettier-fix-modified": "(git diff --name-only --cached && git diff --name-only && git ls-files --others --exclude-standard) | sort -u | grep -E '\\.(js|jsx|ts|tsx|css|scss|json|md)$' | xargs npx prettier --write",
"test": "./packages/scripts/run-tests.sh",
"test:e2e": "npm run test:e2e --workspaces --if-present",
"lambdas:no-run": "cd packages/lambdas && npm $SCRIPT && cd ../..",
"lambdas": "cd packages/lambdas && npm run $SCRIPT && cd ../..",
"commit": "cz",
"check-secrets": "docker run --rm -v $(pwd):/path zricethezav/gitleaks:v8.17.0 protect --source='/path' --staged --no-banner -v",
"publish:alpha": "npm run build && npx lerna publish --signoff-git-commit --dist-tag next",
"publish:alpha:ignore": "npm run build && npx lerna publish --signoff-git-commit --dist-tag next --ignore-changes '**'",
"publish:prod": "npm run build && npx lerna publish --signoff-git-commit",
"publish:prod:ignore": "npm run build && npx lerna publish --signoff-git-commit --ignore-changes '**'",
"ddb-admin": "DYNAMO_ENDPOINT=http://localhost:8000 dynamodb-admin",
"test-fern-local": "bash fern/run_tests.sh",
"full-hbs-lint": "cd packages/fhir-converter && ./full-hbs-lint.sh"
},
"workspaces": [
"packages/eslint-rules",
"packages/shared",
"packages/fhir-sdk",
"packages/api-sdk",
"packages/ihe-gateway-sdk",
"packages/commonwell-sdk",
"packages/carequality-sdk",
"packages/core",
"packages/commonwell-cert-runner",
"packages/commonwell-jwt-maker",
"packages/carequality-cert-runner",
"packages/api",
"packages/mllp-server",
"packages/infra",
"packages/utils"
],
"lint-staged": {
"*.{ts,tsx}": [
"eslint --max-warnings=0"
],
"*.{ts,tsx,md}": [
"prettier --list-different"
]
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"dependencies": {
"axios": ">=1.8.2",
"form-data": ">=4.0.4",
"sharp": "^0.33.5",
"semver": ">=5.7.2"
},
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@commitlint/cz-commitlint": "^17.4.2",
"@tsconfig/recommended": "^1.0.2",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"commitizen": "^4.3.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"husky": "^8.0.3",
"lerna": "^7.4.2",
"lint-staged": "^13.1.0",
"mintlify": "^4.0.307",
"typescript": "^4.9.5"
}
}