-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·68 lines (68 loc) · 2.45 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
{
"name": "serverless-rest-api-example",
"version": "1.1.0",
"description": "This is an example serverless rest api example that uses aws dynamodb and dynamodb streams. This example is configured with a number of plugins and standards for checking code standards. It also handles authentication via Auth0 and json validation. Free free to reach out with any comments / questions.",
"author": "SHL",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wscholar/serverless"
},
"scripts": {
"offline": "export AWS_REGION=us-east-1 && export SLS_DEBUG=* && serverless offline start --noAuth --stage dev --log",
"eslint-check": "eslint --print-config . | eslint-config-prettier-check",
"lint": "eslint ./src/**/*.js",
"precommit": "lint-staged",
"pretest": "npm run lint",
"test": "jest --coverage",
"test:watch": "jest --watch",
"postinstall": "git secrets --install -f && git secrets --register-aws || (echo -e 'ERROR: preinstall failed! git secrets may not be configured correctly.' && exit 1)",
"secrets": "git secrets --scan"
},
"devDependencies": {
"babel-eslint": "^9.0.0",
"babel-loader": "^7.1.5",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-flow": "^6.23.0",
"eslint": "^5.5.0",
"eslint-config-prettier": "^3.0.1",
"eslint-loader": "^2.1.0",
"eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-prettier": "^2.6.2",
"husky": "^1.0.0-rc.14",
"jest": "^23.6.0",
"lint-staged": "^7.2.2",
"npm-git-secrets": "^1.0.4",
"prettier": "^1.14.2",
"prettier-eslint": "^8.8.2",
"serverless": "^1.31",
"serverless-aws-documentation": "^1.1.0",
"serverless-dynamodb-local": "^0.2.33",
"serverless-jest-plugin": "^0.1.6",
"serverless-offline": "^3.25.11",
"serverless-plugin-offline-dynamodb-stream": "^1.0.14",
"serverless-webpack": "^5.2.0",
"webpack": "^4.18.0",
"webpack-node-externals": "^1.7.2"
},
"dependencies": {
"ajv": "^6.5.4",
"jsonwebtoken": "^8.3.0",
"serverless-domain-manager": "^2.6.0",
"uuid": "^2.0.3"
},
"lint-staged": {
"./src/**/*.js": [
"eslint --fix",
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run secrets && npm run lint && npm run test && npm run build",
"pre-push": "npm run secrets && npm test"
}
}
}