seminode 0.0.1 → 0.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/package.json +9 -2
- package/postinstall.js +24 -0
package/package.json
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "seminode",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Seminode - Intelligent RFQ Infrastructure for the Electronics Industry",
|
|
5
5
|
"keywords": ["seminode", "rfq", "electronics", "supply-chain", "materials"],
|
|
6
6
|
"homepage": "https://seminode.com",
|
|
7
7
|
"license": "UNLICENSED",
|
|
8
|
-
"author": "Seminode <info@seminode.com>"
|
|
8
|
+
"author": "Seminode <info@seminode.com>",
|
|
9
|
+
"bin": {
|
|
10
|
+
"seminode": "./postinstall.js"
|
|
11
|
+
},
|
|
12
|
+
"scripts": {
|
|
13
|
+
"postinstall": "node postinstall.js"
|
|
14
|
+
},
|
|
15
|
+
"files": ["postinstall.js"]
|
|
9
16
|
}
|
package/postinstall.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const c = {
|
|
4
|
+
reset: '\x1b[0m',
|
|
5
|
+
bold: '\x1b[1m',
|
|
6
|
+
dim: '\x1b[2m',
|
|
7
|
+
cyan: '\x1b[36m',
|
|
8
|
+
green: '\x1b[32m',
|
|
9
|
+
white: '\x1b[37m',
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const logo = `
|
|
13
|
+
${c.cyan}${c.bold} _____ ______ __ __ _____ _ _ ____ _____ ______
|
|
14
|
+
/ ____| ____| \\/ |_ _| \\ | |/ __ \\| __ \\| ____|
|
|
15
|
+
| (___| |__ | \\ / | | | | \\| | | | | | | | |__
|
|
16
|
+
\\___ \\| __| | \\/ | | | | | . \` | | | | | | | __|
|
|
17
|
+
____) | |____| | | |_| |_| |\\ | |__| | |__| | |____
|
|
18
|
+
|_____/|______|_| |_|_____|_| \\_|\\____/|_____/|______|
|
|
19
|
+
${c.reset}
|
|
20
|
+
${c.dim}${c.white} Intelligent RFQ Infrastructure for the Electronics Industry${c.reset}
|
|
21
|
+
${c.green}info@seminode.com${c.reset}
|
|
22
|
+
`;
|
|
23
|
+
|
|
24
|
+
process.stdout.write(logo + '\n');
|