0.0.31 • Published 8 years ago

partnr-style-guide v0.0.31

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

Partnr Style Guide

This project was formed from a need to create and explicitly define individual Partnr UI components.

You can reuse any of thse components by running:

npm install partnr-style-guide

then in your Sass styles, using this:

@import /path/to/node_modules/src/partnr-style

or building the partnr-style.sass file explicitly and moving the resulting static file to a place where you can serve it directly.

##Development

To run this program, you'll need to run:

npm install

Then, once that has finished, run:

./node_modules/.bin/gulp serve

This will start a static server on port 9090. This will also listen to all changes in the src directory and build the relevant files. From there you can reload the browser to see your changes.

##Deployment

For now, we just use a (free tier) Heroku project hosted at style.partnr.org (which is an alias of partnr-style-guide.herokuapp.com)

If you want to emulate the heroku build process locally, then you should run:

ENV=production gulp build

and everything will build as if it were on the remote heroku server.

###NOTE: the only thing that's a real discrepancy between heroku and npm is that heroku requires all node_modules to be in dependencies and not devDependencies of the package.json.

0.0.31

8 years ago

0.0.30

8 years ago

0.0.29

8 years ago

0.0.27

8 years ago

0.0.26

8 years ago

0.0.25

8 years ago

0.0.24

8 years ago

0.0.23

8 years ago

0.0.22

8 years ago

0.0.21

8 years ago

0.0.20

8 years ago

0.0.19

8 years ago

0.0.18

8 years ago

0.0.17

8 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.8

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago