-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.83 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
{
"name": "users-api",
"version": "1.0.0",
"description": "node api boilerplate",
"main": "index.js",
"engines": {
"node": "12"
},
"scripts": {
"start": "nodemon --exec babel-node src/index.js",
"test:run-server": "TEST_DATABASE=users-api-database npm start",
"test:execute-test": "mocha --require @babel/register 'src/**/*.spec.js'",
"test:execute-test-with-await": "wait-on http-get://localhost:8000/ && mocha --require @babel/register 'src/**/*.spec.js'",
"test:docker-database": "docker-compose down && docker-compose up -d",
"test:all-steps": "concurrently --success first --kill-others \"npm run test:run-server\" \"npm run test:execute-test-with-await\"",
"test": "npm run test:docker-database && npm run test:all-steps",
"pretest": "./node_modules/.bin/eslint --ignore-path .gitignore . --fix",
"debug": "nodemon --inspect --exec babel-node src/index.js"
},
"keywords": [
"node",
"graphQL",
"users",
"boilerplate"
],
"husky": {
"hooks": {
"pre-commit": "npm run pretest"
}
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/node": "^7.22.19",
"@babel/preset-env": "^7.25.3",
"@babel/register": "^7.24.6",
"chai": "^5.1.1",
"concurrently": "^8.2.2",
"eslint": "^7.31.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.29.1",
"husky": "^9.1.4",
"mocha": "^10.6.0",
"nodemon": "^3.1.3",
"wait-on": "^7.2.0"
},
"dependencies": {
"apollo-server": "^2.26.1",
"apollo-server-express": "^2.26.0",
"axios": "^1.7.3",
"bcrypt": "^5.1.1",
"cors": "^2.8.5",
"dataloader": "^2.2.2",
"dotenv": "^16.4.1",
"express": "^4.19.2",
"graphql": "^14.7.0",
"graphql-iso-date": "^3.6.1",
"morgan": "^1.9.1",
"pg": "^8.12.0",
"sequelize": "^6.37.3"
}
}