{
  "name": "media-store",
  "version": "1.0.0",
  "description": "A simple CAP project.",
  "repository": "<Add your repository here>",
  "license": "UNLICENSED",
  "private": true,
  "dependencies": {
    "@sap/cds": "^4",
    "express": "^4",
    "passport": "^0.4.1"
  },
  "devDependencies": {
    "sqlite3": "^5"
  },
  "scripts": {
    "start": "npx cds run",
    "deploy": "cds deploy --to sqlite:mychinook.db",
    "import": "node ./util/importData.js sqlite:chinook.db sqlite:mychinook.db ./db/schema.cds",
    "deploy:import": "npm run deploy && npm run import",
    "test": "mocha test/media-service.test.js --verbose --timeout 10000"
  },
  "cds": {
    "requires": {
      "db": {
        "kind": "sqlite",
        "credentials": {
          "database": "mychinook.db"
        }
      },
      "auth": {
        "strategy": "mock",
        "users": {
          "admin5": {
            "roles": [
              "admin",
              "content-creator"
            ],
            "userAttributes": {
              "level": 5,
              "ID": 8
            }
          },
          "admin2": {
            "roles": [
              "admin"
            ],
            "userAttributes": {
              "level": 2,
              "ID": 7
            }
          },
          "content-creator1": {
            "roles": [
              "content-creator"
            ],
            "userAttributes": {
              "level": 2,
              "ID": 5
            }
          },
          "user1": {
            "roles": [
              "user"
            ],
            "userAttributes": {
              "level": 1,
              "ID": 2
            }
          },
          "user0": {
            "roles": [
              "user"
            ],
            "userAttributes": {
              "level": 1,
              "ID": 3
            }
          },
          "*": true
        }
      }
    }
  }
}
