48 lines
1.6 KiB
JSON
48 lines
1.6 KiB
JSON
{
|
|
"name": "@txtdot/server",
|
|
"version": "1.10.1",
|
|
"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 ./static/third-party/* ./static/third-party/**/* .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": {
|
|
"@fastify/one-line-logger": "^2.0.2",
|
|
"@fastify/static": "^8.1.0",
|
|
"@fastify/swagger": "^9.4.2",
|
|
"@fastify/swagger-ui": "^5.2.1",
|
|
"@fastify/view": "^10.0.2",
|
|
"@txtdot/plugins": "workspace:*",
|
|
"@txtdot/sdk": "workspace:*",
|
|
"axios": "^1.7.9",
|
|
"dotenv": "^16.4.7",
|
|
"ejs": "^3.1.10",
|
|
"fastify": "^5.2.1",
|
|
"iconv-lite": "^0.6.3",
|
|
"ip-range-check": "^0.2.0",
|
|
"isomorphic-dompurify": "^2.21.0",
|
|
"json-schema-to-ts": "^3.1.1",
|
|
"linkedom": "^0.18.9",
|
|
"micromatch": "^4.0.8",
|
|
"sharp": "^0.33.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/ejs": "^3.1.5",
|
|
"@types/jsdom": "^21.1.7",
|
|
"@types/micromatch": "^4.0.9",
|
|
"clean-css-cli": "^5.6.3",
|
|
"copyfiles": "^2.4.1"
|
|
}
|
|
}
|