Thanks to visit codestin.com
Credit goes to github.com

Skip to content

jmfirth/create-preact-app-typescript

 
 

Repository files navigation

preact-scripts-ts npm version

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

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.

About

Create React apps using typescript with no build configuration.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 85.1%
  • Shell 11.6%
  • HTML 1.3%
  • Other 2.0%