Skip to content

Commit

Permalink
feat: cleanup deps
Browse files Browse the repository at this point in the history
  • Loading branch information
cometkim committed Oct 26, 2020
1 parent d3c1215 commit b3139c5
Show file tree
Hide file tree
Showing 4 changed files with 2,075 additions and 2,152 deletions.
9 changes: 3 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
module.exports = {
extends: [
'plugin:@cometjs/auto',
],
env: {
node: true,
},
parserOptions: {
project: './tsconfig.json',
},
extends: [
'plugin:@cometjs/auto',
],
};
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
- name: Run commands
run: |
yarn
yarn prepublishOnly
yarn prepack
env:
CI: true
44 changes: 16 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,10 @@
],
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-commit": "yarn lint",
"pre-push": "yarn lint"
}
},
"lint-staged": {
"*.js": [
"eslint --fix"
]
},
"files": [
"index.js",
"gatsby-node.js",
Expand All @@ -51,7 +46,7 @@
"README"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --out-dir . --extensions .ts,.tsx",
"build": "babel src --out-dir . --extensions .ts,.tsx",
"lint": "eslint . --ignore-path .gitignore --ext .ts,.tsx",
"prepack": "yarn lint && yarn build"
},
Expand All @@ -60,28 +55,21 @@
"linaria": ">=2.0.0"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/preset-typescript": "^7.10.4",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/preset-typescript": "^7.12.1",
"@cometjs/eslint-plugin": "^0.2.1",
"@types/react": "^16.9.42",
"@types/react-dom": "^17.9.8",
"@types/webpack": "^4.41.21",
"babel-eslint": "^10.0.3",
"babel-preset-gatsby-package": "^0.5.2",
"cross-env": "^7.0.0",
"eslint": "^7.4.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-react-hooks": "^4.0.7",
"gatsby": "^2.24.2",
"husky": "^4.2.1",
"linaria": "^1.3.3",
"lint-staged": "^10.0.2",
"react": "^16.13.1",
"typescript": "^3.9.6",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8",
"babel-eslint": "^10.1.0",
"babel-preset-gatsby-package": "^0.5.3",
"eslint": "^7.12.0",
"eslint-plugin-react-hooks": "^4.2.0",
"gatsby": "^2.24.87",
"husky": "^4.3.0",
"linaria": "^2.0.0",
"react": "^17.0.1",
"typescript": "^4.0.3",
"utility-types": "^3.10.0"
}
}
Loading

0 comments on commit b3139c5

Please sign in to comment.