package.json 1.75 KB
{
  "name": "fabric",
  "description": "Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.",
  "homepage": "http://fabricjs.com/",
  "version": "1.6.7",
  "author": "Juriy Zaytsev <kangax@gmail.com>",
  "contributors": [
    {
      "name": "Andrea Bogazzi",
      "email": "andreabogazzi79@gmail.com"
    }
  ],
  "keywords": [
    "canvas",
    "graphic",
    "graphics",
    "SVG",
    "node-canvas",
    "parser",
    "HTML5",
    "object model"
  ],
  "browser" : {
    "canvas" : false,
    "fs":      false,
    "jsdom":   false,
    "xmldom":  false
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/kangax/fabric.js"
  },
  "bugs": {
    "url": "https://github.com/kangax/fabric.js/issues"
  },
  "license": "MIT",
  "scripts": {
    "build": "node build.js modules=ALL exclude=json,gestures",
    "build:watch": "onchange 'src/**/**' 'test/**/**' 'HEADER.js' 'lib/**/**' -- npm run build",
    "build_with_gestures": "node build.js modules=ALL exclude=json",
    "test": "node test.js",
    "lint": "eslint --config .eslintrc.json src",
    "lint_tests": "eslint test/unit --config .eslintrc_tests",
    "export_dist_to_site": "cp dist/fabric.js ../fabricjs.com/lib/fabric.js",
    "export_tests_to_site": "cp test/unit/*.js ../fabricjs.com/test/unit",
    "all": "npm run build && npm run test && npm run lint && npm run lint_tests && npm run export_dist_to_site && npm run export_tests_to_site"
  },
  "optionalDependencies": {
    "canvas": "1.4.x",
    "jsdom": "3.x.x",
    "xmldom": "0.1.x"
  },
  "devDependencies": {
    "uglify-js": "2.7.x",
    "eslint": "2.x.x",
    "qunit": "0.9.x",
    "istanbul": "0.4.x",
    "onchange": "^3.0.2"
  },
  "engines": {
    "node": ">=0.4.0"
  },
  "main": "./dist/fabric.js"
}