Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 1.93 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 1.93 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
{
"name": "switcher-resolver-node",
"version": "1.1.0",
"description": "Resolver API to be used with Switcher API",
"main": "src/start.js",
"type": "module",
"author": {
"name": "Roger Floriano",
"email": "switcher.project@gmail.com"
},
"scripts": {
"start": "node ./src/start.js",
"dev": "env-cmd -e dev -- nodemon ./src/start.js",
"prod": "env-cmd -e prod -- nodemon ./src/start.js",
"lint": "eslint ./src/**/*.js",
"test": "jest --runInBand --collect-coverage",
"test-local": "env-cmd -e test -- jest --runInBand --collect-coverage",
"snyk": "snyk test --strict-out-of-sync=false"
},
"jest": {
"transform": {},
"clearMocks": true,
"testEnvironment": "node",
"testResultsProcessor": "jest-sonar-reporter",
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/src/api-docs/",
"<rootDir>/src/app-server.js"
]
},
"keywords": [
"feature",
"flag",
"toggle",
"switcher-api",
"resolver-node"
],
"license": "MIT",
"dependencies": {
"axios": "^1.21.1",
"bcryptjs": "^3.0.3",
"cors": "^2.8.6",
"express": "^5.3.0",
"express-basic-auth": "^1.2.1",
"express-rate-limit": "^8.7.5",
"express-validator": "^7.3.2",
"graphql": "^17.1.0",
"graphql-http": "^1.23.1",
"graphql-tag": "^2.12.7",
"helmet": "^8.3.0",
"jsonwebtoken": "^9.0.3",
"moment": "^2.31.0",
"mongodb": "^7.9.1",
"mongoose": "^9.12.3",
"pino": "^10.4.0",
"pino-pretty": "^13.2.0",
"swagger-ui-express": "^5.0.1",
"switcher-client": "^4.6.2",
"validator": "^13.15.35"
},
"devDependencies": {
"env-cmd": "^11.0.0",
"eslint": "^10.15.0",
"jest": "^30.5.2",
"jest-sonar-reporter": "^2.0.0",
"nodemon": "^3.1.14",
"sinon": "^22.1.0",
"supertest": "^7.3.2"
},
"repository": {
"type": "git",
"url": "https://github.com/switcherapi/switcher-resolver-node.git"
}
}