txtdot/packages/server/package.json

51 lines
1.6 KiB
JSON
Raw Normal View History

2024-05-12 16:24:50 +03:00
{
2024-05-12 16:29:36 +03:00
"name": "@txtdot/server",
2024-05-13 13:30:47 +03:00
"version": "1.8.0",
2024-05-12 16:24:50 +03:00
"private": true,
"description": "txtdot is an HTTP proxy that parses only text, links and pictures from pages reducing internet bandwidth usage, removing ads and heavy scripts",
"main": "dist/app.js",
"keywords": [],
"authors": [
"Artemy Egorov <me@artegoser.ru> https://github.com/artegoser",
"DarkCat09 <darkcat09@vivaldi.net> https://dc09.ru/"
],
"license": "MIT",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm run clean-css && copyfiles ./templates/*.ejs ./templates/**/*.ejs .env ./dist/ && tsc",
"start": "cd ./dist && node ./src/app.js",
"clean-css": "cleancss --batch static/*.css -o dist/static --batch-suffix \"\"",
"dev": "tsc-watch --onSuccess \"node ./dist/src/app.js\""
},
"dependencies": {
2024-05-14 11:12:20 +03:00
"@fastify/one-line-logger": "^1.3.0",
2024-05-12 16:24:50 +03:00
"@fastify/static": "^7.0.3",
"@fastify/swagger": "^8.14.0",
"@fastify/swagger-ui": "^3.0.0",
"@fastify/view": "^9.0.0",
"@txtdot/plugins": "workspace:*",
"@txtdot/sdk": "workspace:*",
"axios": "^1.6.8",
"dompurify": "^3.1.2",
"dotenv": "^16.3.1",
"ejs": "^3.1.10",
"fastify": "^4.26.2",
"html-to-text": "^9.0.5",
2024-05-12 16:24:50 +03:00
"iconv-lite": "^0.6.3",
"ip-range-check": "^0.2.0",
"json-schema-to-ts": "^3.0.1",
"linkedom": "^0.18.0",
2024-05-12 16:24:50 +03:00
"micromatch": "^4.0.5",
"sharp": "^0.33.3"
},
"devDependencies": {
"@types/dompurify": "^3.0.5",
"@types/ejs": "^3.1.5",
"@types/html-to-text": "^9.0.4",
2024-05-12 16:24:50 +03:00
"@types/jsdom": "^21.1.6",
"@types/micromatch": "^4.0.7",
"clean-css-cli": "^5.6.3",
"copyfiles": "^2.4.1"
}
}