forked from azerothcore/acore-node-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.77 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
{
"name": "@azerothcore/node-servicemodule",
"description": "A module that exposes API to implement services",
"version": "0.0.3",
"engines": {
"node": "12.x"
},
"main": "src/index.ts",
"dependencies": {
"@apollo/federation": "^0.11.2",
"@azerothcore/js-common": "git+https://github.com/azerothcore/js-common.git",
"@types/node": "^13.13.5",
"apollo-cache-inmemory": "^1.6.5",
"apollo-client": "^2.6.8",
"apollo-link-error": "^1.1.12",
"apollo-link-http": "^1.5.16",
"apollo-server": "^2.9.13",
"apollo-server-fastify": "^2.9.8",
"base64-to-image": "^1.0.2",
"bcryptjs": "^2.4.3",
"body-parser": "^1.19.0",
"dataloader": "^2.0.0",
"ejs": "^3.1.2",
"fastify": "^2.10.0",
"fastify-cors": "^2.2.0",
"fastify-helmet": "^3.0.2",
"fastify-plugin": "^1.6.0",
"fastify-swagger": "^2.5.0",
"graphcraft": "^1.0.0-beta.21",
"graphql": "^14.5.8",
"graphql-transform-federation": "^2.0.1",
"graphql-type-json": "^0.3.1",
"jsonwebtoken": "^8.5.1",
"merge-graphql-schemas": "^1.7.6",
"mysql2": "^2.1.0",
"node-fetch": "^2.6.0",
"nodemailer": "^6.4.6",
"nodemon": "^1.19.4",
"noderouter": "https://github.com/azerothcore/noderouter.git",
"sequelize": "^5.21.1",
"sequelize-auto-import": "^1.1.1",
"sha1": "^1.1.1",
"sofa-api": "^0.6.0",
"stream-to-array": "^2.3.0",
"ts-node": "^8.10.1"
},
"scripts": {
"start": "nodemon --ext ts,js --exec npx ts-node -r dotenv/config src/run.ts",
"start:docker": "docker-compose -f docker-compose.yml -f docker/docker-compose.override.yml up -d && docker-compose exec node-server bash || docker-compose stop",
"start:docker:prod": "docker-compose -f docker-compose.yml -f docker/docker-compose.override.yml -f docker/docker-compose.prod.yml up -d && docker-compose exec node-server bash || docker-compose stop",
"lint": "eslint .",
"test": "jest",
"compile": "tsc",
"docs": "typedoc --out docs/jsdoc src",
"build": "webpack",
"check": "npm run test && npm run compile && npm run lint",
"dist": "npm run check && npm run build",
"remove:modules": "rm -rf node_modules package-lock.json packagehash.txt",
"prepublishOnly": "npm run check",
"linkdeps": "rm -rf node_modules/@azerothcore/js-common/src && ln -s ../../../../js-common/src/ ./node_modules/@azerothcore/js-common/src"
},
"author": "azerothcore",
"license": "ISC",
"devDependencies": {
"husky": "^3.1.0",
"prettier-eslint": "^9.0.1",
"typedoc": "^0.17.6"
},
"_moduleAliases": {
"$this/src": "./src",
"@/": "./src/"
},
"lint-staged": {
"src/**/*.{ts, tsx, js, jsx}": [
"npm run lint -- --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}