https://github.com/norgate-av/muse-typescript
A test project to experiment with TypeScript and Muse
https://github.com/norgate-av/muse-typescript
amx harman javascript muse typescript
Last synced: about 1 month ago
JSON representation
A test project to experiment with TypeScript and Muse
- Host: GitHub
- URL: https://github.com/norgate-av/muse-typescript
- Owner: Norgate-AV
- License: mit
- Created: 2024-11-20T23:47:24.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-01-01T01:53:20.000Z (9 months ago)
- Last Synced: 2025-03-31T23:59:47.888Z (6 months ago)
- Topics: amx, harman, javascript, muse, typescript
- Language: TypeScript
- Homepage:
- Size: 4.06 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# muse-typescript
This is a test project to experiment using TypeScript with Muse.
## Installation
```bash
pnpm install
```## Environment Setup
Create a `.env` file in the root of the project with the following content:
```bash
USERNAME=your-username
HOST=your-host
```This will be used to deploy the changes to the Muse processor.
## Build
The build is done with [tsup](https://tsup.egoist.dev/). It will generate a `dist` folder with the compiled JavaScript code in ES5 format.
On a successful build, the [deploy script](./scripts/deploy.sh) will be run automatically, deploying the changes to the Muse processor.
```bash
pnpm build
```## Deploy
The deploy script uses `jq`. You can install it with `brew install jq`.
```bash
bash ./scripts/deploy.sh
```## License
[MIT](./LICENSE)