1.0.1 • Published 1 year ago

redstart v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

RedStart

RedStart is a simple file format for starting a NodeJS Project.

Installation

<npm/yarn/pnpm> add -g redstart

Usage

RedStart comes with its own file format. It is a custom format for simple configuration.

To get started, just create a file ending with .rsproj.

In the first line, you define all the packages you want to install seperated by a comma. For example:

express, @types/express, typescript, tsx

In the next lines (after an optional empty line) you can define some config.

Required Values

language: <typescript | javascript>
# The package manager to install the packages in the first line with.
packageManager: <pnpm | yarn | npm>
# This is a comment.
# Path of the entry file. e.g. src/index.ts
mainFile: <path>

Optional Values

workDir: <path>
# Important: If you use pullFrom, you need to specify pullFrom on the first line.
pullFrom: <rawFileURL>
# You need to specify the line with packages too.
gitClone: <gitURL>

Important!

The capitalization of the keys and the values is important.

Example

axios, chalk@4.1.2, typescript, @types/node

language: typescript
packageManager: pnpm
mainFile: src/main.ts

Feel free to check out the example file!

License

RedStart is licensed under the GNU General Public License v3.0. See LICENSE for more information.