-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 2.27 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
{
"name": "serverless-books-api",
"version": "1.0.0",
"description": "Implements a Books API for a Library, intended to be run on AWS using serverless",
"main": "index.js",
"directories": {
"lib": "lib",
"test": "test"
},
"dependencies": {
"aws-sdk": "^2.693.0",
"debug": "^4.1.1",
"serverless": "^1.72.0",
"serverless-pseudo-parameters": "^2.5.0",
"uuid": "^8.1.0"
},
"devDependencies": {
"axios": "^0.19.2",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chance": "^1.1.6",
"eslint": "^7.2.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.21.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"ghooks": "^2.0.4",
"joi": "^14.3.1",
"mocha": "^7.2.0",
"nyc": "^15.1.0",
"proxyquire": "^2.1.3",
"request": "^2.88.2",
"serverless-offline": "^6.4.0",
"sinon": "^9.0.2"
},
"scripts": {
"coverage": "nyc --reporter=lcov --reporter=text-summary npm run test:unit",
"lint": "eslint --ignore-path .gitignore .",
"start": "./node_modules/.bin/serverless offline --printOutput -s dev",
"test": "npm run test:unit && npm run test:integration",
"test:unit": "./node_modules/.bin/mocha test/unit/**/index.js",
"test:integration": ". .env; ./node_modules/.bin/mocha test/integration/index.js",
"debug:start": "export SLS_DEBUG=* && node --inspect-brk=9229 ./node_modules/.bin/serverless offline -s dev",
"debug:test:unit": "export SLS_DEBUG=* && node ./node_modules/.bin/mocha --inspect-brk=9229 -R spec test/unit/index.js",
"debug:test:integration": ". .env; node ./node_modules/.bin/mocha --inspect-brk=9229 test/integration/index.js"
},
"config": {
"ghooks": {
"pre-commit": "opt --in pre-commit --exec 'npm run lint'",
"pre-push": "opt --in pre-push --exec 'npm run coverage'"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/mjgs/serverless-books-api.git"
},
"keywords": [
"serverless",
"cloud",
"aws",
"api",
"rest"
],
"author": "Mark Smith",
"license": "MIT",
"bugs": {
"url": "https://github.com/mjgs/serverless-books-api/issues"
},
"homepage": "https://github.com/mjgs/serverless-books-api#readme"
}