An open API service indexing awesome lists of open source software.

https://github.com/repcomm/ts-map-babel-template

TypeScript, ES Modules, import map, import map polyfill, and babel
https://github.com/repcomm/ts-map-babel-template

Last synced: 10 months ago
JSON representation

TypeScript, ES Modules, import map, import map polyfill, and babel

Awesome Lists containing this project

README

          

# ts-map-babel-template

A template setup for:
- TypeScript ( using [babel](https://github.com/babel/babel) )
- import maps ( including [this polyfill](https://github.com/guybedford/es-module-shims) )
- And also optionally [show-casing @roguecircuitry/htmless](https://github.com/RogueCircuitry/htmless)

## Function

Compile /src directory with:
`npm run build`


File copy is set up as well for:
`src/index.ts` -> `./index.js`

`src/index.html` -> `./index.html`

Output is in the same directory as package.json for sake of import maps

I regularly use this for starting new projects of my own, and therefor it should stay somewhat up-to-date.