-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
88 lines (88 loc) · 2.44 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
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
{
"name": "@apidevtools/json-schema-reader",
"version": "0.0.0-alpha.0",
"description": "Reads multi-file JSON Schemas from the filesystem, URLs, and other sources",
"keywords": [
"json-schema",
"jsonschema",
"ref",
"$ref",
"swagger",
"openapi",
"open-api",
"read",
"reader",
"resolve",
"resolver",
"parse",
"parser",
"isomorphic",
"browser"
],
"author": {
"name": "James Messinger",
"url": "https://jamesmessinger.com"
},
"license": "MIT",
"homepage": "https://apitools.dev/json-schema-reader",
"repository": {
"type": "git",
"url": "https://github.com/APIDevTools/json-schema-reader.git"
},
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "esm/index.d.ts",
"browser": {
"./cjs/isomorphic.node.js": "./cjs/isomorphic.browser.js",
"./esm/isomorphic.node.js": "./esm/isomorphic.browser.js",
"node-fetch": false
},
"files": [
"cjs",
"esm"
],
"scripts": {
"clean": "shx rm -rf .nyc_output coverage cjs esm",
"lint": "eslint src test",
"build": "npm run build:cjs && npm run build:esm",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir cjs",
"watch": "npm run build:cjs -- --watch",
"test": "npm run test:node && npm run test:browser && npm run lint",
"test:node": "mocha",
"test:browser": "karma start --single-run",
"coverage": "npm run coverage:node && npm run coverage:browser",
"coverage:node": "nyc node_modules/mocha/bin/mocha",
"coverage:browser": "npm run test:browser -- --coverage",
"upgrade": "npm-check -u && npm audit fix",
"bump": "bump prerelease --tag --push --all",
"release": "npm run upgrade && npm run clean && npm run build && npm test && npm run bump"
},
"engines": {
"node": ">=10"
},
"devDependencies": {
"@jsdevtools/eslint-config": "^1.1.4",
"@jsdevtools/host-environment": "^2.1.2",
"@jsdevtools/karma-config": "^3.1.7",
"@jsdevtools/version-bump-prompt": "^6.0.6",
"@types/chai": "^4.2.12",
"@types/mime": "^2.0.3",
"@types/mocha": "^8.0.3",
"@types/node": "^14.6.2",
"chai": "^4.2.0",
"eslint": "^7.7.0",
"karma": "^5.1.1",
"karma-cli": "^2.0.0",
"mocha": "^8.1.3",
"npm-check": "^5.9.0",
"nyc": "^15.1.0",
"shx": "^0.3.2",
"source-map-support": "^0.5.19",
"typescript": "^4.0.2"
},
"dependencies": {
"mime": "^2.4.6",
"node-fetch": "^3.0.0-beta.4"
}
}