txtdot/package.json
2023-08-15 17:15:54 +03:00

48 lines
1.5 KiB
JSON

{
"name": "txtdot",
"version": "1.0.0",
"private": true,
"description": "",
"main": "dist/app.js",
"dependencies": {
"@fastify/static": "^6.10.2",
"@fastify/view": "^8.0.0",
"@mozilla/readability": "^0.4.4",
"axios": "^1.4.0",
"dotenv": "^16.3.1",
"ejs": "^3.1.9",
"fastify": "^4.21.0",
"jsdom": "^22.1.0"
},
"devDependencies": {
"@types/ejs": "^3.1.2",
"@types/express": "^4.17.17",
"@types/jsdom": "^21.1.1",
"@types/node": "^20.4.10",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"clean-css-cli": "^5.6.2",
"concurrently": "^8.2.0",
"copyfiles": "^2.4.1",
"eslint": "^8.47.0",
"tsc-watch": "^6.0.4",
"typescript": "^5.1.6"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm run clean-css && copyfiles ./templates/*.ejs ./dist/src/ && tsc",
"start": "node dist/src/app.js",
"clean-css": "cleancss --batch static/*.css -o dist/static --batch-suffix \"\"",
"clean-css:watch": "npm run clean-css -- --watch",
"tsc-watch": "tsc-watch --onSuccess \"npm run start\"",
"dev": "concurrently --kill-others \"npm run tsc-watch\" \"npm run clean-css:watch\""
},
"keywords": [],
"authors": [
"Artemy Egorov <me@artegoser.ru> https://github.com/artegoser",
"DarkCat09 <darkcat09@vivaldi.net> https://dc09.ru/",
"megahomyak https://github.com/megahomyak"
],
"license": "MIT"
}