57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
{
|
|
"name": "txtdot",
|
|
"version": "1.4.0",
|
|
"private": true,
|
|
"description": "",
|
|
"main": "dist/app.js",
|
|
"dependencies": {
|
|
"@fastify/static": "^6.10.2",
|
|
"@fastify/swagger": "^8.8.0",
|
|
"@fastify/swagger-ui": "^1.9.3",
|
|
"@fastify/view": "^8.0.0",
|
|
"@mozilla/readability": "^0.4.4",
|
|
"axios": "^1.4.0",
|
|
"dompurify": "^3.0.5",
|
|
"dotenv": "^16.3.1",
|
|
"ejs": "^3.1.9",
|
|
"fastify": "^4.21.0",
|
|
"iconv-lite": "^0.6.3",
|
|
"ip-range-check": "^0.2.0",
|
|
"json-schema-to-ts": "^2.9.2",
|
|
"linkedom": "^0.16.4",
|
|
"micromatch": "^4.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/dompurify": "^3.0.3",
|
|
"@types/ejs": "^3.1.2",
|
|
"@types/jsdom": "^21.1.1",
|
|
"@types/micromatch": "^4.0.2",
|
|
"@types/node": "^20.4.10",
|
|
"@typescript-eslint/eslint-plugin": "^6.3.0",
|
|
"@typescript-eslint/parser": "^6.3.0",
|
|
"clean-css-cli": "^5.6.2",
|
|
"copyfiles": "^2.4.1",
|
|
"eslint": "^8.47.0",
|
|
"prettier": "^3.1.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 .env ./dist/ && tsc",
|
|
"start": "cd ./dist && node ./src/app.js",
|
|
"start:docker": "node ./src/app.js",
|
|
"clean-css": "cleancss --batch static/*.css -o dist/static --batch-suffix \"\"",
|
|
"dev": "tsc-watch --onSuccess \"node ./dist/src/app.js\"",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check ."
|
|
},
|
|
"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"
|
|
}
|