squarecommonblhelper 1.0.2 → 1.0.3
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/README.md +4 -0
- package/example.js +7 -0
- package/package.json +6 -3
package/README.md
CHANGED
package/example.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GreetingCommonBL, UtilsCommonBL } from "./dist/index.js";
|
|
2
|
+
|
|
3
|
+
let greetingCommonBL = new GreetingCommonBL();
|
|
4
|
+
console.log(await greetingCommonBL.createGreetingV0(true));
|
|
5
|
+
|
|
6
|
+
let utilsCommonBL = new UtilsCommonBL();
|
|
7
|
+
console.log(await utilsCommonBL.getAppIdV0("test"));
|
package/package.json
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "squarecommonblhelper",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "helper for common bl for my projects.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"test": "",
|
|
10
|
-
"
|
|
10
|
+
"prepare": "npm run build",
|
|
11
|
+
"build": "rimraf /dist && tsc",
|
|
11
12
|
"dev": "tsc && node dist/index.js"
|
|
12
13
|
},
|
|
13
14
|
"files": [
|
|
14
15
|
"dist",
|
|
15
|
-
"README.md"
|
|
16
|
+
"README.md",
|
|
17
|
+
"example.js"
|
|
16
18
|
],
|
|
17
19
|
"repository": {
|
|
18
20
|
"type": "git",
|
|
@@ -25,6 +27,7 @@
|
|
|
25
27
|
},
|
|
26
28
|
"homepage": "https://github.com/thepmsquare/squareCommonBLHelper#readme",
|
|
27
29
|
"devDependencies": {
|
|
30
|
+
"rimraf": "^6.0.1",
|
|
28
31
|
"typescript": "^5.3.3"
|
|
29
32
|
},
|
|
30
33
|
"engines": {
|