Coder Social home page Coder Social logo

pinto's Introduction

pinto

npm version

what is it?

A minimal and zero-configuration tool for developing super tiny HTML projects, such as:

  • quick experiments and prototypes — it’s easy to build and deploy
  • student projects — the environment is almost non-existent
  • super small sites — single page portfolio etc
  • project documentation — by using pinto on your gh-pages branch

how do I use it?

$ npm install pinto -g # install the cli
$ pinto init src        # scaffolds the project in src/ folder
$ pinto dev src         # starts a dev src/
$ pinto build src dist  # builds a static page in dist
$ pinto preview dist    # previews the static page in dist

what it does?

Pinto creates a completely static html page from the following:

  • A single CSS file
  • A single JS file
  • A handlebars template
  • A JSON file that powers the handlebars template
  • An assets folder for public images or whatever

pinto's People

Contributors

skiano avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pinto's Issues

Render clearer errors in browser

When something fails in dev, the raw error is stringified and sent to the browser. However, depending on the error, there may be a more helpful message possible. For example, the postcss errors are more elaborate than standard errors. Maybe look for what library is powering popular tools like vue cli's or angular cli's error display.

Expose buble config options

Allow user to modify buble config. This would be especially useful if they want jsx with something like hyperapp

Allow pinto init to create folder

Right now pinto init scaffolds in cwd. Would be nice if it could accept a path and create the folder too. Might make onboarding a little nicer.

Add tests

Would be nice to have test coverage for some parts of this. But i think it is simple enough I'm not too worried yet.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.