Spaces:
Build error
Build error
| { | |
| "name": "spotify-web-player", | |
| "version": "1.0.0", | |
| "description": "Modern Spotify Web Player with comprehensive features and enterprise-grade architecture", | |
| "main": "server.js", | |
| "scripts": { | |
| "start": "node server.js", | |
| "dev": "node -r dotenv/config server.js", | |
| "local": "PORT=7860 node -r dotenv/config server.js", | |
| "test": "node public/js/tests/test-runner.js", | |
| "test:watch": "nodemon --watch public/js --exec \"npm run test\"", | |
| "test:coverage": "echo 'Test coverage analysis would require additional tooling'", | |
| "lint": "eslint public/js --config public/js/quality/eslint.config.js", | |
| "lint:fix": "eslint public/js --config public/js/quality/eslint.config.js --fix", | |
| "quality": "node public/js/quality/quality-check.js", | |
| "build": "npm run build:minify && npm run build:sw", | |
| "build:minify": "npm run minify:js && npm run minify:css", | |
| "minify:js": "terser public/js/**/*.js --compress --mangle --output public/dist/app.min.js", | |
| "minify:css": "cleancss -o public/dist/styles.min.css public/css/styles.css", | |
| "build:sw": "node scripts/build-service-worker.js", | |
| "validate": "npm run lint && npm run test && npm run quality", | |
| "analyze": "npm run quality && npm run test:coverage", | |
| "security": "npm audit && echo 'Security scan complete'", | |
| "clean": "rm -rf public/dist docs coverage", | |
| "precommit": "npm run validate" | |
| }, | |
| "dependencies": { | |
| "express": "^4.18.2", | |
| "dotenv": "^16.3.1", | |
| "crypto": "^1.0.1" | |
| }, | |
| "devDependencies": { | |
| "eslint": "^8.45.0", | |
| "terser": "^5.19.0", | |
| "clean-css-cli": "^5.6.0", | |
| "nodemon": "^3.0.0", | |
| "concurrently": "^8.2.0" | |
| }, | |
| "engines": { | |
| "node": ">=14.0.0" | |
| }, | |
| "keywords": [ | |
| "spotify", | |
| "web-player", | |
| "music", | |
| "javascript", | |
| "progressive-web-app", | |
| "offline-first", | |
| "accessibility", | |
| "security" | |
| ], | |
| "author": "Your Name", | |
| "license": "MIT", | |
| "repository": { | |
| "type": "git", | |
| "url": "https://github.com/yourusername/spotify-web-player.git" | |
| }, | |
| "browserslist": [ | |
| "> 1%", | |
| "last 2 versions", | |
| "not dead" | |
| ], | |
| "eslintConfig": { | |
| "extends": "./public/js/quality/eslint.config.js" | |
| } | |
| } |