Create Noderize App
In the introduction, we saw how to create a Noderize app using the create-noderize
package.
It is recommended you use the single-use script from the introduction as it will always be up-to-date. However, you can optionally install the command globally with:
yarn global add create-noderize
# or
npm install -g create-noderize
# then
create-noderize <path>
Some arguments can be passed to this script to modify its behavior.
Index
Arguments
--typescript
This will set up a TypeScript project by:
- Setting the
language
option totypescript
- Renaming
src/index.js
tosrc/index.ts
--forceNpm
& ---forceYarn
By default, Noderize uses Yarn if available. You may force the use of Yarn or npm.