Files
Website/package.json
T
2026-11-24 22:05:11 +01:00

58 lines
1.7 KiB
JSON

{
"name": "terncode.dev",
"version": "1.0.0",
"description": "My webpage",
"main": "index.js",
"scripts": {
"ts": "tsc",
"ts-watch": "tsc --watch",
"clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
"build:server": "tsc",
"build:client": "node esbuild.mjs",
"build": "npm run clean && npm run build:server && npm run build:client",
"start": "node index.js",
"dev:server": "node --watch index.js",
"dev:client": "node esbuild.mjs --watch",
"dev:ts": "tsc --watch",
"dev": "concurrently -k -n ts,client,server -c blue,magenta,green \"npm:dev:ts\" \"npm:dev:client\" \"npm:dev:server\"",
"predev": "npm run build",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "GPL-2.0-only",
"dependencies": {
"body-parser": "^1.20.2",
"cookie-parser": "^1.4.7",
"ejs": "^3.1.9",
"esbuild": "^0.19.4",
"express": "^4.18.2",
"file-type": "^21.0.0",
"javascript-obfuscator": "^4.0.2",
"multer": "^2.0.2",
"png-to-ico": "^3.0.1",
"sharp": "^0.34.3",
"sqlite3": "^5.1.7",
"typeorm": "^0.3.26",
"typescript": "^5.0.2"
},
"devDependencies": {
"@eslint/js": "^9.39.5",
"@types/cookie-parser": "^1.4.9",
"@types/express": "^4.17.17",
"@types/multer": "^2.0.0",
"@types/node": "^22.20.5",
"concurrently": "^10.0.6",
"esbuild-obfuscator-plugin": "^1.0.1",
"eslint": "^9.39.5",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-unicorn": "^56.0.1",
"eslint-plugin-unused-imports": "^4.4.1",
"globals": "^17.13.0",
"typescript-eslint": "^8.71.2"
}
}