forked from codeship-library/node-express-basic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.31 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "nodejs-express-todoapp",
"version": "1.0.0",
"description": "a Node.js/Express implementation of the Todo-Backend API spec",
"repository": {
"type": "git",
"url": "https://github.com/kellyjandrews/nodejs-express-todoapp"
},
"scripts": {
"clean": "rm -rf build && mkdir build",
"build-server": "babel src --out-dir build -s --ignore src/__tests__/**",
"build": "npm run clean && npm run build-server",
"prestart": "npm run build && npm run migrate",
"start": "node ./build/index.js",
"lint": "eslint src",
"test": "jest",
"watch-tests": "npm run migrate && esw src & jest --watchAll",
"dev": "nodemon --watch ./src --ignore ./src/__tests__ -x \"npm start\"",
"coverage": "jest --coverage",
"migrate": "node ./node_modules/db-migrate/bin/db-migrate up all"
},
"keywords": [
"todo-backend",
"api",
"node",
"express"
],
"author": "Kelly J Andrews <[email protected]>",
"license": "MIT",
"engines": {
"node": "7.7.1"
},
"bugs": {
"url": "https://github.com/kellyjandrews/nodejs-express-todoapp/issues"
},
"homepage": "https://github.com/kellyjandrews/nodejs-express-todoapp",
"dependencies": {
"babel-cli": "^6.23.0",
"babel-polyfill": "^6.23.0",
"babel-preset-es2015": "^6.22.0",
"body-parser": "^1.17.1",
"cors": "^2.8.1",
"db-migrate": "^0.10.0-beta.20",
"db-migrate-pg": "^0.1.11",
"express": "^4.15.2",
"express-simple-errors": "^1.0.0",
"isvalid": "^1.6.6",
"pg": "^6.1.3"
},
"devDependencies": {
"babel-jest": "^19.0.0",
"eslint": "^3.17.1",
"eslint-watch": "^3.0.1",
"jest": "^19.0.2",
"nodemon": "^1.11.0",
"supertest": "^3.0.0"
},
"jest": {
"testPathIgnorePatterns": [
"<rootDir>/node_modules/"
]
},
"babel": {
"presets": [
"es2015"
]
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module"
},
"env": {
"node": true,
"es6": true,
"jest": true
},
"extends": "eslint:recommended",
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
}
}