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
- Host: GitHub
- URL: https://github.com/repcomm/ts-map-babel-template
- Owner: RepComm
- Created: 2022-05-02T02:25:46.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-20T00:16:28.000Z (about 3 years ago)
- Last Synced: 2025-01-28T08:52:11.427Z (about 1 year ago)
- Language: HTML
- Size: 147 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
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.