Skip to content

Commit f5d549d

Browse files
committed
fix npm meta data
1 parent 9490263 commit f5d549d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"build-cli": "babel --presets es2015-node4 -d lib/datauri-cli src/cli && babel --presets es2015 -d lib/datauri-cli/old src/cli",
2222
"pkg-json": "mkdir -p lib/datauri && mkdir -p lib/datauri-cli && babel-node tools/pkg-json.js",
2323
"check": "npm run lint && npm run spec-prod",
24-
"deploy": "npm publish lib/datauri-cli && npm publish lib/datauri",
24+
"deploy": "npm run build && npm publish lib/datauri-cli && npm publish lib/datauri",
2525
"preversion": "npm run check",
2626
"postversion": "npm run build"
2727
},
@@ -81,7 +81,7 @@
8181
"mimer",
8282
"semver"
8383
],
84-
"description": "Simple DataURI scheme module"
84+
"description": "Create DataURI scheme easily"
8585
},
8686
"datauri-cli": {
8787
"dependencies": [
@@ -92,7 +92,7 @@
9292
"bin": {
9393
"datauri": "./index.js"
9494
},
95-
"description": "Simple DataURI scheme client"
95+
"description": "Create DataURI scheme using terminal"
9696
}
9797
}
9898
}

tools/pkg-json.js

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ function getMetadata(name) {
4343
meta.bin = buildConfig[name].bin;
4444
}
4545

46+
meta.description = buildConfig[name].description;
47+
4648
return meta;
4749
}
4850

0 commit comments

Comments
 (0)