-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 2.02 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
{
"name": "simple-superhero-service",
"version": "2.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "./node_modules/.bin/nodemon --inspect server.js --ignore node_modules/",
"service": "./node_modules/.bin/pm2 start server.js --name \"simple superhero service\"",
"start": "npm run service && sleep 5",
"stop": "./node_modules/.bin/pm2 stop \"simple superhero service\" --silent && ./node_modules/.bin/pm2 delete \"simple superhero service\" --silent",
"tests": "npm run test:postman && npm run test:unit && npm run test:cors:valid && npm run test:cors:invalid",
"test:cors:valid": "NODE_ENV=cors-valid npm run start && NODE_ENV=cors-valid ./node_modules/.bin/cypress run --headed --no-exit && npm run stop",
"test:cors:invalid": "NODE_ENV=cors-invalid npm run start NODE_ENV=cors-invalid ./node_modules/.bin/cypress run && npm run stop",
"test:postman": "npm run start && ./node_modules/.bin/newman run tests/tests/simple_super_hero_service.postman_collection.json --environment tests/tests/test.postman_environment.json --insecure && npm run stop",
"test:unit": "./node_modules/.bin/jest"
},
"author": "DM00000",
"license": "ISC",
"devDependencies": {
"cypress": "^12.8.1",
"debug": "4.3.4",
"eslint": "8.35.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-security": "^1.7.1",
"jest": "^29.5.0",
"newman": "^5.3.2",
"node-notifier": "10.0.1",
"nodemon": "^2.0.21",
"pm2": "^5.2.2"
},
"dependencies": {
"@hapi/boom": "10.0.1",
"@hapi/hapi": "^21.3.0",
"@hapi/inert": "^7.0.1",
"@hapi/vision": "^7.0.1",
"axios": "^1.3.4",
"bunyan": "^1.8.15",
"chance": "^1.1.11",
"config": "^3.3.9",
"csv-parser": "^3.0.0",
"diacritics": "1.3.0",
"get-value": "3.0.1",
"hapi-swagger": "16.0.1",
"joi": "^17.8.3",
"remark-preset-lint-consistent": "^5.1.1",
"remark-preset-lint-recommended": "^6.1.2",
"thenby": "1.3.4"
}
}