|
16 | 16 | "cfn-response": "^1.0.1" |
17 | 17 | }, |
18 | 18 | "devDependencies": { |
19 | | - "@babel/core": "^7.11.6", |
20 | | - "@babel/plugin-proposal-class-properties": "^7.10.4", |
21 | | - "@babel/preset-env": "^7.11.5", |
22 | | - "@babel/preset-typescript": "^7.10.4", |
23 | | - "@types/aws-lambda": "^8.10.62", |
| 19 | + "@babel/core": "^7.12.3", |
| 20 | + "@babel/plugin-proposal-class-properties": "^7.12.1", |
| 21 | + "@babel/preset-env": "^7.12.1", |
| 22 | + "@babel/preset-typescript": "^7.12.1", |
| 23 | + "@types/aws-lambda": "^8.10.64", |
24 | 24 | "@types/cfn-response": "^1.0.3", |
25 | | - "@types/jest": "^26.0.14", |
26 | | - "@types/node": "^14.11.2", |
| 25 | + "@types/jest": "^26.0.15", |
| 26 | + "@types/node": "^14.14.6", |
| 27 | + "@typescript-eslint/eslint-plugin": "^4.6.0", |
| 28 | + "@typescript-eslint/parser": "^4.6.0", |
27 | 29 | "aws-lambda": "^1.0.6", |
28 | | - "aws-sdk": "^2.761.0", |
29 | | - "babel-jest": "^26.3.0", |
30 | | - "codecov": "^3.7.2", |
| 30 | + "aws-sdk": "^2.783.0", |
| 31 | + "babel-jest": "^26.6.1", |
| 32 | + "codecov": "^3.8.0", |
| 33 | + "eslint": "^7.12.1", |
| 34 | + "eslint-config-prettier": "^6.15.0", |
| 35 | + "eslint-plugin-prettier": "^3.1.4", |
31 | 36 | "husky": "^4.3.0", |
32 | | - "jest": "^26.4.2", |
33 | | - "publish-please": "^5.5.1", |
| 37 | + "jest": "^26.6.1", |
| 38 | + "lint-staged": "^10.5.1", |
| 39 | + "prettier": "^2.1.2", |
| 40 | + "publish-please": "^5.5.2", |
34 | 41 | "rimraf": "^3.0.2", |
35 | 42 | "serverless-plugin-test-helper": "^2.4.5", |
36 | | - "typescript": "^4.0.3" |
| 43 | + "typescript": "^4.0.5" |
37 | 44 | }, |
38 | 45 | "husky": { |
39 | 46 | "hooks": { |
40 | | - "pre-commit": "npm test" |
| 47 | + "pre-commit": "lint-staged && npm test" |
41 | 48 | } |
42 | 49 | }, |
| 50 | + "lint-staged": { |
| 51 | + "./src/**/*.ts": [ |
| 52 | + "eslint --fix", |
| 53 | + "git add ." |
| 54 | + ] |
| 55 | + }, |
43 | 56 | "publishConfig": { |
44 | 57 | "access": "public" |
45 | 58 | }, |
|
0 commit comments