Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update tsup config & remove husky #19

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions .husky/pre-commit

This file was deleted.

26 changes: 4 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,17 @@
"name": "Ahmed Abdelbaset",
"url": "https://twitter.com/A7med3bdulBaset"
},
"engines": {
"node": ">=8.10.0"
},
"main": "dist/index.js",
"files": ["dist"],
"scripts": {
"prepare": "husky install",
"clean": "rimraf dist",
"prebuild": "npm run clean",
"build": "tsup src/index.ts --no-splitting --minify",
"lint": "run-s lint:ts lint:eslint format:check",
"lint:ts": "tsc --noEmit",
"lint:eslint": "eslint .",
"format:check": "biome check .",
"build": "tsup",
"format": "biome check . --write",
"fix": "run-s fix:eslint format",
"fix:eslint": "npm run lint:eslint -- --fix",
"type:check": "tsc --noEmit",
"lint": "eslint .",
"format:check": "biome check .",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"ci": "run-s lint test:coverage",
"release": "semantic-release",
"add-rule": "ts-node scripts/add-rule",
"update": "ts-node scripts/update",
Expand All @@ -47,21 +37,13 @@
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"eslint": "^8.47.0",
"husky": "^8.0.3",
"jest": "^29.6.4",
"lint-staged": "^14.0.1",
"npm-run-all": "^4.1.5",
"rimraf": "^5.0.1",
"tailwindcss": "~3.3.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tsup": "^7.2.0",
"typescript": "^5.1.6"
},
"lint-staged": {
"*.{js,ts}": ["lint --fix", "format"],
"*.{json,yaml,md}": ["format"]
},
"repository": {
"type": "git",
"url": "git+https://github.com/A7med3bdulBaset/eslint-plugin-rtl-friendly.git"
Expand Down
Loading
Loading