Replaced Markdown issue templates with structured YAML templates for bug reports, feature requests, performance issues, deployment help, and platform support. Added .prettierrc.json and .prettierignore for code formatting, a detailed CONTRIBUTING.md, and a pull request template. Updated CODE_OF_CONDUCT.md and README.md to reference new contribution guidelines. Added ESLint config, test scripts, and initial test files to improve project maintainability and onboarding.
35 lines
1004 B
JSON
35 lines
1004 B
JSON
{
|
|
"dependencies": {
|
|
"xget": "file:"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/vitest-pool-workers": "^0.5.0",
|
|
"@cloudflare/workers-types": "^4.20241218.0",
|
|
"eslint": "^9.17.0",
|
|
"prettier": "^3.4.2",
|
|
"vitest": "^2.1.8",
|
|
"wrangler": "^4.18.0"
|
|
},
|
|
"name": "xget",
|
|
"private": true,
|
|
"scripts": {
|
|
"deploy": "wrangler deploy",
|
|
"dev": "wrangler dev",
|
|
"format": "node scripts/test.js format",
|
|
"format:check": "prettier --check src/ test/ *.js *.json *.md",
|
|
"lint": "node scripts/test.js lint",
|
|
"lint:fix": "eslint src/ test/ --fix",
|
|
"start": "wrangler dev",
|
|
"test": "node scripts/test.js run",
|
|
"test:bench": "node scripts/test.js bench",
|
|
"test:ci": "node scripts/test.js ci",
|
|
"test:clean": "node scripts/test.js clean",
|
|
"test:coverage": "node scripts/test.js coverage",
|
|
"test:run": "vitest run",
|
|
"test:setup": "node scripts/test.js setup",
|
|
"test:ui": "vitest --ui",
|
|
"test:watch": "node scripts/test.js watch",
|
|
"type-check": "tsc --noEmit"
|
|
},
|
|
"version": "1.0.0"
|
|
} |