forked from HospitalRun/hospitalrun-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 3.32 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
{
"name": "@hospitalrun/server",
"version": "2.0.0-alpha.5",
"description": "HospitalRun Node.js server",
"main": "dist",
"repository": {
"type": "git",
"url": "https://github.com/HospitalRun/hospitalrun-server.git"
},
"scripts": {
"ddoc": "node bin/ddoc",
"commit": "npx git-cz",
"build": "npm run clean && tsc -p ./tsconfig.json",
"build:all": "run-s build",
"start": "node dist",
"clean": "rimraf dist",
"dev:build": "tsc --incremental -p tsconfig.json",
"dev:start": "node --inspect -r source-map-support/register -r dotenv/config dist/index.js | pino-colada",
"dev:watch": "cross-env NODE_ENV=development npm run clean && nodemon -w src -e ts --exec \"npm run dev:build && npm run dev:start\"",
"dev": "run-p dev:watch",
"update": "yarn upgrade-interactive --latest",
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\" \"test/**/*.{js,jsx,ts,tsx}\"",
"lint:fix": "eslint \"src/**/*.{js,jsx,ts,tsx}\" \"test/**/*.{js,jsx,ts,tsx}\" --fix",
"test": "cross-env TS_NODE_PROJECT=./test/tsconfig.json tap test/**/*.ts",
"test:ci": "cross-env TS_NODE_PROJECT=./test/tsconfig.json tap --coverage-report=text-lcov test/**/*.ts > lcov.info",
"lint-staged": "lint-staged",
"commitlint": "commitlint"
},
"keywords": [],
"author": "Maksim Sinik <[email protected]>",
"license": "MIT",
"dependencies": {
"fastify": "~3.7.0",
"fastify-autoload": "~3.4.0",
"fastify-blipp": "~3.0.0",
"fastify-http-proxy": "~4.2.0",
"fastify-plugin": "~3.0.0",
"make-promises-safe": "~5.1.0",
"nano": "~9.0.0",
"qs": "~6.9.1",
"require-from-string": "~2.0.2",
"fastify-cors": "~5.1.0",
"fastify-gql": "~5.8.1",
"fastify-helmet": "~5.1.0",
"fastify-no-icon": "~4.0.0",
"graphql-tools": "~7.0.0"
},
"devDependencies": {
"@commitlint/cli": "~11.0.0",
"@commitlint/config-conventional": "~11.0.0",
"@commitlint/prompt": "~11.0.0",
"@types/glob": "~7.1.1",
"@types/mkdirp": "~1.0.0",
"@types/node": "~14.14.2",
"@types/qs": "6.9.5",
"@types/require-from-string": "~1.2.0",
"@types/sade": "~1.7.0",
"@types/tap": "~14.10.0",
"@types/ws": "~7.4.0",
"@typescript-eslint/eslint-plugin": "~2.34.0",
"@typescript-eslint/parser": "~2.34.0",
"chalk": "~4.1.0",
"commitizen": "~4.2.1",
"commitlint-config-cz": "~0.13.0",
"cross-env": "~7.0.0",
"cz-conventional-changelog": "~3.3.0",
"dotenv": "~8.2.0",
"eslint": "~6.8.0",
"eslint-config-prettier": "~6.15.0",
"eslint-plugin-import": "~2.22.0",
"eslint-plugin-prettier": "~3.3.0",
"glob": "~7.1.6",
"husky": "~4.3.0",
"lint-staged": "~10.5.0",
"mkdirp": "~1.0.3",
"nodemon": "~2.0.0",
"npm-run-all": "~4.1.5",
"pino-colada": "~2.1.0",
"pouchdb-server": "~4.2.0",
"prettier": "~2.2.0",
"rimraf": "~3.0.0",
"sade": "~1.7.3",
"source-map-support": "~0.5.16",
"tap": "~14.11.0",
"tap-mocha-reporter": "~5.0.0",
"typescript": "~4.1.2"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "npm run commitlint -- -E HUSKY_GIT_PARAMS",
"pre-commit": "npm run lint-staged"
}
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"npm run lint:fix",
"git add ."
]
}
}