使用
安装
yarn add @gm-react-app/scripts-lib
创建新包
grasl create-package xxxx
创建 ts 包
grasl create-package xxxx --ts
模板变量
命令 package
scope 如 @gm-mobile 的 gm-mobile
name 如 @gm-mobile/react 的 react
version 等同于 lerna.json 里的 version
安装
yarn add @gm-react-app/scripts-lib
创建新包
grasl create-package xxxx
创建 ts 包
grasl create-package xxxx --ts
scope 如 @gm-mobile 的 gm-mobile
name 如 @gm-mobile/react 的 react
version 等同于 lerna.json 里的 version
npm i @gm-react-app/scripts-lib
253
3.10.7
ISC
8.78 kB
10