@tiquo/dom-package 1.0.0 → 1.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.
- package/README.md +76 -6
- package/dist/index.d.mts +154 -35
- package/dist/index.d.ts +154 -35
- package/dist/index.js +423 -105
- package/dist/index.mjs +415 -105
- package/package.json +5 -3
- package/scripts/postinstall.js +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiquo/dom-package",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Tiquo SDK for third-party websites - authentication, customer profiles, orders, bookings, and enquiries",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "restricted"
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"dist",
|
|
20
|
+
"scripts",
|
|
20
21
|
"README.md"
|
|
21
22
|
],
|
|
22
23
|
"scripts": {
|
|
@@ -24,7 +25,8 @@
|
|
|
24
25
|
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
25
26
|
"lint": "eslint src/",
|
|
26
27
|
"typecheck": "tsc --noEmit",
|
|
27
|
-
"prepublishOnly": "npm run build"
|
|
28
|
+
"prepublishOnly": "npm run build",
|
|
29
|
+
"postinstall": "node scripts/postinstall.js"
|
|
28
30
|
},
|
|
29
31
|
"keywords": [
|
|
30
32
|
"tiquo",
|
|
@@ -45,7 +47,7 @@
|
|
|
45
47
|
"type": "git",
|
|
46
48
|
"url": "https://github.com/tiquo/dom-package.git"
|
|
47
49
|
},
|
|
48
|
-
"homepage": "https://docs.tiquo.
|
|
50
|
+
"homepage": "https://docs.tiquo.co/dom-package",
|
|
49
51
|
"bugs": {
|
|
50
52
|
"url": "https://github.com/tiquo/dom-package/issues"
|
|
51
53
|
},
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const asciiArt = `
|
|
4
|
+
_ _
|
|
5
|
+
| |_(_) __ _ _ _ ___
|
|
6
|
+
| __| |/ _\` | | | |/ _ \\
|
|
7
|
+
| |_| | (_| | |_| | (_) |
|
|
8
|
+
\\__|_|\\__, |\\__,_|\\___/
|
|
9
|
+
|_|
|
|
10
|
+
`;
|
|
11
|
+
|
|
12
|
+
console.log(asciiArt);
|
|
13
|
+
console.log('To find out more about Tiquo, visit \x1b[34mhttps://www.tiquo.co/\x1b[0m');
|
|
14
|
+
console.log('');
|