UNPKG

jats-xml

Version:

Types and utilities for working with JATS in Typescript

68 lines (67 loc) 1.89 kB
{ "name": "jats-xml", "version": "1.1.8", "description": "Types and utilities for working with JATS in Typescript", "author": "Rowan Cockett <rowan@continuousfoundation.org>", "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": "bun run copy:version && bun test", "test:watch": "bun run copy:version && bun test --watch", "lint": "eslint \"src/**/*.ts*\" -c ./.eslintrc.cjs", "lint:format": "prettier --check \"src/**/*.{ts,tsx,md}\"", "build:esm": "tsc", "build": "bun run clean && bun run copy:version && bun run build:esm" }, "bugs": { "url": "https://github.com/continuous-foundation/jats/issues" }, "dependencies": { "adm-zip": "^0.5.10", "character-entities": "^2.0.2", "doi-utils": "^2.0.6", "jats-tags": "^1.1.8", "jats-utils": "^1.1.8", "myst-cli-utils": "^2.0.11", "myst-common": "^1.7.5", "myst-frontmatter": "^1.7.5", "myst-spec": "^0.0.5", "node-fetch": "^3.3.1", "unist-util-remove": "4.0.0", "unist-util-select": "^4.0.0", "vfile": "^5.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" } }