forked from oas-tools/oas-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.47 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 2.47 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
92
93
94
{
"name": "oas-tools",
"version": "2.2.1",
"description": "",
"type": "commonjs",
"main": "./common/index.js",
"exports": {
".": {
"require": "./common/index.js",
"default": "./lib/index.mjs"
}
},
"module": "./lib/index.mjs",
"files": [
"src",
"common",
"lib",
"swagger-ui",
"schemas"
],
"engines": {
"node": ">=12.22"
},
"scripts": {
"build": "npm run build-module && npm run build-commonjs",
"build-commonjs": "cross-env BABEL_ENV=commonjs babel ./src --out-dir common --source-maps --copy-files",
"build-module": "cross-env BABEL_ENV=module babel ./src --out-dir lib --source-maps --out-file-extension .mjs --copy-files",
"pretest": "npm run build-commonjs",
"test": "cross-env BABEL_ENV=test mocha --require @babel/register --reporter spec ./tests/basic.mjs",
"test:tdd": "npm run test -- -w",
"lint": "eslint src tests --ext .mjs --ext .js",
"format": "npm run lint -- --fix",
"precoverage": "npm run build-commonjs",
"coverage": "cross-env BABEL_ENV=test nyc mocha --require @babel/register ./tests/basic.mjs"
},
"author": "ISA Group, University of Seville",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/oas-tools/oas-tools.git"
},
"dependencies": {
"accesscontrol": "^2.2.1",
"accesscontrol-middleware": "^1.0.3",
"async": "^3.2.3",
"body-parser": "^1.18.3",
"js-yaml": "^3.13.1",
"json-schema-deref-sync": "^0.14.0",
"jsonwebtoken": "^8.5.1",
"lodash-compat": "^3.10.2",
"request": "^2.88.0",
"validator": "^13.0.0",
"whatwg-mimetype": "^2.3.0",
"winston": "^3.2.1",
"z-schema": "^4.2.0"
},
"devDependencies": {
"@babel/cli": "^7.12.13",
"@babel/core": "^7.12.13",
"@babel/preset-env": "^7.12.13",
"@babel/register": "^7.12.13",
"@babel/runtime": "^7.12.13",
"babel-plugin-module-resolver": "^4.1.0",
"chai": "^4.2.0",
"chai-http": "^4.2.1",
"cross-env": "^7.0.3",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"express": "^4.17.2",
"mocha": "^9.2.0",
"multer": "^1.4.4",
"nyc": "^15.1.0",
"prettier": "^2.2.1"
},
"eslintIgnore": [
"/lib",
"/common",
"/node_modules",
"/lib-tests"
],
"nyc": {
"exclude": [
"node_modules",
"tests/**/*.js"
],
"reporter": [
"json",
"html",
"text",
"lcovonly"
]
}
}