UNPKG

jats-xml

Version:

Types and utilities for working with JATS in Typescript

65 lines (64 loc) 1.79 kB
{ "name": "jats-xml", "version": "1.0.15", "description": "Types and utilities for working with JATS in Typescript", "author": "Rowan Cockett <rowan@continuous.foundation>", "homepage": "https://github.com/continuous-foundation/jats", "license": "MIT", "sideEffects": false, "type": "module", "exports": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "keywords": [ "jats", "open-science", "publishing" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/continuous-foundation/jats.git" }, "scripts": { "copy:version": "echo \"const version = '\"$npm_package_version\"';\nexport default version;\" > src/version.ts", "clean": "rm -rf dist", "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", "build": "npm-run-all -l clean copy:version -p build:esm" }, "bugs": { "url": "https://github.com/continuous-foundation/jats/issues" }, "dependencies": { "adm-zip": "^0.5.10", "doi-utils": "^2.0.3", "jats-tags": "^1.0.15", "jats-utils": "^1.0.15", "myst-cli-utils": "^2.0.11", "myst-common": "^1.7.5", "myst-frontmatter": "^1.7.5", "node-fetch": "^3.3.1", "unist-util-select": "^4.0.0", "unist-util-remove": "4.0.0", "which": "^3.0.1", "xml-js": "^1.6.11" }, "peerDependencies": { "chalk": "^5.2.0" }, "devDependencies": { "@types/adm-zip": "^0.5.0", "@types/js-yaml": "^4.0.5", "@types/which": "^3.0.0", "chalk": "^5.2.0", "js-yaml": "^4.1.0" } }