-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.json
74 lines (74 loc) · 2.43 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
{
"name": "banidb-api",
"version": "2.10.3",
"description": "BaniDB API",
"main": "index.js",
"scripts": {
"dev": " NODE_ENV=development pm2 start process-dev.json",
"docker:clean": "npm run docker:stop && ./bin/clean-up-docker-containers.sh",
"docker:start": "DB_PORT=3002 ./bin/start-docker.sh",
"docker:stop": "./bin/stop-docker.sh",
"e2e-local": "API_ENV=local jest --rootDir ./tests/e2e ",
"e2e-dev": "API_ENV=dev jest --rootDir ./tests/e2e ",
"e2e": "API_ENV=prod jest --rootDir ./tests/e2e ",
"local": "npm run docker:start && npm run local:api",
"local:api": "DB_PORT=3002 DB_HOST='127.0.0.1' NODE_ENV=development node app.js",
"postinstall": "npm run test && npm run graphql",
"start": "pm2 start process.json",
"test": "eslint .",
"validate": "./bin/validation-graphql.sh",
"graphql": "npm run graphql:clean && npm run graphql:generate",
"graphql:clean": "rimraf ./api/graphql/__generated__/schema-defs.js",
"graphql:generate": "node bin/generateGraphql.js"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/khalisfoundation/khajana-api.git"
},
"author": "Khalis, Inc. <[email protected]>",
"license": "MIT",
"homepage": "https://bitbucket.org/khalisfoundation/khajana-api#readme",
"dependencies": {
"@graphql-tools/load-files": "^6.0.12",
"@graphql-tools/merge": "^6.0.12",
"@sttm/banidb": "^2.2.4",
"anvaad-js": "^1.4.3",
"body-parser": "^1.18.2",
"cors": "^2.8.4",
"dotenv": "^16.0.1",
"express": "^4.16.2",
"express-cache-controller": "^1.1.0",
"express-graphql": "^0.9.0",
"graphql": "^15.2.0",
"limiter": "^1.1.3",
"lodash": "^4.17.21",
"mariadb": "^2.4.1",
"memory-cache": "^0.2.0",
"swagger-ui-express": "^4.1.3"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"babel-jest": "^25.4.0",
"eslint": "^5.3.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-prettier": "^3.0.1",
"husky": "^1.3.1",
"jest": "^25.4.0",
"node-fetch": "^2.6.1",
"nodemon": "^1.18.9",
"pm2": "^2.10.4",
"prettier": "^1.16.4",
"pretty-quick": "^1.10.0",
"rimraf": "^3.0.2"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"pre-push": "npm test"
}
}
}