-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.99 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 1.99 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
{
"name": "cwmsjs-generator",
"version": "2.4.0",
"description": "OpenAPI generator for building the cwmsjs JavaScript/TypeScript library for CWMS Data API",
"author": "USACE,HEC,CWMS,OpenApi Contributors",
"repository": {
"type": "git",
"url": "git+https://github.com/HydrologicEngineeringCenter/cwms-data-api-client-javascript"
},
"keywords": [
"fetch",
"typescript",
"javascript",
"react",
"openapi-client",
"cwms",
"cwmsjs",
"cwms-data-api",
"cda",
"hec",
"usace",
"us army corps of engineers"
],
"license": "MIT License",
"main": "./dist/index.js",
"type": "commonjs",
"exports": {
".": "./dist/index.js"
},
"typings": "./dist/index.d.ts",
"scripts": {
"build": "npm run buildApi && npm run buildDocs",
"buildApi": "npm run buildSpec && npm run openapi && npm run modPackage && npm run postGenerate && cd cwmsjs && npm install && npm run build",
"buildDocs": "npm run docs && npm run examples",
"buildSpec": "npm run getSpec && npm run modSpec",
"clean": "shx mkdir -p ./cwmsjs && shx rm -r ./cwmsjs",
"docs": "node ./scripts/buildTypedoc.js",
"examples": "node ./scripts/tests2exampledocs.js ",
"getSpec": "node ./scripts/getSpec.js",
"modPackage": "node ./scripts/package-updates/modPackage.js",
"modSpec": "node ./scripts/spec-updates/modSpec.js",
"postGenerate": "node ./scripts/postGenerate.js",
"link": "cd cwmsjs && npm link && cd ../tests && npm link cwmsjs",
"openapi": "npx @openapitools/openapi-generator-cli generate -g typescript-fetch -o ./cwmsjs -i cwms-swagger-mod.json -c openapi.config.json"
},
"dependencies": {
"es6-promise": "^4.2.4",
"shx": "^0.3.4",
"url-parse": "^1.4.3",
"whatwg-fetch": "^3.0.0"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.15.3",
"@types/url-parse": "1.4.4",
"babel-cli": "^6.26.0",
"node-jq": "^6.0.1",
"prettier": "^3.3.3",
"typedoc": "^0.25.13",
"typescript": "^4.9.5"
}
}