-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (84 loc) · 2.78 KB
/
package.json
File metadata and controls
85 lines (84 loc) · 2.78 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "upsun-sdk-node",
"version": "0.6.0",
"type": "module",
"types": "dist/index.d.ts",
"license": "Apache-2.0",
"description": "The official Upsun SDK for Node.js",
"main": "dist/index.js",
"module": "dist/index.js",
"files": [
"dist"
],
"keywords": ["Upsun","SDK","Node.js","Typescript","OpenAPI","API"],
"author": "Mickael GAILLARD",
"contributors": [
{
"name": "Mickael GAILLARD",
"email": "mickael.gaillard@upsun.com"
},
{
"name": "Florent HUCK",
"email": "florent.huck@upsun.com"
},
{
"name": "Upsun Advocacy Team",
"homepage": "https://www.upsun.com"
}
],
"devDependencies": {
"@eslint/js": "^9.0",
"@types/jest": "^30.0",
"@types/node": "^25.2",
"eslint": "^9.0",
"jest": "^30.2",
"nock": "^14.0",
"nodemon": "^3.1",
"prettier": "^3.8",
"quicktype": "^23.2",
"ts-jest": "^29.4",
"ts-node": "^10.9",
"typescript": "^5.9",
"typescript-eslint": "^8.55"
},
"dependencies": {
"dotenv": "^17.3"
},
"scripts": {
"help": "bash ./scripts/help.sh",
"clean": "rm -rf dist",
"run": "node dist/app.js",
"build": "tsc -p tsconfig.json",
"build:watch": "tsc --watch",
"lint:es": "eslint . --ext .ts",
"lint:prettier": "prettier --check .",
"fix:es": "eslint . --ext .ts --fix",
"fix:prettier": "prettier --write .",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:coverage:ci": "jest --coverage --ci",
"test:unit": "jest --testPathPatterns=unit",
"test:integration": "jest --testPathPatterns=integration",
"spec:clean": "rm -Rf src/api/* ; rm -Rf src/model/* ; rm -Rf src/core/runtime.ts",
"spec:dl": "wget -O ./schema/openapispec-upsun.json 'https://meta.upsun.com/openapi-spec?sdks=true'",
"spec:patch": "sed -i 's/HTTP access permissions/Http access permissions/g' ./schema/openapispec-upsun.json",
"spec:generate:install": "npm install -g @openapitools/openapi-generator-cli",
"spec:generate": "npx openapi-generator-cli generate -c templates/config.yaml",
"release-version": "bash ./scripts/release-version.sh $npm_config_tag",
"spec:full": "npm run spec:clean && npm run spec:dl && npm run spec:generate && npm run fix:all",
"lint:all": "npm run lint:es && npm run lint:prettier",
"fix:all": "npm run fix:es && npm run fix:prettier",
"test:all": "npm run test:unit",
"qa": "npm run lint:all && npm run test:all",
"qa:all": "npm run build && npm run lint:all && npm run test:all"
},
"repository": {
"type": "git",
"url": "https://github.com/upsun/upsun-sdk-node"
},
"homepage": "https://github.com/upsun/upsun-sdk-node#readme",
"bugs": {
"url": "https://github.com/upsun/upsun-sdk-node/issues"
}
}