mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-28 04:47:37 -07:00
build: build greeting
This commit is contained in:
parent
cb07bb3ed9
commit
c725a57cbf
3 changed files with 28 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"rebuild": "pnpm run clean && pnpm -r run build && pnpm run gulp",
|
"rebuild": "pnpm run clean && pnpm -r run build && pnpm run gulp",
|
||||||
"build": "pnpm -r run build && pnpm run gulp",
|
"build": "pnpm node ./scripts/build-greet.js && pnpm -r run build && pnpm run gulp",
|
||||||
"start": "pnpm --filter backend run start",
|
"start": "pnpm --filter backend run start",
|
||||||
"start:test": "pnpm --filter backend run start:test",
|
"start:test": "pnpm --filter backend run start:test",
|
||||||
"init": "pnpm run migrate",
|
"init": "pnpm run migrate",
|
||||||
|
@ -46,6 +46,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/gulp": "4.0.10",
|
"@types/gulp": "4.0.10",
|
||||||
"@types/gulp-rename": "2.0.1",
|
"@types/gulp-rename": "2.0.1",
|
||||||
|
"chalk": "5.2.0",
|
||||||
"cross-env": "7.0.3",
|
"cross-env": "7.0.3",
|
||||||
"cypress": "10.11.0",
|
"cypress": "10.11.0",
|
||||||
"execa": "5.1.1",
|
"execa": "5.1.1",
|
||||||
|
|
|
@ -36,6 +36,9 @@ importers:
|
||||||
'@types/gulp-rename':
|
'@types/gulp-rename':
|
||||||
specifier: 2.0.1
|
specifier: 2.0.1
|
||||||
version: 2.0.1
|
version: 2.0.1
|
||||||
|
chalk:
|
||||||
|
specifier: 5.2.0
|
||||||
|
version: 5.2.0
|
||||||
cross-env:
|
cross-env:
|
||||||
specifier: 7.0.3
|
specifier: 7.0.3
|
||||||
version: 7.0.3
|
version: 7.0.3
|
||||||
|
|
23
scripts/build-greet.js
Normal file
23
scripts/build-greet.js
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
import chalk from "chalk";
|
||||||
|
|
||||||
|
const themeColor = chalk.hex("#31748f");
|
||||||
|
console.log(themeColor(" ___ _ _ "));
|
||||||
|
console.log(themeColor(" / __\\__ _| | ___| | _____ _ _ "));
|
||||||
|
console.log(themeColor(" / / / _` | |/ __| |/ / _ | | |"));
|
||||||
|
console.log(themeColor("/ /__| (_| | | (__| < __/ |_| |"));
|
||||||
|
console.log(themeColor("\\____/\\__,_|_|\\___|_|\\_\\___|\\__, |"));
|
||||||
|
console.log(themeColor(" (___/ "));
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
" Currently building Calckey!",
|
||||||
|
);
|
||||||
|
console.log(
|
||||||
|
chalk.rgb(
|
||||||
|
255,
|
||||||
|
136,
|
||||||
|
0,
|
||||||
|
)(
|
||||||
|
" Hang on for a moment, as this may take a while",
|
||||||
|
),
|
||||||
|
);
|
||||||
|
console.log("");
|
Loading…
Reference in a new issue