forked from aichbauer/express-rest-api-boilerplate
-
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": "express-rest-api-boilerplate",
"version": "0.0.0",
"author": "Lukas Aichbauer <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/aichbauer/express-rest-api-boilerplate.git"
},
"homepage": "https://github.com/aichbauer/express-rest-api-boilerplate#readme",
"bugs": {
"url": "https://github.com/aichbauer/express-rest-api-boilerplate/issues"
},
"scripts": {
"prestart": "npm run drop-sqlite-db || true",
"start": "npm run nodemon",
"poststart": "npm run create-sqlite-db",
"dev": "cross-env NODE_ENV=development node ./api/api.js",
"nodemon": "nodemon --exec npm run dev",
"create-sqlite-db": "shx touch ./db/database.sqlite",
"drop-sqlite-db": "shx rm ./db/database.sqlite",
"lint": "eslint ./api/. ./config/. ./test/.",
"prepush": "npm test",
"pretest": "npm run lint",
"production": "cross-env NODE_ENV=production node ./api/api.js",
"test": "npm run create-sqlite-db; cross-env NODE_ENV=testing jest --coverage; npm run drop-sqlite-db",
"test-ci": "jest --coverage --forceExit"
},
"jest": {
"globals": {
"__DEV__": true
},
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/"
]
},
"dependencies": {
"bcrypt-nodejs": "^0.0.3",
"body-parser": "^1.18.2",
"core-js": "^2.6.9",
"cors": "^2.8.4",
"express": "^4.16.3",
"express-routes-mapper": "^1.0.2",
"helmet": "^3.12.0",
"jsonwebtoken": "^8.2.1",
"sequelize": "^6.0.0",
"sqlite3": "^4.0.0"
},
"devDependencies": {
"cross-env": "^5.1.4",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.11.0",
"husky": "^0.14.3",
"jest": "^24.8.0",
"nodemon": "^1.17.3",
"shx": "^0.2.2",
"supertest": "^3.0.0"
}
}