Package not found. Please check the package name and try again.
@smapiot/piral-cloud-node 0.18.0 → 1.13.0-pre.20240129.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/LICENSE +1 -1
- package/lib/{index.js → index.cjs.js} +794 -368
- package/lib/index.esm.js +6563 -0
- package/package.json +19 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smapiot/piral-cloud-node",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.13.0-pre.20240129.1",
|
|
4
4
|
"description": "Piral Cloud: Node-usable API Client for the Piral Feed Service.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "smapiot",
|
|
@@ -13,15 +13,26 @@
|
|
|
13
13
|
"access": "public"
|
|
14
14
|
},
|
|
15
15
|
"engines": {
|
|
16
|
-
"node": ">=
|
|
16
|
+
"node": ">=16.0"
|
|
17
17
|
},
|
|
18
|
-
"main": "lib/index.js",
|
|
18
|
+
"main": "lib/index.cjs.js",
|
|
19
|
+
"module": "lib/index.esm.js",
|
|
19
20
|
"types": "lib/index.d.ts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"import": "./lib/index.esm.js",
|
|
24
|
+
"require": "./lib/index.cjs.js"
|
|
25
|
+
},
|
|
26
|
+
"./package.json": "./package.json"
|
|
27
|
+
},
|
|
28
|
+
"sideEffects": false,
|
|
20
29
|
"homepage": "https://piral.cloud",
|
|
21
30
|
"license": "MIT",
|
|
22
31
|
"scripts": {
|
|
23
32
|
"build": "yarn bundle && yarn declaration",
|
|
24
|
-
"bundle": "
|
|
33
|
+
"bundle": "yarn bundle:cjs && yarn bundle:esm",
|
|
34
|
+
"bundle:cjs": "esbuild src/index.ts --bundle --outfile=lib/index.cjs.js --format=cjs --target=node16 --platform=node",
|
|
35
|
+
"bundle:esm": "esbuild src/index.ts --bundle --outfile=lib/index.esm.js --format=esm --target=node16 --platform=node",
|
|
25
36
|
"declaration": "dets --files src/index.ts --types src/index.ts --out lib/index.d.ts"
|
|
26
37
|
},
|
|
27
38
|
"repository": {},
|
|
@@ -40,9 +51,9 @@
|
|
|
40
51
|
"node"
|
|
41
52
|
],
|
|
42
53
|
"devDependencies": {
|
|
43
|
-
"@piral/feed-client": "^
|
|
44
|
-
"dets": "^0.
|
|
45
|
-
"esbuild": "^0.14.
|
|
46
|
-
"node-fetch": "^3.2
|
|
54
|
+
"@piral/feed-client": "^1.13.0",
|
|
55
|
+
"dets": "^0.14.1",
|
|
56
|
+
"esbuild": "^0.14.27",
|
|
57
|
+
"node-fetch": "^3.3.2"
|
|
47
58
|
}
|
|
48
59
|
}
|