Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 764 Bytes

README.md

File metadata and controls

55 lines (36 loc) · 764 Bytes

Visit https://featurevisor.com for more information.

Initialize

$ mkdir my-featurevisor-project
$ cd my-featurevisor-project
$ npx @featurevisor/cli init --example example-yml

Installation

$ npm install

Usage

Lint YAMLs

$ npm run lint

Build datafiles

$ npm run build

Test features

$ npm test

Start local server

Generates and serves status site:

$ npm start

Generate code

For additional type safety and autocompletion, you can generate TypeScript code from your YAMLs:

$ npm run generate-code

See output in ./src directory.

You may choose to publish the generated code as a private npm package and use it in multiple applications.