-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
54 lines (54 loc) · 1.47 KB
/
package.json
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
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@jamesgopsill/crossref-client",
"version": "1.1.0",
"description": "A Typescript client for the Crossref API.",
"keywords": [
"Crossref"
],
"author": "James Gopsill",
"license": "MIT",
"private": false,
"repository": {
"type": "github",
"url": "https://github.com/jamesgopsill/crossref-client"
},
"homepage": "https://jamesgopsill.github.io/crossref-client/",
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/jamesgopsill"
},
"engines": {
"node": ">=19.0.0"
},
"engineStrict": true,
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"type": "module",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"files": [
"dist/**/*"
],
"scripts": {
"test": "tsc --noEmit && node --import tsx --test __tests__/*.test.ts",
"build:dist": "rm -rf dist && tsc --project tsconfig.build.esm.json && tsc --project tsconfig.build.cjs.json && node --import tsx utils/create-package-json.ts",
"build:docs": "typedoc",
"format": "prettier --write .",
"example:ts": "node --import tsx examples/ts/query-works.ts",
"example:mjs": "node examples/mjs/query-works.mjs",
"example:cjs": "node examples/cjs/query-works.cjs"
},
"devDependencies": {
"@types/node": "^20.10.5",
"prettier": "^3.1.1",
"prettier-plugin-organize-imports": "^3.2.4",
"tsx": "^3.14.0",
"typedoc": "^0.24.8",
"typescript": "^5.3.3"
}
}