-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 1.96 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
{
"name": "cwmsjs-generator",
"version": "2.3.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 && cd cwmsjs && 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": "cd cwmsjs && npx typedoc src/index.ts",
"examples": "node ./scripts/tests2exampledocs.js ",
"getSpec": "wget https://cwms-data.usace.army.mil/cwms-data/swagger-docs -O cwms-swagger-raw.json",
"modPackage": "./scripts/package-updates/modPackage.sh",
"modSpec": "./scripts/spec-updates/modSpec.sh",
"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"
}
}