├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── README.md ├── babel.config.js ├── declarations.d.ts ├── jest.config.js ├── package.json ├── screenshot.png ├── src ├── background.ts ├── components │ └── Popup.tsx ├── contentScript.ts ├── detectors │ ├── index.ts │ └── readmooDetector.ts ├── exporters │ ├── baseExporter.ts │ ├── index.ts │ └── readmooExporter.ts ├── manifest.json ├── popup.html ├── popup.tsx ├── stylesheets │ └── popup.scss ├── types │ ├── book.ts │ ├── detector.ts │ ├── exporter.ts │ └── status.ts └── utils │ ├── eventHandler.ts │ └── storageHandler.ts ├── stylelint.config.js ├── test ├── contentScript.test.ts ├── detectors │ └── readmooDetector.test.ts ├── exporters │ └── index.test.ts ├── fixtures │ └── readmooDetector │ │ └── library.html ├── mocks │ └── mockChrome.ts └── utils │ ├── eventHandler.test.ts │ └── storageHandler.test.ts ├── tsconfig.json ├── utils ├── env.js ├── paths.js └── transformManifest.js ├── webpack.config.js └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /dist 3 | yarn-error.log 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/babel.config.js -------------------------------------------------------------------------------- /declarations.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/declarations.d.ts -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/package.json -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/screenshot.png -------------------------------------------------------------------------------- /src/background.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/background.ts -------------------------------------------------------------------------------- /src/components/Popup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/components/Popup.tsx -------------------------------------------------------------------------------- /src/contentScript.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/contentScript.ts -------------------------------------------------------------------------------- /src/detectors/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/detectors/index.ts -------------------------------------------------------------------------------- /src/detectors/readmooDetector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/detectors/readmooDetector.ts -------------------------------------------------------------------------------- /src/exporters/baseExporter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/exporters/baseExporter.ts -------------------------------------------------------------------------------- /src/exporters/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/exporters/index.ts -------------------------------------------------------------------------------- /src/exporters/readmooExporter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/exporters/readmooExporter.ts -------------------------------------------------------------------------------- /src/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/manifest.json -------------------------------------------------------------------------------- /src/popup.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/popup.html -------------------------------------------------------------------------------- /src/popup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/popup.tsx -------------------------------------------------------------------------------- /src/stylesheets/popup.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/stylesheets/popup.scss -------------------------------------------------------------------------------- /src/types/book.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/types/book.ts -------------------------------------------------------------------------------- /src/types/detector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/types/detector.ts -------------------------------------------------------------------------------- /src/types/exporter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/types/exporter.ts -------------------------------------------------------------------------------- /src/types/status.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/types/status.ts -------------------------------------------------------------------------------- /src/utils/eventHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/utils/eventHandler.ts -------------------------------------------------------------------------------- /src/utils/storageHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/src/utils/storageHandler.ts -------------------------------------------------------------------------------- /stylelint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/stylelint.config.js -------------------------------------------------------------------------------- /test/contentScript.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/test/contentScript.test.ts -------------------------------------------------------------------------------- /test/detectors/readmooDetector.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/test/detectors/readmooDetector.test.ts -------------------------------------------------------------------------------- /test/exporters/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/test/exporters/index.test.ts -------------------------------------------------------------------------------- /test/fixtures/readmooDetector/library.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/test/fixtures/readmooDetector/library.html -------------------------------------------------------------------------------- /test/mocks/mockChrome.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/test/mocks/mockChrome.ts -------------------------------------------------------------------------------- /test/utils/eventHandler.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/test/utils/eventHandler.test.ts -------------------------------------------------------------------------------- /test/utils/storageHandler.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/test/utils/storageHandler.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/tsconfig.json -------------------------------------------------------------------------------- /utils/env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/utils/env.js -------------------------------------------------------------------------------- /utils/paths.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/utils/paths.js -------------------------------------------------------------------------------- /utils/transformManifest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/utils/transformManifest.js -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/webpack.config.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/songmash/epub-exporter/HEAD/yarn.lock --------------------------------------------------------------------------------