-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·53 lines (53 loc) · 1.26 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
{
"author": {
"email": "[email protected]",
"name": "Prefinem",
"url": "https://prefinem.com"
},
"dependencies": {
"next": "^7.0.2",
"react": "^16.6.3",
"react-dom": "^16.6.3"
},
"description": "An AWS Lambda Serverless Next.js example project",
"devDependencies": {
"eslint": "^5.7.0",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-react": "^7.11.1",
"husky": "^1.2.0",
"lint-staged": "^8.0.0",
"prettier": "^1.14.3",
"serverless": "^1.33.0",
"serverless-offline": "^3.31.3"
},
"husky": {
"hooks": {
"pre-commit": "yarn staged"
}
},
"license": "MIT",
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --config ./.prettierrc.json --write",
"jest --bail --findRelatedTests",
"git add"
]
},
"name": "aws-lambda-serverless-nextjs",
"repository": {
"type": "git",
"url": "git+https://github.com/Prefinem/aws-lambda-serverless-nextjs"
},
"scripts": {
"build": "next build",
"clean": "yarn lint && yarn prettify",
"deploy": "next build && sls deploy",
"dev": "next",
"eslint-check": "eslint --print-config .eslintrc.json | eslint-config-prettier-check",
"lint": "eslint server.js --fix",
"prettify": "prettier --config ./.prettierrc.json --write src/",
"staged": "lint-staged",
"start": "next"
}
}