@degallery/sdk 0.1.0

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.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +56 -0
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # sdk
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Building
6
+
7
+ Run `nx build sdk` to build the library.
8
+
9
+ ## Running unit tests
10
+
11
+ Run `nx test sdk` to execute the unit tests via [Vitest](https://vitest.dev/).
package/package.json ADDED
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "@degallery/sdk",
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ "./package.json": "./package.json",
10
+ ".": {
11
+ "@degallery/source": "./src/index.ts",
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/index.js",
14
+ "default": "./dist/index.cjs"
15
+ }
16
+ },
17
+ "files": [
18
+ "dist",
19
+ "!**/*.tsbuildinfo"
20
+ ],
21
+ "nx": {
22
+ "name": "sdk",
23
+ "targets": {
24
+ "build": {
25
+ "executor": "@nx/esbuild:esbuild",
26
+ "outputs": [
27
+ "{options.outputPath}"
28
+ ],
29
+ "defaultConfiguration": "production",
30
+ "options": {
31
+ "main": "packages/sdk/src/index.ts",
32
+ "outputPath": "packages/sdk/dist",
33
+ "outputFileName": "index.js",
34
+ "tsConfig": "packages/sdk/tsconfig.lib.json",
35
+ "platform": "node",
36
+ "format": [
37
+ "esm",
38
+ "cjs"
39
+ ],
40
+ "declarationRootDir": "packages/sdk/src"
41
+ },
42
+ "configurations": {
43
+ "development": {
44
+ "minify": false
45
+ },
46
+ "production": {
47
+ "minify": true
48
+ }
49
+ }
50
+ }
51
+ }
52
+ },
53
+ "dependencies": {
54
+ "tslib": "^2.3.0"
55
+ }
56
+ }