Skip to content

Commit

Permalink
chore: replace ts-node with tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiefORZ committed Oct 24, 2023
1 parent 06a88c5 commit 83056bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 185 deletions.
16 changes: 7 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"bin": "dist/bin/pdf-generator.js",
"scripts": {
"build": "rimraf dist && tsc",
"dev": "ts-node-dev ./bin/pdf-generator",
"dev": "node --import tsx --watch ./bin/pdf-generator",
"lint": "eslint './src/**/*.{js,jsx,ts,tsx}' --fix",
"precommit": "lint-staged",
"prepare": "husky install",
Expand All @@ -21,6 +21,9 @@
"src/**/*.{js,jsx,ts,tsx}": "eslint --fix"
},
"prettier": "@chieforz/prettier-config",
"eslintConfig": {
"extends": "@chieforz/eslint-config-tslint-base"
},
"dependencies": {
"@pdf-lib/fontkit": "^1.1.1",
"debug": "^4.3.4",
Expand All @@ -35,8 +38,8 @@
"yargs": "^17.7.2"
},
"devDependencies": {
"@chieforz/prettier-config": "^1.1.9",
"@chieforz/eslint-config-tslint-base": "^1.1.9",
"@chieforz/prettier-config": "^1.1.9",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@release-it/conventional-changelog": "^7.0.2",
Expand All @@ -54,18 +57,13 @@
"lint-staged": "^15.0.2",
"npm-run-all": "^4.1.5",
"release-it": "^16.2.1",
"semver": "^7.5.4",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0"
"semver": "^7.5.4"
},
"engines": {
"node": ">=18.17"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"eslintConfig": {
"extends": "@chieforz/eslint-config-tslint-base"
}
}
}
178 changes: 2 additions & 176 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 83056bd

Please sign in to comment.