-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 2.12 KB
/
Copy pathpackage.json
File metadata and controls
69 lines (69 loc) · 2.12 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
{
"name": "crossref-openapi-client-ts",
"version": "0.1.0",
"description": "NodeJS client for Crossref Swagger API",
"repository": {
"type": "git",
"url": "https://github.com/docmaps-project/crossref-openapi-client-ts.git"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"generate": "openapi --input ./crossref-swagger.json --output ./src/gen --name CrossrefClient --useOptions --useUnionTypes",
"docs": "typedoc src/index.ts",
"docs:check": "npm run docs && git add -N . && git diff --exit-code -I 'Defined in.*blob'",
"clean": "rm -Rf dist node_modules/ *.js",
"build": "tsc",
"prepare": "tsc",
"lint": "npx eslint .",
"lint:fix": "npx eslint --fix .",
"test": "tsc && node dist/index.js && ava",
"test:unit": "ava test/unit/",
"test:integration": "ava test/integration/"
},
"files": [
"dist/",
"tsconfig.json",
"README.md",
"package.json",
"crossref-swagger.json",
"LICENSE"
],
"exports": "./dist/index.js",
"author": "eve @github.com/ships",
"license": "MIT",
"dependencies": {
"bluebird": "^3.5.0",
"request": "^2.81.0",
"rewire": "^6.0.0"
},
"devDependencies": {
"@types/bluebird": "^3.5.33",
"@types/node": "^12",
"@types/request": "^2.48.8",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"ava": "^5.2.0",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"openapi-typescript-codegen": "^0.24.0",
"prettier": "^2.8.8",
"semantic-release": "^21.0.1",
"ts-node": "^10.9.1",
"typedoc": "^0.24.0",
"typescript": "^4.0"
},
"ava": {
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--loader=ts-node/esm",
"--experimental-specifier-resolution=node"
],
"files": [
"**/*.test.ts"
]
}
}