-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
46 lines (46 loc) · 1.56 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
{
"name": "book-library-api",
"version": "1.0.0",
"description": "Manchester Codes Backend Module - Book Library API",
"keywords": [],
"bugs": {
"url": "https://github.com/invertostew/book-library-api/issues"
},
"license": "ISC",
"author": "Stuart Green",
"main": "./src/server.js",
"repository": {
"type": "git",
"url": "https://github.com/invertostew/book-library-api"
},
"scripts": {
"lint": "eslint --config .eslintrc --ext .js './src/**/*.js'",
"lint:fix": "eslint --config .eslintrc --ext .js --fix './src/**/*.js'",
"prettier": "prettier --config .prettierrc --check './src/**/*.js'",
"prettier:write": "prettier --config .prettierrc --write './src/**/*.js'",
"prestart": "node ./src/scripts/create-database.js",
"start": "node -r dotenv/config ./src/server.js",
"start:dev": "npm run prestart && nodemon -r dotenv/config ./src/server.js",
"pretest": "node ./src/scripts/create-database.js test",
"test": "mocha ./src/__tests__/**/*.js --exit --recursive --timeout 60000 --file ./src/__tests__/test-setup.js",
"posttest": "node ./src/scripts/drop-database.js"
},
"dependencies": {
"express": "^4.17.3",
"helmet": "^5.0.2",
"mysql2": "^2.3.3",
"sequelize": "^6.17.0"
},
"devDependencies": {
"@faker-js/faker": "^6.0.0-alpha.7",
"chai": "^4.3.6",
"dotenv": "^16.0.0",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"mocha": "^9.2.1",
"nodemon": "^2.0.15",
"prettier": "^2.5.1",
"supertest": "^6.2.2"
}
}