@fangzhongya/create
v0.2.5-21
Published
create 创建文件
Downloads
5
Readme
create
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",
}
测试 自动提交2