Commit b561c02b authored by Mike Bostock's avatar Mike Bostock

Remove component.json, continued.

parent 7504df59
#!/usr/bin/env node
var fs = require("fs"),
package = require("../package.json");
console.log(JSON.stringify({
"name": "d3",
"repository": "mbostock/d3",
"description": package.description,
"keywords": package.keywords,
"version": package.version,
"main": "d3.js",
"scripts": [
"d3.js"
],
"license": package.license
}, null, 2));
......@@ -59,7 +59,7 @@
},
"scripts": {
"test": "vows && echo",
"prepublish": "npm test && rm -f component.json package.js src/start.js d3.js d3.min.js d3.zip && bin/start > src/start.js && bin/component > component.json && bin/meteor > package.js && smash src/d3.js | uglifyjs - -b indent-level=2 -o d3.js && bin/uglify d3.js > d3.min.js && chmod a-w d3.js d3.min.js component.json package.js && zip d3.zip LICENSE d3.js d3.min.js",
"prepublish": "npm test && rm -f package.js src/start.js d3.js d3.min.js d3.zip && bin/start > src/start.js && bin/meteor > package.js && smash src/d3.js | uglifyjs - -b indent-level=2 -o d3.js && bin/uglify d3.js > d3.min.js && chmod a-w d3.js d3.min.js package.js && zip d3.zip LICENSE d3.js d3.min.js",
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git tag -am \"Release $VERSION.\" v${VERSION} && git push --tags && cp -v README.md LICENSE d3.js d3.min.js ../d3-bower && cd ../d3-bower && git add README.md LICENSE d3.js d3.min.js && git commit -m \"Release $VERSION.\" && git tag -am \"Release $VERSION.\" v${VERSION} && git push && git push --tags && cd - && cp -v d3.js ../d3.github.com/d3.v3.js && cp -v d3.min.js ../d3.github.com/d3.v3.min.js && cd ../d3.github.com && git add d3.v3.js d3.v3.min.js && git commit -m \"d3 ${VERSION}\" && git push"
},
"license": "BSD-3-Clause"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment