Skip to content

Commit f29aead

Browse files
committed
Make README play with NPM a bit better.
1 parent 4bf0fae commit f29aead

File tree

3 files changed

+33
-15
lines changed

3 files changed

+33
-15
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,19 @@ Order.less is a library of [LESS][less] mixins for precise control over typograp
88

99
[less]: http://lesscss.org
1010

11-
You can see all of these mixins in action in [this example](./examples/001_Overview/), where some <samp>lorem ipsum</samp> is set in 3 different typefaces and laid out on a 3-column grid:
11+
You can see all of these mixins in action in [this example](https://github.com/chromice/order.less/blob/master/examples/001_Overview/), where some <samp>lorem ipsum</samp> is set in 3 different typefaces and laid out on a 3-column grid:
1212

13-
<a href="./examples/001_Overview/"><img src="./examples/001_Overview/index.png" alt=""></a>
13+
<a href="https://github.com/chromice/order.less/blob/master/examples/001_Overview/"><img src="https://github.com/chromice/order.less/blob/master/examples/001_Overview/index.png" alt=""></a>
1414

1515
* * *
1616

1717
**Requirements**: LESS v2.2.0; [`calc()` support](http://caniuse.com/calc) for fixed gutters and more precise vertical rhythm.
18-
**Test suite**: [Visual reference](./tests/index.png) ([source](./tests/))
18+
**Test suite**: [Visual reference](https://github.com/chromice/order.less/blob/master/tests/index.png) ([source](https://github.com/chromice/order.less/blob/master/tests/))
19+
20+
```
21+
npm install order.less
22+
bower install order.less
23+
```
1924

2025
* * *
2126

@@ -174,7 +179,7 @@ Here are baseline offset values for a few popular typefaces:
174179
| Trebuchet MS | 0.858 |
175180
| Verdana | 0.898 |
176181

177-
You can find offset values for many other typefaces (and their variations) including popular Google fonts in [HTML source](./tests/index.html) of the test suite.
182+
You can find offset values for many other typefaces (and their variations) including popular Google fonts in [HTML source](https://github.com/chromice/order.less/blob/master/tests/index.html) of the test suite.
178183

179184
<!--
180185
### Examples

bower.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
11
{
22
"name": "order.less",
3-
"version": "1.0.1",
4-
"homepage": "https://github.com/chromice/order.less",
53
"description": "Baseline alignment, column grids and modular scales.",
6-
"main": "./order.less",
4+
"main": "order.less",
75
"keywords": [
86
"grid",
97
"baseline",
108
"rhythm"
119
],
10+
"authors": [
11+
"Anton Muraviev <chromice@gmail.com>"
12+
],
13+
"homepage": "https://github.com/chromice/order.less",
1214
"license": "Apache-2.0",
15+
"repository": {
16+
"type": "git",
17+
"url": "git://github.com/chromice/order.less.git"
18+
},
1319
"ignore": [
1420
"**/.*",
21+
"node_modules",
22+
"bower_components",
23+
"component.json",
24+
"package.json",
1525
"examples",
1626
"tests"
1727
]

package.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
{
22
"name": "order.less",
3-
"version": "1.0.1",
4-
"homepage": "https://github.com/chromice/order.less",
3+
"version": "1.0.3",
54
"description": "Baseline alignment, column grids and modular scales.",
6-
"main": "./order.less",
5+
"style": "order.less",
6+
"files": [
7+
"order.less"
8+
],
79
"keywords": [
810
"grid",
911
"baseline",
1012
"rhythm"
1113
],
14+
"author": "Anton Muraviev <chromice@gmail.com>",
15+
"homepage": "https://github.com/chromice/order.less",
1216
"license": "Apache-2.0",
13-
"ignore": [
14-
"**/.*",
15-
"examples",
16-
"tests"
17-
]
17+
"repository": {
18+
"type": "git",
19+
"url": "git://github.com/chromice/order.less.git"
20+
}
1821
}

0 commit comments

Comments
 (0)