зеркало из https://github.com/microsoft/rnx-kit.git
57013d2191
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com> |
||
---|---|---|
.. | ||
src | ||
test | ||
README.md | ||
eslint.config.js | ||
package.json | ||
tsconfig.json |
README.md
@rnx-kit/template
This is a sample folder to use as base for generating new packages for
rnx-kit
.
Motivation
We want new packages to follow an existing set of patterns and guidelines; via this package, we can enforce easily allow new folders to stick to at least a common starting point.
Installation
yarn add @rnx-kit/template --dev
or if you're using npm
npm add --save-dev @rnx-kit/template
Usage
Simply run from rnx-kit root
yarn new-package newPackageName
To generate a sample project for you to use.