-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.94 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 2.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "crossref-utils",
"version": "0.0.3",
"license": "MIT",
"description": "Utilities for depositing crossref metadata",
"author": "Rowan Cockett <rowan@continuous.foundation>",
"homepage": "https://github.com/continuous-foundation/crossref-utils",
"sideEffects": false,
"type": "module",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"keywords": [
"CrossRef",
"DOI"
],
"repository": {
"type": "git",
"url": "git+https://github.com/continuous-foundation/crossref-utils.git"
},
"bin": {
"crossref": "dist/crossref.cjs"
},
"scripts": {
"copy:version": "echo \"const version = '\"$npm_package_version\"';\nexport default version;\" > src/version.ts",
"clean": "rimraf dist",
"unlink": "npm uninstall -g crossref-utils;",
"link": "npm run unlink; npm link;",
"dev": "npm run copy:version && npm run link && esbuild src/cli/index.ts --bundle --outfile=dist/crossref.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/crossref.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/continuous-foundation/crossref-utils/issues"
},
"dependencies": {
"@types/xast": "^2.0.4",
"adm-zip": "^0.5.10",
"chalk": "^5.3.0",
"commander": "^11.1.0",
"css-selector-parser": "^3.0.5",
"doi-utils": "^2.0.5",
"inquirer": "^9.2.23",
"js-yaml": "^4.1.0",
"myst-cli": "^1.3.25",
"myst-cli-utils": "^2.0.11",
"myst-common": "^1.7.10",
"myst-frontmatter": "^1.7.10",
"myst-to-jats": "^1.0.33",
"nanoid": "^5.0.5",
"node-fetch": "^3.3.2",
"unist-builder": "^4.0.0",
"unist-util-select": "^5.1.0",
"unist-util-visit": "^5.0.0",
"uuid": "^10.0.0",
"vfile": "^5.0.0",
"which": "^4.0.0",
"xast-util-from-xml": "^4.0.0",
"xast-util-to-xml": "^4.0.0"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@types/adm-zip": "^0.5.5",
"@types/inquirer": "^9.0.7",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.11.13",
"@types/uuid": "^10.0.0",
"@types/which": "^3.0.3",
"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"
}
}