compy

raw JSON →
0.1.31 verified Fri May 01 auth: no javascript deprecated

compy is a lightweight app builder and compiler for web apps, version 0.1.31, based on TJ's component package manager. It allows installing and using components from the component ecosystem without configuration, supporting local require, preprocessors like CoffeeScript, Sass, Jade, and Stylus via plugins, and includes features like livereload, static server, and karma test runner. Key differentiators: framework-agnostic, zero-config setup, and integration with component's plugin system.

error Error: Cannot find module 'compy'
cause compy is not installed globally
fix
npm install -g compy
error compy: command not found
cause global binary not installed
fix
npm install -g compy
error Error: component build plugin 'component-coffee' not found
cause plugin not installed locally
fix
npm install component-coffee --save-dev
deprecated compy is no longer actively maintained; the component ecosystem is largely replaced by npm/webpack.
fix Migrate to modern build tools like webpack or Parcel.
gotcha compy requires Node.js < 10; does not work with modern Node versions.
fix Use Node 8 or lower, or switch to alternative build tools.
breaking compy relies on the component package manager, which has been deprecated and may not install packages correctly.
fix Use npm instead; compy may not work without component infrastructure.
npm install compy
yarn add compy
pnpm add compy

Install compy globally, generate a boilerplate, install dependencies, compile the app, and run a dev server with livereload.

npm install -g compy
mkdir myapp && cd myapp
compy plate myapp
# edit package.json to set main: index.js
compy install
compy compile
compy server watch