@epilot/app-client 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,76 @@
1
+ {
2
+ "name": "@epilot/app-client",
3
+ "version": "0.0.1",
4
+ "description": "JavaScript client library for the epilot App API",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "author": "epilot GmbH",
8
+ "license": "MIT",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/epilot-dev/sdk-js.git",
12
+ "directory": "clients/app-client"
13
+ },
14
+ "bugs": {
15
+ "url": "https://github.com/epilot-dev/sdk-js/issues"
16
+ },
17
+ "homepage": "https://github.com/epilot-dev/sdk-js/tree/main/clients/app-client#readme",
18
+ "keywords": [
19
+ "epilot",
20
+ "sdk",
21
+ "app"
22
+ ],
23
+ "scripts": {
24
+ "test": "jest",
25
+ "typescript": "tsc",
26
+ "bundle-definition": "webpack",
27
+ "openapi": "node ../../scripts/update-openapi.js ../../../backend/app-api/packages/functions/src/api/openapi.yml",
28
+ "typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
29
+ "build": "tsc && npm run build:patch && npm run bundle-definition",
30
+ "build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
31
+ "build:watch": "npm run build && tsc -w",
32
+ "release-alpha": "npm version prerelease --preid alpha",
33
+ "prepublishOnly": "npm run typegen && npm run build",
34
+ "lint": "../../node_modules/eslint/bin/eslint.js src"
35
+ },
36
+ "files": [
37
+ "*.js",
38
+ "*.d.ts",
39
+ "**/*.json",
40
+ "**/*.js",
41
+ "**/*.d.ts",
42
+ "!*.test.*",
43
+ "!**/*.test.*",
44
+ "!node_modules",
45
+ "!src",
46
+ "!src/**",
47
+ "!*.config.js"
48
+ ],
49
+ "peerDependencies": {
50
+ "axios": "^1.6.2"
51
+ },
52
+ "dependencies": {
53
+ "@dazn/lambda-powertools-correlation-ids": "^1.28.1",
54
+ "buffer": "^6.0.3",
55
+ "https-browserify": "^1.0.0",
56
+ "openapi-client-axios": "^7.5.1",
57
+ "stream-http": "^3.1.1",
58
+ "url": "^0.11.0",
59
+ "util": "^0.12.3"
60
+ },
61
+ "devDependencies": {
62
+ "@types/jest": "^26.0.20",
63
+ "axios": "^1.6.2",
64
+ "copy-webpack-plugin": "^7.0.0",
65
+ "jest": "^26.6.3",
66
+ "json-loader": "^0.5.7",
67
+ "openapicmd": "^2.6.0",
68
+ "ts-jest": "^26.5.0",
69
+ "ts-loader": "^8.0.14",
70
+ "ts-node": "^10.9.1",
71
+ "typescript": "^4.1.3",
72
+ "webpack": "^5.18.0",
73
+ "webpack-cli": "^4.4.0"
74
+ },
75
+ "gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
76
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,24 @@
1
+ {
2
+ "compilerOptions": {
3
+ "strict": true,
4
+ "target": "es5",
5
+ "module": "commonjs",
6
+ "moduleResolution": "node",
7
+ "lib": ["esnext", "dom"],
8
+ "experimentalDecorators": true,
9
+ "emitDecoratorMetadata": true,
10
+ "esModuleInterop": true,
11
+ "noImplicitAny": true,
12
+ "strictPropertyInitialization": false,
13
+ "strictNullChecks": false,
14
+ "resolveJsonModule": true,
15
+ "baseUrl": ".",
16
+ "rootDir": "src",
17
+ "outDir": "dist",
18
+ "sourceMap": true,
19
+ "declaration": true,
20
+ "skipLibCheck": true
21
+ },
22
+ "include": ["src/**/*"],
23
+ "exclude": ["**/*.test.ts"]
24
+ }