File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " create-ts-api" ,
3- "version" : " 1.6.5 " ,
3+ "version" : " 1.7.0 " ,
44 "description" : " A utility command to setup nodejs TS api" ,
55 "main" : " index.js" ,
6+ "type" : " module" ,
67 "repository" : {
78 "type" : " git" ,
89 "url" : " git+https://github.com/bineetNaidu/create-ts-api.git"
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
3- const chalk = require ( 'chalk' ) ;
4- const execSync = require ( 'child_process' ) . execSync ;
5- const fs = require ( 'fs-extra' ) ;
6- const path = require ( 'path' ) ;
7- const inquirer = require ( 'inquirer' ) ;
8- const simpleGit = require ( 'simple-git' ) ;
3+ import chalk from 'chalk' ;
4+ import { execSync } from 'child_process' ;
5+ import fs from 'fs-extra' ;
6+ import path from 'path' ;
7+ import inquirer from 'inquirer' ;
8+ import simpleGit from 'simple-git' ;
99
1010inquirer
1111 . prompt ( [
You can’t perform that action at this time.
0 commit comments