zenodo-utils
Version:
Utilities for working with zenodo
69 lines (68 loc) • 2.26 kB
JSON
{
"name": "zenodo-utils",
"version": "0.0.0",
"description": "Utilities for working with zenodo",
"author": "Rowan Cockett <rowan@curvenote.com>",
"homepage": "https://github.com/curvenote/zenodo-utils",
"sideEffects": false,
"type": "module",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"keywords": [
"zenodo",
"DOI"
],
"repository": {
"type": "git",
"url": "git+https://github.com/curvenote/zenodo-utils.git"
},
"bin": {
"zenodo": "dist/zenodo.cjs"
},
"scripts": {
"copy:version": "echo \"const version = '\"$npm_package_version\"';\nexport default version;\" > src/version.ts",
"clean": "rimraf dist",
"unlink": "npm uninstall -g zenodo-utils;",
"link": "npm run unlink; npm link;",
"dev": "npm run copy:version && npm run link && esbuild src/cli/index.ts --bundle --outfile=dist/zenodo.cjs --platform=node --external:fsevents --watch",
"test": "npm run copy:version && vitest run",
"test:watch": "npm run copy:version && vitest watch",
"lint": "eslint \"src/**/*.ts*\" -c ./.eslintrc.cjs",
"lint:format": "prettier --check \"src/**/*.{ts,tsx,md}\"",
"build:esm": "tsc --project ./tsconfig.json --outDir dist",
"build:cli": "esbuild src/cli/index.ts --bundle --outfile=dist/zenodo.cjs --platform=node --external:fsevents",
"build": "npm-run-all -l clean copy:version -p build:esm build:cli",
"changeset": "changeset",
"version": "changeset version && npm install",
"publish": "npm run build && npm run test && changeset publish && git push --follow-tags"
},
"bugs": {
"url": "https://github.com/curvenote/zenodo-utils/issues"
},
"dependencies": {
"axios": "^1.7.7",
"chalk": "^5.3.0",
"commander": "^11.1.0",
"inquirer": "^9.2.23",
"myst-cli-utils": "^2.0.10"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@types/adm-zip": "^0.5.5",
"@types/inquirer": "^9.0.7",
"esbuild": "^0.20.0",
"eslint": "^8.56.0",
"eslint-config-curvenote": "latest",
"npm-run-all": "^4.1.5",
"prettier": "latest",
"rimraf": "^5.0.5",
"typescript": "^5.3.3",
"vitest": "^1.2.2"
}
}