Permalink
Browse files

update readme for publishing

  • Loading branch information...
1 parent f3ffc8a commit 200434f2ea71d3e99616d3173c7ff67d49a850ac @vanetix committed Mar 8, 2013
Showing with 17 additions and 3 deletions.
  1. +17 −2 Readme.md
  2. +0 −1 package.json
View
19 Readme.md
@@ -23,7 +23,21 @@ grunt.loadNpmTasks('grunt-asset-mapper');
```javascript
mapper: {
basic: {
- src: ['path/to/assets/**'],
+ assets: ['path/to/assets/**'],
+ src: ['path/to/source/**'],
+ dest: 'path/to/dest'
+ }
+}
+```
+
+**cwd**
+
+```javascript
+mapper: {
+ basic: {
+ cwd: ['path/to'],
+ assets: ['assets/**'],
+ src: ['source/**'],
dest: 'path/to/dest'
}
}
@@ -34,7 +48,8 @@ mapper: {
```javascript
flatten: {
flatten: true,
- src: ['path/to/assets/**'],
+ assets: ['path/to/assets/**'],
+ src: ['path/to/source/**'],
dest: 'path/to/dest'
}
```
View
1 package.json
@@ -14,7 +14,6 @@
},
"devDependencies": {
"grunt": "~0.4.0",
- "grunt-contrib-copy": "~0.4.0",
"grunt-contrib-clean": "~0.4.0",
"grunt-contrib-jshint": "~0.1.1",
"grunt-contrib-nodeunit": "~0.1.2"

0 comments on commit 200434f

Please sign in to comment.