Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mingderwang/ming-ts
test minimal typescript code
https://github.com/mingderwang/ming-ts
Last synced: 3 days ago
JSON representation
test minimal typescript code
- Host: GitHub
- URL: https://github.com/mingderwang/ming-ts
- Owner: mingderwang
- License: mit
- Created: 2020-07-14T07:53:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-03T10:42:11.000Z (almost 2 years ago)
- Last Synced: 2023-04-17T12:51:59.354Z (over 1 year ago)
- Language: HTML
- Size: 481 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ming-ts
A Typescript Template with a package build for Windows and Mac OS
## features
* a typescript template
* web app (html) using parcel
* package your app for windows, linux and mac os
* supports eslint## run your app as a web app
```sh
yarn
yarn dev
```## eslint
```sh
yarn
yarn lint
```## package your app
```sh
yarn
yarn start
```## build and run
```sh
yarn build
yarn package
```> output
```sh
➜ yarn
➜ yarn build
➜ yarn package
yarn install v1.22.15
[1/4] 🔍 Resolving packages...
success Already up-to-date.
✨ Done in 0.12s.
yarn run v1.22.15
$ tsc index.ts
✨ Done in 2.06s.
yarn run v1.22.15
$ npm run build && pkg index.js> [email protected] build
> tsc index.ts> [email protected]
> Targets not specified. Assuming:
node16-linux-arm64, node16-macos-arm64, node16-win-arm64
✨ Done in 4.89s.
```> test run in mac os
```sh
➜ ./index-macos
My name is Mike and I'm 25 years old!
```