Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
chore: remove all unneeded packages and declare needed packages as de…
Browse files Browse the repository at this point in the history
…pendencies
  • Loading branch information
RyanClementsHax committed Jan 9, 2022
1 parent d5c6062 commit 6ef6315
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 1,995 deletions.
3 changes: 0 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"typescript",
// jest
"plugin:jest/recommended",
"plugin:jest/style",
// must be last for prettier to work well with eslint
"prettier"
],
Expand Down
4 changes: 2 additions & 2 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"*.@(ts|tsx|js|jsx)": ["yarn lint:js", "yarn format"],
"*.@(ts|tsx|js|jsx)": ["yarn lint", "yarn format"],
"*.json": ["yarn format"],
"*.*rc": ["yarn format --parser json"],
"*.@(css|scss)": ["yarn lint:styles", "yarn format"]
"*.@(css|scss)": ["yarn format"]
}
5 changes: 0 additions & 5 deletions .stylelintignore

This file was deleted.

9 changes: 2 additions & 7 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"npm.packageManager": "yarn",
"css.validate": false,
"less.validate": false,
"scss.validate": false,
"editor.codeActionsOnSave": {
"source.fixAll.markdownlint": true,
"source.fixAll.stylelint": true
},
"stylelint.validate": ["css", "scss"]
"source.fixAll.markdownlint": true
}
}
12 changes: 0 additions & 12 deletions jest.config.js

This file was deleted.

21 changes: 4 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,14 @@
"lib"
],
"scripts": {
"build": "yarn clean && tsc --project tsconfig.build.json",
"build": "yarn clean && tsc",
"clean": "tsc --build --clean",
"type-check": "tsc --pretty --noEmit",
"format": "prettier --write",
"format:all": "yarn format .",
"lint:all": "yarn lint:js:all && yarn lint:styles:all",
"lint:js": "eslint --fix",
"lint:js:all": "yarn lint:js .",
"lint:styles": "stylelint --allow-empty-input --fix",
"lint:styles:all": "yarn lint:styles ./**/*.{scss,css}",
"test": "jest",
"test:all": "yarn lint:all && yarn type-check && yarn test",
"lint": "eslint --fix",
"lint:all": "yarn lint .",
"test:all": "yarn lint:all && yarn type-check",
"prepare": "husky install",
"prepublishOnly": "yarn build",
"release": "semantic-release"
Expand All @@ -46,7 +42,6 @@
"storybook-addon-next-router": "^3.1.1"
},
"devDependencies": {
"@types/jest": "^27.0.3",
"@types/loader-utils": "^2.0.3",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
Expand All @@ -55,20 +50,12 @@
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
"eslint-config-typescript": "^3.0.0",
"eslint-plugin-jest": "^25.3.0",
"husky": "^7.0.4",
"jest": "^27.4.4",
"jest-watch-typeahead": "^1.0.0",
"lint-staged": "^12.1.2",
"next": "^12.0.7",
"prettier": "^2.5.1",
"react": "^17.0.2",
"semantic-release": "^18.0.1",
"stylelint": "^14.1.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recommended-scss": "^5.0.2",
"stylelint-config-standard": "^24.0.0",
"stylelint-prettier": "^2.0.0",
"ts-jest": "^27.1.1",
"tslib": "^2.3.1",
"typescript": "^4.5.3",
Expand Down
7 changes: 0 additions & 7 deletions stylelint.config.js

This file was deleted.

4 changes: 0 additions & 4 deletions tsconfig.build.json

This file was deleted.

Loading

0 comments on commit 6ef6315

Please sign in to comment.