Giter Site home page Giter Site logo

Cascading Tree Sheets

Cascading Tree Sheets (CTS) is a CSS-like language to describe web structure.

This is the Javascript implementation of Cascading Tree Sheets (CTS).

Dependencies

Before you get started, make sure you have installed the following tools:

  • NodeJS + NPM
  • Grunt

Initial Development Setup

To set up a brand new CTS development environment, perform the following steps:

  1. Create a new, empty directory and from within it, run:

    bash -c "$(curl -fsSL https://raw.githubusercontent.com/cts/cts/master/initial-setup.sh)"

  2. Change into the cts directory that was just created.

  3. Run npm install.

  4. Run grunt setup.

This will link the dependencies of that project to the other repositories downloaded by the setup script.

Since the Duo package manager is typically used for production builds, it requires packages straight from Github instead of your local environment. To get around this, grunt downloads these packages from Github into the build-tmp/components directory, then symlinks those cts-* directories with your local versions. This is done by the src/build-scripts/grunt-contrib-projectsetup.js file.

Building CTS

You can build CTS by running grunt from inside the cts project. You'll find the output in the build directory. If the build-tmp directory is ever deleted, you need to re-run grunt setup to symlink the directories properly. Otherwise, none of your local changes will end up in the build file.

License

This software is made available under the BSD License.

Cascading Treesheets's Projects

cts icon cts

CTS Javascript Runtime

cts-ui icon cts-ui

UI Tools for Cascading Tree Sheets

merlin icon merlin

Merlin: A Library for Javascript Magic

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.