-
Notifications
You must be signed in to change notification settings - Fork 364
/
package.json
34 lines (34 loc) · 1.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
{
"name": "serverless-graphql",
"private": true,
"scripts": {
"precommit": "lint-staged",
"lint": "eslint app-backend/appsync/**/*.js app-backend/dynamodb/*.js app-backend/rest-api/*.js app-backend/rds/*.js app-client/**/src/**/*.js",
"prettier": "prettier --write \"{app-backend,app-client/**/src}/**/*.{js,css,json}\"",
"prettier-check": "prettier --list-different \"{app-backend,app-client/**/src}/**/*.{js,css,json}\"",
"test": "yarn run lint && yarn run prettier-check",
"postinstall": "cd app-backend/dynamodb && yarn install && cd ../rest-api && yarn install && cd ../rds && yarn install && cd ../../app-client/apollo-client && yarn install && cd ../../ && yarn install-appsync",
"install-appsync": "cd app-client/appsync-client && yarn install && cd ../../app-backend/appsync/dynamo && yarn install && cd ../dynamo-elasticsearch-lambda && yarn install && cd ../lambda && yarn install"
},
"lint-staged": {
"*.{js,json,css}": [
"prettier --write",
"git add"
]
},
"dependencies": {},
"devDependencies": {
"babel-eslint": "^8.0.2",
"eslint": "^4.11.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.7.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jest": "^21.3.2",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-react": "^7.4.0",
"husky": "^0.14.3",
"lint-staged": "^4.2.3",
"prettier": "^1.16.4"
}
}