@jerrygreen/preact-scripts-ts
Configuration and scripts for Create React App.
Last updated 5 months ago by jerrygreen .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @jerrygreen/preact-scripts-ts 
SYNC missed versions from official npm registry.

preact-scripts-ts npm version

Notice: this is a light update of a abondoned jmfirth/create-preact-app-typescript

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

Compressed output:

File sizes after gzip:

  8.42 KB  build/static/js/main.c57e6d2d.js
  289 B    build/static/css/main.9a0fe4f1.css

tl;dr

yarn install -g create-react-app

create-react-app my-app --scripts-version=@jerrygreen/preact-scripts-ts
cd my-app/
yarn start

If you already have a repo

yarn install @jerrygreen/preact-scripts-ts

Additional Features

Code highlighting on error

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

CodeHighlight

Credits

Forked from jmfirth/create-preact-app-typescript.

Current Tags

  • 0.9.23                                ...           latest (5 months ago)

6 Versions

  • 0.9.23                                ...           5 months ago
  • 0.9.22                                ...           5 months ago
  • 0.9.21                                ...           5 months ago
  • 0.9.20                                ...           5 months ago
  • 0.9.19                                ...           5 months ago
  • 0.9.18                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 25
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |