-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 3.29 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
{
"name": "grunt-google-cdn",
"version": "0.2.2",
"description": "Grunt task for replacing refs to resources on the Google CDN",
"main": "Gruntfile.js",
"scripts": {
"test": "grunt test"
},
"devDependencies": {
"grunt": "~0.4.0",
"grunt-contrib-jshint": "~0.4.3",
"proxyquire": "~0.4.1",
"grunt-contrib-nodeunit": "~0.1.2"
},
"dependencies": {
"bower": "~0.9.2",
"google-cdn": "~0.1.0"
},
"repository": {
"type": "git",
"url": "git://github.com/btford/grunt-google-cdn"
},
"keywords": [
"grunt",
"google",
"cdn"
],
"files": [
"tasks/cdnify.js"
],
"author": {
"name": "Brian Ford"
},
"license": "BSD",
"readme": "# grunt-google-cdn [![Build Status](https://travis-ci.org/btford/grunt-google-cdn.png)](https://travis-ci.org/btford/grunt-google-cdn)\n Grunt task for replacing refs to resources on the [Google CDN](https://developers.google.com/speed/libraries/devguide)\n\n## Getting Started\nThis plugin requires Grunt `~0.4.0`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-google-cdn\n```\n\nIt manages dependencies using [Bower](http://bower.io/), be sure to have it installed, and a bower.json/component.json in your project.\n\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-google-cdn');\n```\n\nRun this task with the `grunt cdnify` command.\n\n### Configuration\n\nWithin your Gruntfile.js file, you need to specify the html directory that contains the html referencing your CDN files.\n\n```js\ncdnify: {\n dist: {\n html: ['app/*.html']\n }\n}\n```\nYou will need a valid bower.json/component.json file in your project, that has dependencies and a version listed accordingly\n\n```json\n{\n \"name\": \"myAwesomeApp\",\n \"version\": \"0.0.1\",\n \"dependencies\": {\n \"rsvp\": \"*\",\n \"carve\": \">=0.0.1\",\n \"es5-shim\": \"~2.0.8\",\n \"optimist\" : \"0.2.x\"\n }\n```\n\nIf any updates are found, it will go through the files you specified, updating any references to those scripts.\n\n\n## Release History\n\n * 2013-04-24 v0.1.4 removed the extra s in component.json\n * 2013-04-22 v0.1.3 Made 'components.json' configurable via bowerrc, added unstable AngularJS and jQuery 2.0.0\n * 2013-04-07 v0.1.2 update available AngularJS versions, add .jshintrc\n * 2013-02-24 v0.1.0 add support for versions, hositing to avoid conflicts with usemin\n * 2013-02-18 v0.0.1 Initial Commit\n\n---\n\n## License\nBSD\n",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/btford/grunt-google-cdn/issues"
},
"homepage": "https://github.com/btford/grunt-google-cdn",
"_id": "grunt-google-cdn@0.2.2",
"dist": {
"shasum": "9ff8dc3b307f78102cdfae5350ed05d9a1ecef94"
},
"_from": "grunt-google-cdn@~0.2.0",
"_resolved": "http://registry.npmjs.org/grunt-google-cdn/-/grunt-google-cdn-0.2.2.tgz"
}