Use a custom build task in grunt to build raphael in a way that creates a valid…
Use a custom build task in grunt to build raphael in a way that creates a valid anonymous module for AMD definition. - Also pulls in the version from package.json to create the banner from copy.js (so the version can be set in one place) - Conforms Gruntfile to most common tabs and spacing of other files - grunt-cli should not be included in devDependencies (it is only ever installed globally)
Showing
| ... | @@ -15,9 +15,7 @@ | ... | @@ -15,9 +15,7 @@ |
| "readmeFilename": "README.markdown", | "readmeFilename": "README.markdown", | ||
| "gitHead": "52bff469f60988f1391e8b3d7cb5349163df8ba1", | "gitHead": "52bff469f60988f1391e8b3d7cb5349163df8ba1", | ||
| "devDependencies": { | "devDependencies": { | ||
| "grunt-cli": "~0.1.7", | |||
| "grunt": "~0.4.1", | "grunt": "~0.4.1", | ||
| "grunt-contrib-uglify": "~0.2.0", | "grunt-contrib-uglify": "~0.2.0" | ||
| "grunt-contrib-concat": "~0.3.0" | |||
| } | } | ||
| } | } |
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
Please
register
or
sign in
to comment