forked from brokerize/client-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 2.54 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 2.54 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
{
"name": "@divizend/brokerize-client",
"version": "1.3.9",
"description": "Client for the brokerize.com API",
"keywords": [],
"homepage": "https://github.com/brokerize/client-js#readme",
"bugs": {
"url": "https://github.com/brokerize/client-js/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/brokerize/client-js.git"
},
"license": "ISC",
"author": "",
"main": "dist/index.js",
"types": "dist/client.d.ts",
"files": [
"dist"
],
"scripts": {
"api-extractor": "npx api-extractor run --local",
"build": "npx tsc && npm run api-extractor",
"clean-swagger": "rm -rf ./src/swagger",
"download-and-generate": "npm run download-spec && npm run generate",
"download-and-generate-local": "npm run download-spec-local && npm run generate",
"download-spec": "curl https://api-preview.brokerize.com/openapi.json > openapi.json && npm run format-openapi",
"download-spec-local": "curl http://localhost:3333/openapi.json > openapi.json && npm run format-openapi",
"format": "prettier --write src openapi.json",
"format-openapi": "prettier --write openapi.json",
"format:check": "prettier src --check",
"full-update": "npm run download-and-generate && npm run build",
"full-update-local": "npm run download-and-generate-local && npm run build",
"generate": "npm run clean-swagger && npm run openapi-preprocess && npx @openapitools/openapi-generator-cli generate -i temp/openapi.json -g typescript-fetch -t ./generator-tpl -o ./src/swagger && npm run format",
"lint": "npm run format:check && eslint --ignore-path .gitignore ./src && npx sort-package-json package.json",
"lint-fix": "npm run format && eslint --ignore-path .gitignore ./src --fix",
"openapi-generator-extract-templates": "npx openapi-generator-cli author template -g typescript-fetch -o generator-tpl",
"openapi-preprocess": "node openapi-preprocess.js",
"prepare": "husky"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix"
],
"*.{html,css,scss,stylus,js,ts,json,yml,yaml,md}": [
"prettier --write"
],
"package.json": "sort-package-json"
},
"devDependencies": {
"@microsoft/api-extractor": "7.23.1",
"@openapitools/openapi-generator-cli": "2.5.1",
"@typescript-eslint/eslint-plugin": "5.56.0",
"eslint": "8.36.0",
"eslint-config-prettier": "8.8.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "2.8.6",
"sort-package-json": "^2.10.0",
"typescript": "5.3.3"
},
"publishConfig": {
"access": "public"
}
}