mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-09 17:06:15 +00:00
86 lines
3.2 KiB
JSON
86 lines
3.2 KiB
JSON
{
|
|
"name": "microsoft-rewards-bot",
|
|
"version": "2.56.14",
|
|
"description": "Automate Microsoft Rewards points collection",
|
|
"private": true,
|
|
"main": "index.js",
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Obsidian-wtf/Microsoft-Rewards-Bot.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/Obsidian-wtf/Microsoft-Rewards-Bot/issues"
|
|
},
|
|
"homepage": "https://github.com/Obsidian-wtf/Microsoft-Rewards-Bot#readme",
|
|
"scripts": {
|
|
"clean": "rimraf dist",
|
|
"typecheck": "tsc --noEmit",
|
|
"build": "tsc",
|
|
"postbuild": "node -e \"console.log('\\n Build complete! Run \\\"npm start\\\" to launch the bot.\\n')\"",
|
|
"postinstall": "npm run build",
|
|
"prebuild": "node -e \"const fs = require('fs'); if (!fs.existsSync('node_modules/@playwright/browser-chromium') && process.env.SKIP_BROWSER_INSTALL !== '1') { console.log('📦 Installing Chromium browser...'); require('child_process').execSync('npx playwright install chromium --with-deps', {stdio: 'inherit'}); }\"",
|
|
"test": "node --test --loader ts-node/esm tests/**/*.test.ts",
|
|
"start": "node --enable-source-maps ./dist/index.js",
|
|
"dev": "ts-node ./src/index.ts -dev",
|
|
"creator": "ts-node ./src/account-creation/cli.ts",
|
|
"dashboard": "node --enable-source-maps ./dist/index.js -dashboard",
|
|
"dashboard-dev": "ts-node ./src/index.ts -dashboard",
|
|
"lint": "eslint \"src/**/*.{ts,tsx}\"",
|
|
"setup": "node ./scripts/installer/setup.mjs",
|
|
"kill-chrome": "node -e \"const { execSync } = require('child_process'); const isWin = process.platform === 'win32'; try { execSync(isWin ? 'taskkill /F /IM chrome.exe 2>nul || exit 0' : 'pkill -f chrome || true', {stdio: 'inherit'}); } catch(e) {}\"",
|
|
"docker:build": "docker build -f docker/Dockerfile -t microsoft-rewards-bot .",
|
|
"docker:run": "docker run -d --name ms-rewards microsoft-rewards-bot",
|
|
"docker:compose": "docker compose -f docker/compose.yaml up -d"
|
|
},
|
|
"keywords": [
|
|
"Bing Rewards",
|
|
"Microsoft Rewards",
|
|
"Bot",
|
|
"Script",
|
|
"TypeScript",
|
|
"Playwright",
|
|
"Cheerio"
|
|
],
|
|
"author": "Obsidian-wtf",
|
|
"contributors": [
|
|
"Microsoft Rewards Bot Community (https://github.com/Obsidian-wtf/Microsoft-Rewards-Bot/graphs/contributors)"
|
|
],
|
|
"license": "CC-BY-NC-SA-4.0",
|
|
"funding": {
|
|
"type": "github",
|
|
"url": "https://github.com/sponsors/Obsidian-wtf"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.25",
|
|
"@types/ms": "^0.7.34",
|
|
"@types/node": "^20.19.24",
|
|
"@types/node-cron": "3.0.11",
|
|
"@types/ws": "^8.18.1",
|
|
"@typescript-eslint/eslint-plugin": "^7.17.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-plugin-modules-newline": "^0.0.6",
|
|
"rimraf": "^6.0.1",
|
|
"typescript": "^5.5.4"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.8.4",
|
|
"chalk": "^4.1.2",
|
|
"cheerio": "^1.0.0",
|
|
"express": "^4.21.2",
|
|
"fingerprint-generator": "^2.1.66",
|
|
"fingerprint-injector": "^2.1.66",
|
|
"http-proxy-agent": "^7.0.2",
|
|
"https-proxy-agent": "^7.0.6",
|
|
"luxon": "^3.5.0",
|
|
"ms": "^2.1.3",
|
|
"node-cron": "3.0.3",
|
|
"playwright": "1.52.0",
|
|
"rebrowser-playwright": "1.52.0",
|
|
"socks-proxy-agent": "^8.0.5",
|
|
"ts-node": "^10.9.2",
|
|
"ws": "^8.18.3"
|
|
}
|
|
} |