CLI tool for building TypeScript projects and dependencies for usage in MaxMsp js object
For practical applications, you might want to check out:
This repository contains the CLI tool called "maxmsp" used in those projects.
The package is hosted on npm. You can install it with:
npm install -D @aptrn/maxmsp-ts
Builds your project, copying over files and fixing require paths.
Builds any time a file in src
changes.
Removes the package from the maxmsp.config.json file.
Adds a package to the maxmsp.config.json file.
Options:
--alias
: Optional. Sets the prefix for the copied files. Default is the package name.--path
: Optional. Sets the path to the package. Default is the package name.--files
: Optional. Sets the files to copy. Default isindex.js
.
- Add "rename" command for renaming project and folder
- Find a way to auto-sanitize Max Project file structure
- Add a function to create patcher files from JSON, possibly "ui" or "main"
- Experiment with maxpy to build max patches programmatically
- Experiment with are-you-es5 to check dependencies compatibility
- Experiment with babel to transpile dependencies