|
61 | 61 | "integration-test-run-basic": "jest --maxWorkers=5 integration-basic",
|
62 | 62 | "integration-test-run-all": "jest --maxWorkers=5 integration-all",
|
63 | 63 | "integration-test-cleanup": "node tests/utils/aws-cleanup.js",
|
64 |
| - "postinstall": "node ./scripts/postinstall.js" |
| 64 | + "postinstall": "node ./scripts/postinstall.js", |
| 65 | + "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"", |
| 66 | + "prettier-check-updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c", |
| 67 | + "prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"", |
| 68 | + "prettify-updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write" |
65 | 69 | },
|
| 70 | + "eslintConfig": { |
| 71 | + "extends": "@serverless/eslint-config/node", |
| 72 | + "root": true |
| 73 | + }, |
| 74 | + "eslintIgnore": [ |
| 75 | + "lib/plugins/create/templates/**" |
| 76 | + ], |
66 | 77 | "mocha": {
|
67 | 78 | "reporter": "tests/mocha-reporter",
|
68 | 79 | "timeout": 5000
|
|
77 | 88 | "useStderr": true
|
78 | 89 | },
|
79 | 90 | "devDependencies": {
|
| 91 | + "@serverless/eslint-config": "^1.0.0", |
80 | 92 | "chai": "^4.2.0",
|
81 | 93 | "chai-as-promised": "^7.1.1",
|
82 | 94 | "child-process-ext": "^2.0.0",
|
83 | 95 | "cli-progress-footer": "^1.1.1",
|
84 | 96 | "coveralls": "^3.0.4",
|
85 |
| - "eslint": "^3.19.0", |
86 |
| - "eslint-config-airbnb": "^10.0.1", |
87 |
| - "eslint-config-airbnb-base": "^5.0.3", |
88 |
| - "eslint-plugin-import": "^1.16.0", |
89 |
| - "eslint-plugin-jsx-a11y": "^2.2.3", |
90 |
| - "eslint-plugin-react": "^6.10.3", |
| 97 | + "eslint": "^6.0.1", |
| 98 | + "eslint-plugin-import": "^2.18.0", |
91 | 99 | "git-list-updated": "^1.2.0",
|
92 | 100 | "jest-circus": "^24.8.0",
|
93 | 101 | "jest-cli": "^24.8.0",
|
|
96 | 104 | "mock-require": "^3.0.3",
|
97 | 105 | "nyc": "^14.1.1",
|
98 | 106 | "p-limit": "^2.2.0",
|
| 107 | + "prettier": "^1.18.2", |
99 | 108 | "process-utils": "^2.3.1",
|
100 | 109 | "proxyquire": "^2.1.0",
|
101 | 110 | "sinon": "^7.3.2",
|
|
0 commit comments