bower init

When running a bower command (ok, if you must know it was....

bower install markdown-it --save


the final part of the output said:

bower    no-json No bower.json file to save to, use bower init to create one


Creating a bower.json file with bower init is very fun, and reminiscent of npm init

After going through the questionnaire I ended up with something like this:

  "name": "A great name",
  "authors": [
    "secretGeek <>"
  "description": "a messy thing",
  "main": "index.html",
  "keywords": [
  "license": "MIT",
  "homepage": "",
  "private": true,
  "ignore": [
  "dependencies": {
    "markdown-it": "^8.2.2"

Note it was smart enough to add what i'd added already as a dependency.

var MarkdownIt = require('markdown-it'), md = new MarkdownIt(); var result = md.render('# markdown-it rulezz!');

results matching ""

    No results matching ""