{
  "name": "mitmproxy-quickstart",
  "version": "1.0.0",
  "author": "feihong",
  "license": "MIT",
  "dependencies": {
    "better-sqlite3": "^7.0.1",
    "npm-run-all": "^4.1.5",
    "puppeteer": "^5.5.0",
    "puppeteer-core": "^5.5.0",
    "sanitize-filename": "^1.6.3"
  },
  "scripts": {
    "upgrade": "brew upgrade mitmproxy",
    "clean": "rm assets/* && rm dumpfile",
    "start": "run-p start:proxy start:puppeteer",
    "start:proxy": "pipenv run mitmdump -w dumpfile --anticache",
    "start:puppeteer": "node src/start-puppeteer.js",
    "convert-to-sqlite": "mitmdump -ns src/convert_to_sqlite.py -r dumpfile",
    "generate-metadata": "node src/generate-metadata.js",
    "generate-files": "node src/generate-files.js",
    "consolidate": "node src/consolidate.js",
    "process": "run-s convert-to-sqlite generate-metadata generate-files consolidate",
    "download-cover-art": "node src/download-cover-art.js"
  }
}

{
  "name": "mitmproxy-quickstart",
  "version": "1.0.0",
  "author": "feihong",
  "license": "MIT",
  "dependencies": {
    "better-sqlite3": "^7.0.1",
    "npm-run-all": "^4.1.5",
    "puppeteer": "^5.5.0",
    "puppeteer-core": "^5.5.0",
    "sanitize-filename": "^1.6.3"
  },
  "scripts": {
    "upgrade": "brew upgrade mitmproxy",
    "clean": "rm assets/* && rm dumpfile",
    "start": "run-p start:proxy start:puppeteer",
    "start:proxy": "pipenv run mitmdump -w dumpfile --anticache",
    "start:puppeteer": "node src/start-puppeteer.js",
    "convert-to-sqlite": "pipenv run mitmdump -ns src/convert_to_sqlite.py -r dumpfile",
    "generate-metadata": "node src/generate-metadata.js",
    "generate-files": "node src/generate-files.js",
    "consolidate": "node src/consolidate.js",
    "process": "run-s convert-to-sqlite generate-metadata generate-files consolidate",
    "download-cover-art": "node src/download-cover-art.js"
  }
}

Use virtualenv when running convert-to-sqlite command
Use virtualenv when running convert-to-sqlite command
