UNPKG

guardian-epub

Version:

Creates an ePub of the Guardian newspaper from the Guardian API

73 lines (72 loc) 3.15 kB
{ "name": "guardian-epub", "version": "1.2.1", "description": "Creates an ePub of the Guardian newspaper from the Guardian API", "type": "module", "main": "index.js", "repository": { "type": "git", "url": "https://github.com/brownieboy/guardian-epub" }, "bugs": { "url": "https://github.com/brownieboy/guardian-epub/issues" }, "scripts": { "build": "webpack --mode production", "buildDev": "webpack --mode development", "test": "echo \"Error: no test specified\" && exit 1", "guardianEpub": "node ./src/get-guardian.js", "guardianEpubKey": "node ./src/get-guardian-api-key.js", "createBlob": "node --experimental-sea-config sea-config.json", "createNodeCopyWin": "sh -c 'cp $(command -v node) get-guardian.exe'", "createNodeCopyLin": "sh -c 'cp $(command -v node) get-guardian-linux'", "createNodeCopyMac": "sh -c 'cp $(command -v node) get-guardian-mac'", "createNodeCopyMacIntel": "sh -c 'cp $(command -v node) get-guardian-mac-intel'", "injectBlobWin": "npx postject get-guardian.exe NODE_SEA_BLOB sea-prep.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2", "injectBlobLin": "npx postject get-guardian-linux NODE_SEA_BLOB sea-prep.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2", "injectBlobMac": "npx postject get-guardian-mac NODE_SEA_BLOB sea-prep.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 --macho-segment-name NODE_SEA && codesign --sign - ./get-guardian-mac", "injectBlobMacIntel": "npx postject get-guardian-mac-intel NODE_SEA_BLOB sea-prep.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 --macho-segment-name NODE_SEA && codesign --sign - ./get-guardian-mac-intel", "createWinExe": "npm run createBlob && npm run createNodeCopyWin && npm run injectBlobWin", "createLinuxBin": "npm run createBlob && npm run createNodeCopyLin && npm run injectBlobLin", "createMacBin": "npm run createBlob && npm run createNodeCopyMac && npm run injectBlobMac", "createMacBinIntel": "npm run createBlob && npm run createNodeCopyMacIntel && npm run injectBlobMacIntel", "archive": "node ./scripts/archive-os.js" }, "bin": { "guardianEpub": "./src/get-guardian.js", "guardianEpubKey": "./src/get-guardian-api-key.js" }, "keywords": [ "Guardian" ], "author": { "name": "Michael Brown", "email": "brownieboy@gmail.com" }, "license": "ISC", "dependencies": { "axios": "^1.6.2", "date-fns": "^2.30.0", "date-fns-tz": "^2.0.0", "enquirer": "github:brownieboy/enquirer#bugfix/270-multiselect-with-defaults", "epub-gen": "^0.1.0", "jimp": "^0.22.10", "jsdom": "^23.0.1", "ora": "^5.4.1", "xmlbuilder": "^15.1.1", "yargs": "^17.7.2" }, "devDependencies": { "@babel/cli": "^7.23.4", "@babel/core": "^7.23.7", "@babel/preset-env": "^7.23.8", "archiver": "^6.0.1", "babel-loader": "^9.1.3", "babel-plugin-transform-import-meta": "^2.2.1", "eslint": "^8.54.0", "glob": "^10.3.10", "prettier": "^3.1.0", "webpack": "^5.89.0", "webpack-cli": "^5.1.4" } }