feat: stable CLI release

This commit is contained in:
Erica Marigold 2022-11-21 14:55:34 +05:30
parent 19563386fa
commit b5b7921cb8
No known key found for this signature in database
GPG key ID: 23CD97ABBBCC5ED2
3 changed files with 11 additions and 3 deletions

View file

@ -1,8 +1,11 @@
{ {
"name": "create-guilded-bot", "name": "create-guilded-bot",
"version": "1.0.0", "version": "0.2.0",
"description": "", "description": "",
"main": "index.js", "main": "dist/src/index.js",
"bin": {
"create-guilded-bot": "dist/src/index.js"
},
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"dev": "ts-node-dev src/index.ts", "dev": "ts-node-dev src/index.ts",

View file

@ -1,3 +1,5 @@
#!/usr/bin/env node
import fs, { createWriteStream, mkdir, readdir, readdirSync } from "fs"; import fs, { createWriteStream, mkdir, readdir, readdirSync } from "fs";
import { copySync, removeSync } from "fs-extra"; import { copySync, removeSync } from "fs-extra";
import * as inquirer from "inquirer"; import * as inquirer from "inquirer";

View file

@ -1,3 +1,6 @@
{ {
"extends": "tsconfig/default" "extends": "tsconfig/default",
"compilerOptions": {
"outDir": "dist"
}
} }