{
  "name": "crx3",
  "version": "1.1.3",
  "description": "Package web extension into CRX file (version 3) for Google Chrome and Chromium browsers",
  "main": "index.js",
  "homepage": "https://github.com/ahwayakchih/crx3",
  "repository": {
    "type": "git",
    "url": "git://github.com/ahwayakchih/crx3.git"
  },
  "engines": {
    "node": ">=12"
  },
  "bin": {
    "crx3": "bin/crx3.js"
  },
  "dependencies": {
    "mri": "^1.1.6",
    "pbf": "^3.2.1",
    "yazl": "^2.5.1"
  },
  "devDependencies": {
    "c8": "^7.3.5",
    "docdash": "^1.2.0",
    "eslint": "^7.12.1",
    "eslint-plugin-jsdoc": "^30.7.7",
    "jsdoc": "^3.6.6",
    "tap-diff": "^0.1.1",
    "tape": "^5.0.1",
    "tape-catch": "^1.0.6"
  },
  "scripts": {
    "prepare": "test \"${CHROME_BIN}\" && npm install --no-save puppeteer-core serve-files || echo 'Puppeteer testing disabled'",
    "test": "node ./test/index.js | tap-diff",
    "prepublishOnly": "npm run -s test && npm run -s checkStyle",
    "proto": "curl https://raw.githubusercontent.com/chromium/chromium/master/components/crx_file/crx3.proto > lib/crx3.proto",
    "postproto": "echo '/* eslint-disable */' > lib/crx3.pb.js && pbf lib/crx3.proto --no-read >> lib/crx3.pb.js",
    "precheckStyle": "rm -f ./reports/eslint.txt",
    "checkStyle": "eslint index.js lib/*.js test/** bin/*  > ./reports/eslint.txt || echo 'ESLint results saved to `reports/eslint.txt`' && cat ./reports/eslint.txt",
    "precheckCoverage": "rm -rf ./reports/coverage",
    "checkCoverage": "c8 --clean --report --reporter text --reporter html --reports-dir reports/coverage node ./test/index.js",
    "postcheckCoverage": "echo Coverage results saved to '`reports/coverage/index.html`'",
    "checkAudit": "npm shrinkwrap && npm audit > ./reports/audit.log || cat ./reports/audit.log; rm npm-shrinkwrap.json",
    "predoc": "rm -rf ./reports/jsdoc",
    "doc": "jsdoc -d reports/jsdoc -c .jsdoc.json --readme README.md -r index.js lib",
    "postdoc": "echo 'Documentation available at `reports/jsdoc/index.html`'"
  },
  "keywords": [
    "crx",
    "web",
    "extension",
    "chromium",
    "chrome",
    "opera"
  ],
  "author": "Marcin Konicki (https://ahwayakchih.neoni.net)",
  "license": "MIT",
  "files": [
    "bin/**",
    "lib/**",
    "index.js"
  ]
}
