Skip to content

Commit

Permalink
fix npm meta data
Browse files Browse the repository at this point in the history
  • Loading branch information
heldr committed Feb 12, 2016
1 parent 9490263 commit f5d549d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"build-cli": "babel --presets es2015-node4 -d lib/datauri-cli src/cli && babel --presets es2015 -d lib/datauri-cli/old src/cli",
"pkg-json": "mkdir -p lib/datauri && mkdir -p lib/datauri-cli && babel-node tools/pkg-json.js",
"check": "npm run lint && npm run spec-prod",
"deploy": "npm publish lib/datauri-cli && npm publish lib/datauri",
"deploy": "npm run build && npm publish lib/datauri-cli && npm publish lib/datauri",
"preversion": "npm run check",
"postversion": "npm run build"
},
Expand Down Expand Up @@ -81,7 +81,7 @@
"mimer",
"semver"
],
"description": "Simple DataURI scheme module"
"description": "Create DataURI scheme easily"
},
"datauri-cli": {
"dependencies": [
Expand All @@ -92,7 +92,7 @@
"bin": {
"datauri": "./index.js"
},
"description": "Simple DataURI scheme client"
"description": "Create DataURI scheme using terminal"
}
}
}
2 changes: 2 additions & 0 deletions tools/pkg-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ function getMetadata(name) {
meta.bin = buildConfig[name].bin;
}

meta.description = buildConfig[name].description;

return meta;
}

Expand Down

0 comments on commit f5d549d

Please sign in to comment.