-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.41 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
{
"name": "openapi-server-url-templating",
"version": "1.3.0",
"description": "OpenAPI Server URL templating parser, validator and substitution mechanism.",
"main": "./cjs/index.cjs",
"types": "./types/index.d.ts",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./es/index.mjs",
"require": "./cjs/index.cjs"
},
"./package.json": "./package.json",
"./server-variables.bnf": "./src/server-url-templating.bnf"
},
"watch": {
"test": "{src,test}/*.js"
},
"scripts": {
"prepublishOnly": "npm run build",
"grammar:compile": "node ./scripts/apg-js.js --lite --in=./src/server-url-templating.bnf --out=./src/server-url-templating.js && cd ./src",
"build": "npm run grammar:compile && npm run build:es && npm run build:cjs && npm run build:cjs:apg-lite",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es --extensions '.js' --out-file-extension '.mjs'",
"build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir cjs --extensions '.js' --out-file-extension '.cjs'",
"build:cjs:apg-lite": "cross-env BABEL_ENV=cjs babel node_modules/apg-lite/lib/parser.js --out-file ./cjs/apg-lite.cjs",
"test": "mocha",
"test:watch": "npm-watch test",
"watch": "npm-watch"
},
"engines": {
"node": ">=12.20.0"
},
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/swaggerexpert/openapi-server-url-templating.git"
},
"keywords": [
"openapi",
"server",
"url",
"templating",
"parser",
"validator",
"substitution"
],
"author": "Vladimír Gorej <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/swaggerexpert/openapi-server-url-templating/issues"
},
"homepage": "https://github.com/swaggerexpert/openapi-server-url-templating#readme",
"files": [
"es/",
"cjs/",
"types/",
"LICENSE",
"NOTICE",
"package.json",
"README.md",
"SECURITY.md"
],
"dependencies": {
"apg-lite": "^1.0.4"
},
"devDependencies": {
"@babel/cli": "=7.26.4",
"@babel/core": "=7.26.0",
"@babel/preset-env": "=7.26.0",
"@commitlint/cli": "=19.6.1",
"@commitlint/config-conventional": "=19.6.0",
"apg-js": "^4.4.0",
"babel-plugin-module-resolver": "^5.0.2",
"chai": "=5.1.2",
"cross-env": "^7.0.3",
"husky": "=9.1.7",
"mocha": "=11.1.0",
"npm-watch": "^0.13.0",
"prettier": "^3.3.1"
}
}