Skip to content

fangzhongya/create

Repository files navigation

create

create 创建文件

npm i -D @fangzhongya/create

package.json

创建 node.index.ts

import { runDev } from '@fangzhongya/create/package';

runDev();

用 ts-node 运行 ts 的 node 代码在

tsconfig.json 添加配置

"ts-node": {
    "esm": true
  }

在 package.json 添加执行方法

"scripts": {
    "dev": "ts-node node.index.ts",
}

测试 自动提交

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published