UNPKG

zenodraft

Version:

CLI to manage depositions on Zenodo and Zenodo Sandbox

62 lines (61 loc) 1.98 kB
{ "author": "Jurriaan H. Spaaks", "bin": { "zenodraft": "bin/index.js", "zenodraft-autocomplete": "bin/autocomplete.js" }, "bugs": { "url": "https://github.com/zenodraft/zenodraft/issues" }, "dependencies": { "ajv": "^8.12.0", "ajv-formats": "^2.1.1", "commander": "^7.2.0", "dotenv": "^10.0.0", "node-fetch": "^2.6.7" }, "description": "CLI to manage depositions on Zenodo and Zenodo Sandbox", "devDependencies": { "@types/jest": "^26.0.23", "@types/mime-types": "^2.1.0", "@types/node": "^15.6.1", "@types/node-fetch": "^2.5.10", "jest": "^27.0.5", "nock": "^13.1.1", "ts-jest": "^27.0.3", "typescript": "^4.3.2" }, "engines": { "node": ">=20.0.0", "npm": ">=10.0.0" }, "files": [ "assets", "dist" ], "homepage": "https://github.com/zenodraft/zenodraft", "keywords": [ "cli", "zenodo" ], "license": "Apache-2.0", "main": "dist/lib/index.js", "module": "dist/lib/index.mjs", "name": "zenodraft", "repository": { "type": "git", "url": "https://github.com/zenodraft/zenodraft.git" }, "scripts": { "all": "npm run clean && npm install && npm run build && npm pack", "build": "npm run mjs && npm run cjs", "coverage": "jest --config jest.config.js --collectCoverage=true", "cjs": "tsc --module commonjs -p tsconfig.json --sourceMap", "clean": "rm -rf dist coverage node_modules", "mjs": "tsc --module es6 --declaration -p tsconfig.json && for filename in `find dist -type f -name '*\\.js'`; do mv -- \"$filename\" \"${filename%.js}.mjs\"; done", "pretest": "unset ZENODO_SANDBOX_ACCESS_TOKEN && unset ZENODO_ACCESS_TOKEN", "test": "jest --config jest.config.js" }, "types": "dist/lib/index.d.ts", "version": "0.14.1" }