npm.io
0.1.21 • Published 7 years agoCLI

create-glass-app

Licence
UNLICENSED
Version
0.1.21
Deps
14
Size
238 kB
Vulns
0
Weekly
0

create-glass-app

CLI for bootstrapping Informatica's Glass Framework. Glass framework is based on create-react-app

Features

  • Easy-to-use CLI
  • Handles all modern JS features
  • Bundles cjs and es module formats
  • create-react-app for example usage and local dev
  • Rollup for bundling
  • Babel for transpiling
  • Jest for testing
  • Supports peer-dependencies
  • Supports CSS modules
  • Sourcemap creation

Install

This package requires node >= 8, but we recommend node >= 10.

npm install -g create-glass-app

Creating a New Module

create-glass-app

Answer some basic prompts about your module, and then the CLI will perform the following steps:

  • copy over the template
  • install dependencies via yarn or npm
  • link packages together for local development

Development

After you initialize a project with create-glass-app, move to src/ folder for developement

npm start
Publishing to NPM
npm publish