@averjs/typescript-runtime
TypeScript icon, indicating that this package has built-in type declarations

3.1.0 • Public • Published

@averjs/typescript-runtime

Official aver package for typescript support on the runtime side with ts-node.

Usage

Install the package

$ yarn add --dev @averjs/typescript-runtime
#or
$ npm i -D @averjs/typescript-runtime

Now you can update your scripts inside your package.json to use the new executable aver-ts.

{
  "scripts": {
    "dev": "aver-ts",
    "live": "aver-ts prod",
    "build": "aver-ts build",
    //...
  }
}

CLI

This package is just a wrapper for the official @averjs/cli. It registers ts-node in order for the node process to able to compile your runtime typescript files. The default aver cli commands are still available and can be used as usual. In addition there are the following new commands.

ts-init

This command initializes your typescript aver project, by adding the tsconfig.json and a tsconfig.server.json files to the root of your project.

Readme

Keywords

none

Package Sidebar

Install

npm i @averjs/typescript-runtime

Weekly Downloads

1

Version

3.1.0

License

MIT

Unpacked Size

8.62 kB

Total Files

8

Last publish

Collaborators

  • fweber
  • thegorilla