Files
dailytrends/package.json
albert f9df9aab0f updates on package.json:
* adds test and lint scripts commands
* adding: jest for tesing
* adding: eslint for linting
* adding required types
* replace ts-node with tsx
2025-07-28 11:49:49 +02:00

38 lines
1.0 KiB
JSON

{
"name": "dailytrends",
"version": "0.0.1",
"description": "DailyTrends es un periódico que une las portadas de los periódicos número uno.",
"homepage": "https://github.com/aabril/dailytrends#readme",
"bugs": {
"url": "https://github.com/aabril/dailytrends/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/aabril/dailytrends.git"
},
"license": "AGPL-3.0-or-later",
"author": "Albert Abril",
"type": "module",
"main": "index.js",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"dev": "tsx watch src/index.ts",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^24.1.0",
"@typescript-eslint/eslint-plugin": "^8.38.0",
"@typescript-eslint/parser": "^8.38.0",
"eslint": "^9.32.0",
"jest": "^30.0.5",
"ts-jest": "^29.4.0",
"tsx": "^4.20.3",
"typescript": "^5.8.3"
}
}