Skip to content

CLI tool for building typescript projects and dependencies for usage in MaxMsp js object

Notifications You must be signed in to change notification settings

aptrn/maxmsp-ts

Repository files navigation

maxmsp-ts

CLI tool for building TypeScript projects and dependencies for usage in MaxMsp js object

How to Use

For practical applications, you might want to check out:

This repository contains the CLI tool called "maxmsp" used in those projects.

Installation

The package is hosted on npm. You can install it with:

npm install -D @aptrn/maxmsp-ts

Available Commands

build

Builds your project, copying over files and fixing require paths.

dev

Builds any time a file in src changes.

rm <package-name>

Removes the package from the maxmsp.config.json file.

add <package-name> [options]

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 is index.js.

Todo

  • 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

About

CLI tool for building typescript projects and dependencies for usage in MaxMsp js object

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •