-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
60 lines (60 loc) · 1.88 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
{
"name": "serverless-webpack-starter",
"version": "1.0.0",
"description": "Serverless Webpack StarterKit",
"main": "src/functions/handler.js",
"repository": "https://github.com/kotarella1110/serverless-webpack-starter.git",
"author": "Kotaro Sugawara <kotarella1110@gmail.com>",
"license": "MIT",
"scripts": {
"postinstall": "cp env.example.yml env.yml",
"precommit": "lint-staged",
"start": "sls offline",
"build": "sls webpack",
"build:prod": "sls webpack --stage prod",
"deploy:func": "sls deploy function --verbose",
"deploy:func:prod": "sls deploy function --stage prod --verbose",
"deploy": "sls deploy --verbose",
"deploy:prod": "sls deploy --stage prod --verbose",
"lint": "eslint './src/**/*.js' './__tests__/**/*.js'",
"test": "jest"
},
"devDependencies": {
"aws-sdk": "^2.114.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-source-map-support": "^1.0.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-plugin-transform-strict-mode": "^6.24.1",
"babel-preset-env": "^1.6.0",
"eslint": "^4.6.1",
"eslint-config-airbnb": "^15.1.0",
"eslint-config-prettier": "^2.4.0",
"eslint-loader": "^1.9.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-prettier": "^2.2.0",
"eslint-plugin-react": "^7.3.0",
"husky": "^0.14.3",
"jest": "^21.0.2",
"lint-staged": "^4.1.3",
"prettier": "^1.6.1",
"serverless": "^1.21.1",
"serverless-offline": "^3.15.3",
"serverless-webpack": "^3.0.0",
"webpack": "^3.5.6",
"webpack-merge": "^4.1.0",
"webpack-node-externals": "^1.6.0"
},
"dependencies": {
"babel-runtime": "^6.26.0",
"source-map-support": "^0.4.18"
},
"lint-staged": {
"{src,__tests__,webpack}/**/*.js": [
"yarn lint -- --fix",
"yarn test",
"git add"
]
}
}