New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

preact-scripts-ts

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

preact-scripts-ts

Configuration and scripts for Create React App.

latest
Source
npmnpm
Version
0.9.17
Version published
Maintainers
1
Created
Source

preact-scripts-ts npm version

Create Preact apps (with Typescript) with no build configuration.

Compressed output:

File sizes after gzip:

  8.17 KB  build/static/js/main.c57e6d2d.js
  317 B    build/static/css/main.9a0fe4f1.css

tl;dr

npm install -g create-react-app

create-react-app my-app --scripts-version=preact-scripts-ts
cd my-app/
npm start

Additional Features

Code highlighting on error

When you run npm run build the terminal will output the error, including the highlighted sourecode (like babel)!

CodeHighlight

Credits

Forked from react-scripts-ts by William Monk.

FAQs

Package last updated on 12 Apr 2017

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