File size: 2,182 Bytes
5c83fdb
 
 
99d9688
5c83fdb
 
 
 
99d9688
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5c83fdb
 
 
 
 
 
99d9688
 
 
 
 
 
 
5c83fdb
 
99d9688
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5c83fdb
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
  "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"
  }
}