deps: update devDependencies (#577)
This commit is contained in:
parent
07f38c68fa
commit
0a4c122ea4
|
@ -9,8 +9,7 @@
|
||||||
"plugin:@typescript-eslint/eslint-recommended",
|
"plugin:@typescript-eslint/eslint-recommended",
|
||||||
"plugin:@typescript-eslint/recommended",
|
"plugin:@typescript-eslint/recommended",
|
||||||
"plugin:jest/recommended",
|
"plugin:jest/recommended",
|
||||||
"plugin:prettier/recommended",
|
"plugin:prettier/recommended"
|
||||||
"prettier/@typescript-eslint"
|
|
||||||
],
|
],
|
||||||
"plugins": ["@typescript-eslint"],
|
"plugins": ["@typescript-eslint"],
|
||||||
"globals": {
|
"globals": {
|
||||||
|
|
|
@ -78,6 +78,12 @@ jobs:
|
||||||
- name: Run ncc
|
- name: Run ncc
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
|
- name: Remove lint-staged husky
|
||||||
|
if: github.ref == 'refs/heads/main'
|
||||||
|
run: |
|
||||||
|
npm uninstall lint-staged husky
|
||||||
|
git checkout package-lock.json package.json
|
||||||
|
|
||||||
- name: Setup mdBook
|
- name: Setup mdBook
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
uses: peaceiris/actions-mdbook@v1.1.14
|
uses: peaceiris/actions-mdbook@v1.1.14
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
npm ci
|
||||||
|
git remote prune origin
|
|
@ -0,0 +1 @@
|
||||||
|
npx lint-staged
|
File diff suppressed because it is too large
Load Diff
30
package.json
30
package.json
|
@ -16,8 +16,16 @@
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"format": "prettier --write **/*.ts",
|
"format": "prettier --write **/*.ts",
|
||||||
"format:check": "prettier --check **/*.ts",
|
"format:check": "prettier --check **/*.ts",
|
||||||
"release": "standard-version",
|
"release": "standard-version"
|
||||||
"toc": "npx doctoc@2.0.0 --github README.md"
|
},
|
||||||
|
"lint-staged": {
|
||||||
|
"{src,__tests__}/**/*.ts": [
|
||||||
|
"prettier --check",
|
||||||
|
"eslint"
|
||||||
|
],
|
||||||
|
"README.md": [
|
||||||
|
"npx doctoc@2.0.0 --github"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -50,19 +58,21 @@
|
||||||
"@types/jest": "^26.0.20",
|
"@types/jest": "^26.0.20",
|
||||||
"@types/js-yaml": "^4.0.0",
|
"@types/js-yaml": "^4.0.0",
|
||||||
"@types/node": "~12",
|
"@types/node": "~12",
|
||||||
"@typescript-eslint/eslint-plugin": "^4.14.2",
|
"@typescript-eslint/eslint-plugin": "^4.16.1",
|
||||||
"@typescript-eslint/parser": "^4.14.2",
|
"@typescript-eslint/parser": "^4.16.1",
|
||||||
"@vercel/ncc": "^0.27.0",
|
"@vercel/ncc": "^0.27.0",
|
||||||
"eslint": "^7.19.0",
|
"eslint": "^7.21.0",
|
||||||
"eslint-config-prettier": "^7.2.0",
|
"eslint-config-prettier": "^8.1.0",
|
||||||
"eslint-plugin-jest": "^24.1.3",
|
"eslint-plugin-jest": "^24.1.5",
|
||||||
"eslint-plugin-prettier": "^3.3.1",
|
"eslint-plugin-prettier": "^3.3.1",
|
||||||
|
"husky": "^5.1.3",
|
||||||
"jest": "^26.6.3",
|
"jest": "^26.6.3",
|
||||||
"jest-circus": "^26.6.3",
|
"jest-circus": "^26.6.3",
|
||||||
"js-yaml": "^4.0.0",
|
"js-yaml": "^4.0.0",
|
||||||
|
"lint-staged": "^10.5.4",
|
||||||
"prettier": "2.2.1",
|
"prettier": "2.2.1",
|
||||||
"standard-version": "^9.1.0",
|
"standard-version": "^9.1.1",
|
||||||
"ts-jest": "^26.5.0",
|
"ts-jest": "^26.5.3",
|
||||||
"typescript": "^4.1.3"
|
"typescript": "^4.2.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue