package.json 4.02 KB
{
  "_from": "fabric@4.2.0",
  "_id": "fabric@4.2.0",
  "_inBundle": false,
  "_integrity": "sha512-wPC08+Uh+Z5U6BYSlzT7I+xxn7tkwYEKJ5EqDvQ2+a2hGSHuVJHm5DEUTnXkDrLrKamNthbPfCGNoOa1RoTVgg==",
  "_location": "/fabric",
  "_phantomChildren": {},
  "_requested": {
    "type": "version",
    "registry": true,
    "raw": "fabric@4.2.0",
    "name": "fabric",
    "escapedName": "fabric",
    "rawSpec": "4.2.0",
    "saveSpec": null,
    "fetchSpec": "4.2.0"
  },
  "_requiredBy": [
    "/@toast-ui/react-image-editor",
    "/tui-image-editor"
  ],
  "_resolved": "https://registry.npmjs.org/fabric/-/fabric-4.2.0.tgz",
  "_shasum": "c16daf5559a9ed457d51eeb938099565ef1b44ba",
  "_spec": "fabric@4.2.0",
  "_where": "C:\\Users\\kkwan_000\\Desktop\\git\\2017110269\\mypro\\node_modules\\@toast-ui\\react-image-editor",
  "author": {
    "name": "Juriy Zaytsev",
    "email": "kangax@gmail.com"
  },
  "browser": {
    "canvas": false,
    "fs": false,
    "jsdom": false,
    "jsdom/lib/jsdom/living/generated/utils": false,
    "jsdom/lib/jsdom/utils": false,
    "http": false,
    "https": false,
    "xmldom": false,
    "url": false
  },
  "bugs": {
    "url": "https://github.com/fabricjs/fabric.js/issues"
  },
  "bundleDependencies": false,
  "contributors": [
    {
      "name": "Andrea Bogazzi",
      "email": "andreabogazzi79@gmail.com"
    }
  ],
  "dependencies": {
    "canvas": "^2.6.1",
    "jsdom": "^15.2.1"
  },
  "deprecated": false,
  "description": "Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.",
  "devDependencies": {
    "chalk": "^2.4.1",
    "eslint": "4.18.x",
    "nyc": "^15.1.0",
    "onchange": "^3.x.x",
    "pixelmatch": "^4.0.2",
    "qunit": "2.9.2",
    "testem": "^3.2.0",
    "uglify-js": "3.3.x"
  },
  "engines": {
    "node": ">=8.0.0"
  },
  "homepage": "http://fabricjs.com/",
  "keywords": [
    "canvas",
    "graphic",
    "graphics",
    "SVG",
    "node-canvas",
    "parser",
    "HTML5",
    "object model"
  ],
  "license": "MIT",
  "main": "./dist/fabric.js",
  "name": "fabric",
  "optionalDependencies": {
    "canvas": "^2.6.1",
    "jsdom": "^15.2.1"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/fabricjs/fabric.js.git"
  },
  "scripts": {
    "all": "npm run build && npm run test && npm run test:visual && npm run lint && npm run lint_tests && npm run export_dist_to_site && npm run export_tests_to_site",
    "build": "node build.js modules=ALL requirejs exclude=gestures,accessors",
    "build:fast": "node build.js modules=ALL requirejs fast exclude=gestures,accessors",
    "build:watch": "onchange 'src/**/**' 'HEADER.js' 'lib/**/**' -- npm run build_export",
    "build_export": "npm run build:fast && npm run export_dist_to_site && npm run build_with_gestures && npm run export_gesture_to_site",
    "build_with_gestures": "node build.js modules=ALL exclude=accessors",
    "export_dist_to_site": "cp dist/fabric.js ../fabricjs.com/lib/fabric.js && cp package.json ../fabricjs.com/lib/package.json && cp -r src HEADER.js lib ../fabricjs.com/build/files/",
    "export_gesture_to_site": "cp dist/fabric.js ../fabricjs.com/lib/fabric_with_gestures.js",
    "export_tests_to_site": "cp test/unit/*.js ../fabricjs.com/test/unit && cp -r test/visual/* ../fabricjs.com/test/visual && cp -r test/fixtures/* ../fabricjs.com/test/fixtures && cp -r test/lib/* ../fabricjs.com/test/lib",
    "link:watch": "onchange 'src/**/**' 'HEADER.js' 'lib/**/**' -- npm link",
    "lint": "eslint --config .eslintrc.json src",
    "lint_tests": "eslint test/unit --config .eslintrc_tests && eslint test/visual --config .eslintrc_tests",
    "test": "nyc qunit test/node_test_setup.js test/lib test/unit",
    "test:all": "npm run test && npm run test:visual",
    "test:single": "qunit test/node_test_setup.js test/lib",
    "test:visual": "qunit test/node_test_setup.js test/lib test/visual",
    "test:visual:single": "qunit test/node_test_setup.js test/lib",
    "testem": "testem .",
    "testem:ci": "testem ci",
    "testem:visual": "testem --file testem-visual.json"
  },
  "version": "4.2.0"
}