|
1 | 1 | # libSass Package Skeleton
|
2 | 2 |
|
3 | 3 | <!--
|
4 |
| -[](http://bower.io/search/?q=libsass-package) |
| 4 | +[](https://www.npmjs.com/package/makenew-libsass-package) |
5 | 5 | -->
|
6 |
| -[](./LICENSE.txt) |
| 6 | +<!-- |
| 7 | +[](http://bower.io/search/?q=makenew-libsass-package) |
| 8 | +--> |
| 9 | +[](./LICENSE.txt) |
7 | 10 | [](https://gemnasium.com/makenew/libsass-package)
|
8 |
| -[](https://travis-ci.org/makenew/libsass-package) |
| 11 | +[](https://travis-ci.org/makenew/libsass-package) |
9 | 12 |
|
10 | 13 | ## Description
|
11 | 14 |
|
@@ -99,51 +102,77 @@ $ git merge upstream/libsass
|
99 | 102 | ## Installation
|
100 | 103 |
|
101 | 104 | The recommended method is to add this as a dependency
|
102 |
| -to your project using [Bower] with |
| 105 | +to your project using [npm] with |
| 106 | + |
| 107 | +``` |
| 108 | +$ npm install --save makenew-libsass-package |
| 109 | +``` |
| 110 | + |
| 111 | +or [Bower] with |
103 | 112 |
|
104 | 113 | ```
|
105 |
| -$ bower install --save libsass-package |
| 114 | +$ bower install --save makenew-libsass-package |
106 | 115 | ```
|
107 | 116 |
|
108 | 117 | Alternatively, you can download a [release][Releases]
|
109 | 118 | or clone the repository directly.
|
110 | 119 |
|
| 120 | +[Bower]: http://bower.io/ |
| 121 | +[npm]: https://www.npmjs.com/ |
| 122 | +[Releases]: https://github.com/makenew/libsass-package/releases |
| 123 | + |
111 | 124 | ## Development and Testing
|
112 | 125 |
|
113 | 126 | ### Source Code
|
114 | 127 |
|
115 |
| -The [libsass-package source](https://github.com/makenew/libsass-package) |
116 |
| -is hosted on GitHub. |
| 128 | +The [makenew-libsass-package source] is hosted on GitHub. |
117 | 129 | To clone the project run
|
118 | 130 |
|
119 | 131 | ```
|
120 | 132 | $ git clone https://github.com/makenew/libsass-package.git
|
121 | 133 | ```
|
122 | 134 |
|
| 135 | +[makenew-libsass-package source]: https://github.com/makenew/libsass-package |
| 136 | + |
123 | 137 | ### Requirements
|
124 | 138 |
|
125 |
| -You will need [npm] with [Grunt] and [Bower]. |
| 139 | +You will need [Node.js] with [npm]. |
126 | 140 |
|
127 | 141 | Install the development dependencies with
|
128 | 142 |
|
129 | 143 | ```
|
130 | 144 | $ npm install
|
131 |
| -$ bower install |
| 145 | +``` |
| 146 | + |
| 147 | +[Node.js]: https://nodejs.org/ |
| 148 | + |
| 149 | +### Build |
| 150 | + |
| 151 | +Install any Bower dependencies and execute the default build task with |
| 152 | + |
| 153 | +``` |
| 154 | +$ npm start |
132 | 155 | ```
|
133 | 156 |
|
134 | 157 | ### Grunt
|
135 | 158 |
|
136 |
| -Run `grunt --help` to see all Grunt tasks. |
| 159 | +Optionally, you may run additional development tasks with [Grunt]. |
| 160 | +Install it with |
137 | 161 |
|
138 | 162 | ```
|
139 |
| -grunt sass # Compile Sass to CSS |
140 |
| -grunt clean # Remove build directory |
141 |
| -grunt watch # Have Grunt watch for changes |
| 163 | +$ npm install --global grunt-cli |
| 164 | +``` |
| 165 | + |
| 166 | +Run `$ grunt --help` to see all Grunt tasks. |
| 167 | + |
| 168 | +``` |
| 169 | +clean # Clean files and folders. * |
| 170 | +watch # Run predefined tasks whenever watched files change. |
| 171 | +sass # Compile Sass to CSS * |
| 172 | +default # Alias for "clean", "sass" tasks. |
142 | 173 | ```
|
143 | 174 |
|
144 |
| -[Bower]: http://bower.io/ |
145 | 175 | [Grunt]: http://gruntjs.com/
|
146 |
| -[npm]: https://www.npmjs.com/ |
147 | 176 |
|
148 | 177 | ## Contributing
|
149 | 178 |
|
|
0 commit comments