-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.4 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
{
"name": "serverless-initials-avatar",
"version": "1.0.1",
"main": "src/handler.js",
"license": "MIT",
"scripts": {
"deploy:env": "sls deploy --stage $NODE_ENV",
"deploy": "export NODE_ENV=dev && yarn deploy:env",
"deploy:production": "export NODE_ENV=production && yarn deploy:env",
"deploy:stage": "export NODE_ENV=stage && yarn deploy:env",
"lint": "eslint src --ext ts,js --no-ignore --fix",
"serve": "sls offline -P 4000",
"serve:watch": "nodemon -e js,ts,jsx,tsx -x yarn serve",
"tail:hello": "sls logs --function hello --tail",
"test": "jest",
"test:watch": "jest --watch",
"build": "sls webpack",
"watch:hello": "sls invoke local --watch --function hello --path fixtures/event.json"
},
"devDependencies": {
"@babel/core": "7.6.0",
"@babel/preset-env": "7.6.0",
"@babel/preset-typescript": "^7.6.0",
"@types/aws-lambda": "^8.10.31",
"@types/jest": "^24.0.18",
"@types/node": "^12.7.5",
"@types/seedrandom": "^2.4.28",
"@types/sharp": "^0.23.1",
"@typescript-eslint/eslint-plugin": "^2.2.0",
"@typescript-eslint/parser": "^2.2.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"copy-webpack-plugin": "^5.1.1",
"eslint": "^6.3.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.3.0",
"eslint-import-resolver-typescript": "^1.1.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "1.7.0",
"husky": "^3.0.5",
"jest": "^24.9.0",
"lint-staged": "^9.2.5",
"nodemon": "^1.19.2",
"prettier": "^1.18.2",
"serverless": "^1.60.4",
"serverless-dotenv-plugin": "^2.1.1",
"serverless-offline": "^5.12.1",
"serverless-plugin-warmup": "^4.7.0-rc.1",
"serverless-prune-plugin": "^1.4.1",
"serverless-webpack": "^5.3.1",
"ts-jest": "^24.0.2",
"ts-loader": "^6.1.0",
"typescript": "^3.6.3",
"webpack": "^4.41.5",
"webpack-node-externals": "^1.7.2"
},
"dependencies": {
"aws-sdk": "^2.529.0",
"debug": "^4.1.1",
"initials": "^3.0.1",
"mime": "^2.4.4",
"seedrandom": "^3.0.5",
"sharp": "^0.23.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,ts}": [
"yarn lint",
"prettier --write",
"git add"
]
}
}