46 lines
1.5 KiB
JSON
46 lines
1.5 KiB
JSON
{
|
|
"name": "ai-news-writer",
|
|
"version": "0.1.0",
|
|
"description": "AI-powered autonomous news writing system with RSS/social listening, journalist AI, and WordPress export",
|
|
"main": "src/index.js",
|
|
"scripts": {
|
|
"start": "node src/index.js",
|
|
"dev": "nodemon src/index.js",
|
|
"write": "node src/index.js write",
|
|
"listen": "node src/index.js listen",
|
|
"pm2:start": "pm2 start ecosystem.config.cjs",
|
|
"verify:deploy": "bash tools/verify-deploy.sh",
|
|
"wp:test": "node src/index.js wp:test",
|
|
"wp:probe-xmlrpc": "node src/index.js wp:probe-xmlrpc",
|
|
"rss:test": "node src/index.js rss:test",
|
|
"x:test": "node src/index.js x:test",
|
|
"ops:check": "bash tools/ops-check.sh",
|
|
"deploy:lxc": "bash tools/deploy-lxc.sh",
|
|
"test": "c8 --reporter=text --reporter=html --reporter=lcov node --test --test-concurrency=1 $(find src -type f -name '*.test.js' | sort | tr '\\n' ' ')",
|
|
"lint": "eslint src/",
|
|
"lint:fix": "eslint src/ --fix && prettier --write src/",
|
|
"format": "prettier --write ."
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.7.9",
|
|
"cheerio": "^1.0.0",
|
|
"dotenv": "^16.4.7",
|
|
"fast-xml-parser": "^5.7.2",
|
|
"node-cron": "^4.2.1",
|
|
"openai": "^4.86.2",
|
|
"pg": "^8.11.3",
|
|
"rss-parser": "^3.13.0",
|
|
"slugify": "1.6.9",
|
|
"winston": "^3.17.0"
|
|
},
|
|
"devDependencies": {
|
|
"c8": "^9.1.0",
|
|
"eslint": "^8.56.0",
|
|
"nodemon": "^3.1.9",
|
|
"prettier": "3.8.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
}
|
|
}
|