New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

micro-ts-dev

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

micro-ts-dev

Adds TypeScript support to micro-dev

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

micro-ts-dev

This is a wrapper around micro-dev that adds support for TypeScript.

Usage

First, install micro-ts-dev:

npm install --save-dev micro-ts-dev

Next, add a new script property inside package.json:

"scripts": {
  "dev": "micro-ts-dev"
}

Finally, start the development server:

npm run dev

TypeScript Support

TypeScript support should work out of the box, but you can also create a tsconfig.json to specify configuration.

Babel Support

micro-ts-dev uses babel to compile TypeScript. By default it uses the env and typescript presets.

You can create a .babelrc file in your project to override the babel configuration. micro-ts-dev will perform a shallow merge of your custom configuration with the defaults.

Keywords

FAQs

Package last updated on 30 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc