Skip to content

Commit

Permalink
Merge pull request #32 from doximity/bower-and-npm-support
Browse files Browse the repository at this point in the history
Bower and NPM support
  • Loading branch information
fgrehm authored Nov 9, 2016
2 parents 1a0e507 + 05d9707 commit c2c787c
Show file tree
Hide file tree
Showing 8 changed files with 77 additions and 7 deletions.
15 changes: 15 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
**/.*
*.gemspec
Gemfile*
Rakefile
node_modules
bower_components
test
tests
build
pkg
previews
docs
icons
lib
releases
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
vital (1.2.0)
vital (1.2.1)
sass (>= 3.4)

GEM
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ A minimally invasive CSS framework for modern web applications.
A couple installation options are available:

- Download the latest release tarball from https://github.com/doximity/vital/releases.
- Install the `vital` Ruby Gem on your project.
- Install the `vital` RubyGem, NPM or Bower package on your project.
- Use a precompiled release from RawGit.

Check out [our docs](http://vitalcss.com/get-started/) for information on installation methods, framework contents, templates, examples and more.
Expand Down Expand Up @@ -84,6 +84,7 @@ bundle exec middleman
- `git commit -m 'vX.Y.Z'`
- `git push origin master`
- `bundle exec rake release` to push to RubyGems
- `npm publish` to push to NPM
- `cd docs && bundle exec rake publish` to update GitHub pages
- Go to https://github.com/doximity/vital/releases and create a new release with the tarball attached
- Visit http://vitalcss.com/ and ensure it has been updated
Expand Down
30 changes: 30 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "vital",
"homepage": "http://vitalcss.com",
"authors": [
"Body Taing <[email protected]>",
"Fabio Rehm <[email protected]>"
],
"description": "A minimally invasive CSS framework for modern web applications.",
"main": [
"sass/vital.sass"
],
"license": "Apache-2.0",
"ignore": [
"**/.*",
"*.gemspec",
"Gemfile*",
"Rakefile",
"node_modules",
"bower_components",
"test",
"tests",
"build",
"pkg",
"previews",
"docs",
"icons",
"lib",
"releases"
]
}
2 changes: 1 addition & 1 deletion docs/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ../
specs:
vital (1.2.0)
vital (1.2.1)
sass (>= 3.4)

GEM
Expand Down
15 changes: 12 additions & 3 deletions docs/get-started.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
h2 Quickest (Compiled)
p Import into stylesheet or as a stylesheet link tag:
p
code https://cdn.rawgit.com/doximity/vital/v1.2.0/dist/css/vital.min.css
code https://cdn.rawgit.com/doximity/vital/v1.2.1/dist/css/vital.min.css
hr
h2 Recommended (Source)
p
Expand Down Expand Up @@ -67,5 +67,14 @@
@import vital/all

hr
h2 NPM
p A NPM package is in the works.
h2 Bower / NPM
= code('sh') do
|
bower install --save vital
npm install --save vital-css
p
' And reference the assets from within your project's
code bower_components/vital
| or
code node_modules/vital-css
| directory
2 changes: 1 addition & 1 deletion lib/vital/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Vital
VERSION = "1.2.0"
VERSION = "1.2.1"
end
15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "vital-css",
"version": "1.2.1",
"description": "A minimally invasive CSS framework for modern web applications.",
"repository": {
"type": "git",
"url": "https://github.com/doximity/vital.git"
},
"author": "The Vital Authors (https://github.com/doximity/vital/graphs/contributors)",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/doximity/vital/issues"
},
"homepage": "https://github.com/doximity/vital#readme"
}

0 comments on commit c2c787c

Please sign in to comment.