-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 2.08 KB
/
package.json
File metadata and controls
51 lines (51 loc) · 2.08 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
{
"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; code=$?; npm run stop; exit $code",
"test:cors:invalid": "NODE_ENV=cors-invalid npm run start && NODE_ENV=cors-invalid ./node_modules/.bin/cypress run --headed; code=$?; npm run stop; exit $code",
"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; code=$?; npm run stop; exit $code",
"test:unit": "./node_modules/.bin/jest"
},
"author": "DM00000",
"license": "ISC",
"devDependencies": {
"cypress": "^15.11.0",
"debug": "^4.4.3",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-html": "^8.1.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-security": "^4.0.0",
"jest": "^30.3.0",
"newman": "^6.2.2",
"node-notifier": "10.0.1",
"nodemon": "^3.1.14",
"pm2": "^6.0.14"
},
"dependencies": {
"@hapi/boom": "10.0.1",
"@hapi/hapi": "^21.4.7",
"@hapi/inert": "^7.0.1",
"@hapi/vision": "^7.0.3",
"axios": "^1.3.4",
"bunyan": "^1.8.15",
"chance": "^1.1.13",
"config": "^4.4.1",
"csv-parser": "^3.2.0",
"diacritics": "1.3.0",
"get-value": "^4.0.1",
"hapi-swagger": "^17.3.2",
"joi": "^17.13.3",
"remark-preset-lint-consistent": "^6.0.1",
"remark-preset-lint-recommended": "^7.0.1",
"thenby": "1.3.4"
}
}