back to esbuild- imports changed

This commit is contained in:
iPromKnight
2024-02-07 20:59:37 +00:00
committed by iPromKnight
parent 9aba1c13b1
commit 028bb122e1
50 changed files with 1935 additions and 281 deletions

View File

@@ -3,14 +3,12 @@
"version": "0.0.1",
"type": "module",
"scripts": {
"build": "swc src -d dist",
"watch-compile": "swc src -w --out-dir dist",
"watch-dev": "nodemon --watch \"dist/**/*\" -e js ./dist/main.js",
"dev": "concurrently \"npm run watch-compile\" \"npm run watch-dev\"",
"start": "node dist/main.js",
"clean": "rm -rf dist",
"lint": "eslint --ext .ts src",
"lint:fix": "eslint --ext .ts src --fix"
"build": "node esbuild.js",
"dev": "tsx watch --ignore node_modules src/main.ts | pino-pretty",
"start": "node dist/main.cjs",
"lint": "npx eslint ./src --ext .ts,.js",
"lint-fix": "npm run lint -- --fix"
},
"license": "MIT",
"dependencies": {
@@ -35,21 +33,24 @@
"webtorrent": "^2.1.35"
},
"devDependencies": {
"@swc/cli": "^0.3.9",
"@swc/core": "^1.4.0",
"node-gyp": "^10.0.1",
"nodemon": "^3.0.3",
"@types/amqplib": "^0.10.4",
"@types/magnet-uri": "^5.1.5",
"@types/node": "^20.11.16",
"@types/validator": "^13.11.8",
"@types/webtorrent": "^0.109.7",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@types/webtorrent": "^0.109.7",
"concurrently": "^8.2.2",
"esbuild": "^0.20.0",
"eslint": "^8.56.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-import-helpers": "^1.3.1",
"pino-pretty": "^10.3.1",
"tsx": "^4.7.0",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.3.3"
}
}