forked from aichbauer/express-rest-api-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 1.9 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
62
63
64
65
66
67
68
69
70
{
"name": "express-rest-api-boilerplate",
"version": "0.0.0",
"author": "Lukas Aichbauer <l.aichbauer@gmail.com>",
"licence": "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": {
"dev": "cross-env NODE_ENV=development && node ./api/api.js",
"create-sqlite-db": "shx touch ./db/database.sqlite",
"drop-sqlite-db": "shx rm ./db/database.sqlite",
"lint": "eslint ./api/. ./config/. ./test/.",
"prestart": "npm run drop-sqlite-db",
"start": "npm run nodemon",
"poststart": "npm run create-sqlite-db",
"nodemon": "nodemon --exec npm run dev",
"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=test && nyc ava -s; npm run drop-sqlite-db",
"test-ci": "nyc ava --no-color"
},
"babel": {
"presets": [
"env"
]
},
"ava": {
"require": [
"babel-register",
"babel-polyfill"
],
"babel": "inherit"
},
"nyc": {
"exclude": [
"test"
]
},
"dependencies": {
"babel-polyfill": "^6.23.0",
"bcrypt-nodejs": "^0.0.3",
"body-parser": "^1.17.2",
"cors": "^2.8.3",
"express": "^4.15.3",
"express-routes-mapper": "^1.0.1",
"helmet": "^3.6.1",
"jsonwebtoken": "^7.4.1",
"nodemon": "^1.11.0",
"nyc": "^11.0.1",
"sequelize": "^3.30.4",
"sqlite3": "^3.1.8",
"supertest": "^3.0.0"
},
"devDependencies": {
"ava": "^0.19.1",
"cross-env": "^5.1.1",
"eslint": "^3.19.0",
"eslint-config-airbnb-base": "^11.2.0",
"eslint-plugin-import": "^2.3.0",
"husky": "^0.13.4",
"shx": "^0.2.2"
}
}