22 |
23 |
--------------------------------------------------------------------------------
/LICENSE-MIT:
--------------------------------------------------------------------------------
1 | Copyright (c) 2013 Chris Gross
2 |
3 | Permission is hereby granted, free of charge, to any person
4 | obtaining a copy of this software and associated documentation
5 | files (the "Software"), to deal in the Software without
6 | restriction, including without limitation the rights to use,
7 | copy, modify, merge, publish, distribute, sublicense, and/or sell
8 | copies of the Software, and to permit persons to whom the
9 | Software is furnished to do so, subject to the following
10 | conditions:
11 |
12 | The above copyright notice and this permission notice shall be
13 | included in all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22 | OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "grunt-dom-munger",
3 | "description": "Read and manipulate HTML with CSS selectors. Ex. read '}
247 | ]
248 | }
249 | },
250 | src: 'index.html',
251 | dest: 'dist/index.html'
252 | },
253 | },
254 | cssmin: {
255 | main: {
256 | src:'<%= dom_munger.data.cssRefs %>', //use our read css references and concat+min them
257 | dest:'dist/css/app.full.min.css'
258 | }
259 | },
260 | uglify: {
261 | main: {
262 | src: '<%= dom_munger.data.jsRefs %>', //use our read js references and concat+min them
263 | dest:'dist/js/app.full.min.js'
264 | }
265 | }
266 | });
267 | ```
268 |
269 | ## Release History
270 | * v3.4.0 - Update task actions ordering. Reads always first, removes second, all others after.
271 | * v3.3.0 - All task actions can now be arrays for multiple actions per type.
272 | * v3.2.0 - Added second `file` argument to callback (#15).
273 | * v3.1.0 - Prefix and suffix options added. Fixes for issues #8, #10, and #11.
274 | * v3.0.0 - Removed `jsdom` engine as `cheerio` is as good without needing contextify.
275 | * v2.0.0 - Moved to `cheerio` engine. Upgraded jquery to v2.
276 | * v1.0.1 - `remove` moved to the second to last operation performed (only `callback` is later).
277 | * v1.0.0 - Read task modified to write values to `dom_munger.data` rather than to write directly to a task config.
278 | * v0.1.0 - Initial release.
279 |
--------------------------------------------------------------------------------