-
Notifications
You must be signed in to change notification settings - Fork 49
/
package.json
192 lines (192 loc) · 7.08 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
{
"name": "gridly",
"version": "1.5.0",
"description": "The minimal (~100-170 bytes) grid system for modern browsers.",
"main": "lib/gridly.css",
"unpkg": "dist/gridly.min.css",
"directories": {
"example": "example"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"release": "npm run dist && npm run prefixed",
"dist": "npm run dist-main && npm run dist-widths && npm run dist-gutters && npm run dist-all",
"dist-main": " uglifycss lib/gridly.css > dist/gridly-core.min.css",
"dist-widths": "uglifycss lib/gridly-col-widths.css > dist/gridly-col-widths.min.css",
"dist-gutters": "uglifycss lib/gridly-gutters.css > dist/gridly-gutters.min.css",
"dist-all": "uglifycss lib/gridly.css > dist/gridly.min.css && uglifycss lib/gridly-col-widths.css >> dist/gridly.min.css && uglifycss lib/gridly-gutters.css >> dist/gridly.min.css",
"prefixed": "npm run prefixed-main && npm run prefixed-widths && npm run prefixed-gutters && npm run prefixed-all",
"prefixed-main": "postcss -u autoprefixer -c postcss.json lib/gridly.css | uglifycss > dist/prefixed/gridly-core.min.css",
"prefixed-widths": "postcss -u autoprefixer -c postcss.json lib/gridly-col-widths.css | uglifycss > dist/prefixed/gridly-col-widths.min.css",
"prefixed-gutters": "postcss -u autoprefixer -c postcss.json lib/gridly-gutters.css | uglifycss > dist/prefixed/gridly-gutters.min.css",
"prefixed-all": "postcss -u autoprefixer -c postcss.json lib/gridly.css | uglifycss > dist/prefixed/gridly.min.css && postcss -u autoprefixer -c postcss.json lib/gridly-col-widths.css | uglifycss >> dist/prefixed/gridly.min.css && postcss -u autoprefixer -c postcss.json lib/gridly-gutters.css | uglifycss >> dist/prefixed/gridly.min.css"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/IonicaBizau/gridly.git"
},
"keywords": [
"gridly",
"grid",
"css",
"modern",
"browsers"
],
"author": "Ionică Bizău <[email protected]> (https://ionicabizau.net)",
"contributors": [
"Oliver Pattison <[email protected]> (http://olivermak.es)",
"Phoenix Enero <[email protected]> (http://github.com/phoenixenero)",
"Burak Can <[email protected]> (http://github.com/burakcan)",
"Danny B <[email protected]> (https://github.com/csanonymus)",
"Silviu Bogan <[email protected]> (https://lumea-lui-silviu.blogspot.ro)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/IonicaBizau/gridly/issues"
},
"homepage": "https://github.com/IonicaBizau/gridly#readme",
"devDependencies": {
"uglifycss": "0.0.18",
"autoprefixer": "~6.1.2",
"postcss-cli": "~2.3.2"
},
"blah": {
"description": [
{
"p": "You don't need monolithic CSS frameworks for simple grid systems. ~100 bytes of CSS can save your life. :dizzy:"
},
{
"h2": "Usage"
},
{
"p": "In the [`dist`](/dist) directory there are three minified files:"
},
{
"ul": [
"`gridly-core.min.css` (105 B): just the Gridly core including same-width column support and mobile responsive support.",
"`gridly-col-widths.min.css` (115 B): the custom width columns",
"`gridly.min.css` (165 B): the previous two files' content put together"
]
},
{
"p": "If you need to support more browsers, you can use the prefixed versions. They're located in [`dist/prefixed`](/dist/prefixed). They're ~1.8× the size of their counterparts."
},
{
"h3": "Browser Support"
},
{
"p": [
"Gridly supports browsers that implement the Flexible Box Layout Module.",
"As of December 2015, [browser support for flexbox](http://caniuse.com/#feat=flexbox) is 81.27% for unprefixed, and 95.44% for prefixed."
]
},
{
"h2": ":rocket: Available on CDN!"
},
{
"p": "Gridly is available on cdnjs.com. [**Check it out**](https://cdnjs.com/libraries/gridly)."
},
{
"blockquote": [
"https://cdnjs.cloudflare.com/ajax/libs/gridly/1.1.0/gridly-core.min.css",
"https://cdnjs.cloudflare.com/ajax/libs/gridly/1.1.0/gridly-col-widths.min.css",
"https://cdnjs.cloudflare.com/ajax/libs/gridly/1.1.0/gridly.min.css"
]
},
{
"p": "If you do not need custom width columns, you will probably want to use only `gridly-core.min.css` in your page. If you do need the custom width columns, you have to include `gridly.min.css` instead."
},
{
"h2": "Example"
},
{
"p": "Include the CSS file in your page:"
},
{
"code": {
"language": "html",
"content": "<link rel=\"stylesheet\" href=\"gridly.min.css\" type=\"text/css\" charset=\"utf-8\">"
}
},
{
"p": "Then you can use the `.row` and `.col` classes:"
},
{
"code": {
"language": "html",
"content": [
"<div class=\"row\">",
" <div class=\"col\">Two</div>",
" <div class=\"col\">Column</div>",
"</div>"
]
}
},
{
"p": "This will create two columns having equal widths."
}
],
"documentation": [
{
"p": "The `gridly-core.min.css` file handles two classes:"
},
{
"ul": [
"`row`: the row containing columns",
"`col`: the column to put in the row"
]
},
{
"p": "Because of the flexbox amazing power, the columns will have the same width (as many columns you want / row)."
},
{
"p": "To extend this basic functionality, there is another file: `gridly-col-widths.min.css`. This adds the following classes:"
},
{
"ul": [
"`col-tenth` has `10%` width",
"`col-fifth` has `20%` width",
"`col-quarter` has `25%` width",
"`col-third` has `33.3333334%` width",
"`col-half` has `50%` width"
]
},
{
"p": "Like specified above, the `gridly.min.css` contains both: the core and the custom widths."
}
],
"contributing": [
{
"p": "Run `npm i` to install the dependencies. Then, you can run the npm scripts using `npm run <script-name>`."
},
{
"p": "Run `npm run release` to recreate all the `dist` files."
}
],
"h_img": "http://i.imgur.com/kPrOESX.png",
"ex_img": "http://i.imgur.com/m4pwrnO.png",
"h_url": "http://ionicabizau.github.io/gridly/example/",
"ex_url": "http://ionicabizau.github.io/gridly/example/",
"usages": {
"ul": [
"[showalicense.com](http://showalicense.com/)–A site to provide an easy way to show licenses and their human-readable explanations. ([source](https://github.com/IonicaBizau/showalicense.com))"
]
},
"buy": "https://market.bloggify.org/2-gridly"
},
"files": [
"bin/",
"app/",
"lib/",
"dist/",
"src/",
"scripts/",
"resources/",
"menu/",
"cli.js",
"index.js",
"bloggify.js",
"bloggify.json",
"bloggify/"
]
}