NicolasLepinette 5 years ago
parent
commit
76a0fcca9c
  1. 1
      .circleci/config.yml
  2. 17
      package.json

1
.circleci/config.yml

@ -10,7 +10,6 @@ jobs:
- run: - run:
name: install node name: install node
command: yarn global add node-gyp && yarn install command: yarn global add node-gyp && yarn install
- run: yarn format:check
- run: yarn test:ci - run: yarn test:ci
- save_cache: - save_cache:
key: yarn-packages-{{checksum "yarn.lock"}} key: yarn-packages-{{checksum "yarn.lock"}}

17
package.json

@ -6,7 +6,6 @@
"@testing-library/jest-dom": "^5.11.4", "@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0", "@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10", "@testing-library/user-event": "^12.1.10",
"lint": "tslint -p tsconfig.json -c tslint.json",
"react": "^17.0.1", "react": "^17.0.1",
"react-dom": "^17.0.1", "react-dom": "^17.0.1",
"react-scripts": "4.0.3", "react-scripts": "4.0.3",
@ -42,26 +41,12 @@
"autoprefixer": "10.2.5", "autoprefixer": "10.2.5",
"husky": "5.1.3", "husky": "5.1.3",
"prettier": "2.2.1", "prettier": "2.2.1",
"lint-staged": "^9.4.1",
"pretty-quick": "3.1.0",
"tslint": "5.20.0",
"tslint-config-prettier": "^1.18.0"
"pretty-quick": "3.1.0"
}, },
"husky": { "husky": {
"hooks": { "hooks": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged"
} }
},
"lint-staged": {
"*.ts": [
"prettier --write",
"tslint -p tsconfig.json -c tslint.json",
"git add"
],
"*.{js,json,md}": [
"prettier --write",
"git add"
]
} }
} }
Loading…
Cancel
Save