Skip to content

Commit

Permalink
Fix up bower spec
Browse files Browse the repository at this point in the history
  • Loading branch information
cpettitt committed Oct 21, 2014
1 parent 4c6f7a6 commit 2e07af4
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/release/make-bower.json.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,28 @@

// Renders the bower.json template and prints it to stdout

var packageJson = require("../../package.json");

var template = {
name: "graphlib-dot",
version: require("../../package.json").version,
main: [ "dist/graphlib-dot.core.js", "dist/graphlib-dot.core.min.js" ],
name: packageJson.name,
version: packageJson.version,
main: ["dist/" + packageJson.name + ".core.js", "dist/" + packageJson.name + ".core.min.js"],
ignore: [
".*",
"README.md",
"CHANGELOG.md",
"Makefile",
"browser.js",
"dist/graphlib-dot.js",
"dist/graphlib-dot.min.js",
"dist/" + packageJson.name + ".js",
"dist/" + packageJson.name + ".min.js",
"index.js",
"karma*",
"lib/**",
"package.json",
"src/**",
"test/**"
],
dependencies: {
"lodash": "^2.4.1",
"graphlib": "^0.9.1"
}
dependencies: packageJson.dependencies
};

console.log(JSON.stringify(template, null, 2));

0 comments on commit 2e07af4

Please sign in to comment.