2017-12-31 08:51:07 +00:00
|
|
|
{
|
2012-05-11 11:31:30 +00:00
|
|
|
"name": "fabric",
|
2012-05-28 13:22:37 +00:00
|
|
|
"description": "Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.",
|
2014-02-11 17:46:56 +00:00
|
|
|
"homepage": "http://fabricjs.com/",
|
2018-06-17 11:56:12 +00:00
|
|
|
"version": "2.3.3",
|
2012-05-11 11:31:30 +00:00
|
|
|
"author": "Juriy Zaytsev <kangax@gmail.com>",
|
2016-08-28 21:02:47 +00:00
|
|
|
"contributors": [
|
|
|
|
|
{
|
|
|
|
|
"name": "Andrea Bogazzi",
|
|
|
|
|
"email": "andreabogazzi79@gmail.com"
|
|
|
|
|
}
|
|
|
|
|
],
|
2014-02-19 12:48:59 +00:00
|
|
|
"keywords": [
|
|
|
|
|
"canvas",
|
|
|
|
|
"graphic",
|
|
|
|
|
"graphics",
|
|
|
|
|
"SVG",
|
|
|
|
|
"node-canvas",
|
|
|
|
|
"parser",
|
|
|
|
|
"HTML5",
|
|
|
|
|
"object model"
|
|
|
|
|
],
|
2017-12-31 08:51:07 +00:00
|
|
|
"browser": {
|
2016-11-21 11:09:25 +00:00
|
|
|
"canvas": false,
|
2017-12-31 08:51:07 +00:00
|
|
|
"fs": false,
|
|
|
|
|
"jsdom": false,
|
2017-12-20 17:37:52 +00:00
|
|
|
"jsdom/lib/jsdom/living/generated/utils": false,
|
|
|
|
|
"jsdom/lib/jsdom/utils": false,
|
2017-12-31 08:51:07 +00:00
|
|
|
"http": false,
|
|
|
|
|
"https": false,
|
|
|
|
|
"xmldom": false,
|
2017-10-31 12:05:10 +00:00
|
|
|
"url": false
|
2014-06-18 03:04:30 +00:00
|
|
|
},
|
2014-02-19 12:48:59 +00:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "https://github.com/kangax/fabric.js"
|
|
|
|
|
},
|
|
|
|
|
"bugs": {
|
|
|
|
|
"url": "https://github.com/kangax/fabric.js/issues"
|
|
|
|
|
},
|
2014-02-23 21:53:55 +00:00
|
|
|
"license": "MIT",
|
2011-08-16 19:57:07 +00:00
|
|
|
"scripts": {
|
2018-02-26 10:25:53 +00:00
|
|
|
"build": "node build.js modules=ALL requirejs exclude=gestures,accessors",
|
|
|
|
|
"build:fast": "node build.js modules=ALL requirejs fast exclude=gestures,accessors",
|
2017-06-07 12:07:38 +00:00
|
|
|
"build:watch": "onchange 'src/**/**' 'HEADER.js' 'lib/**/**' -- npm run build_export",
|
2018-04-27 22:36:17 +00:00
|
|
|
"build_with_gestures": "node build.js modules=ALL exclude=accessors",
|
2018-03-06 11:36:52 +00:00
|
|
|
"build_export": "npm run build:fast && npm run export_dist_to_site",
|
2015-04-23 09:47:23 +00:00
|
|
|
"test": "node test.js",
|
2016-09-10 13:14:23 +00:00
|
|
|
"lint": "eslint --config .eslintrc.json src",
|
|
|
|
|
"lint_tests": "eslint test/unit --config .eslintrc_tests",
|
2017-12-23 11:48:29 +00:00
|
|
|
"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/",
|
2015-04-23 09:47:23 +00:00
|
|
|
"export_tests_to_site": "cp test/unit/*.js ../fabricjs.com/test/unit",
|
2017-12-31 08:51:07 +00:00
|
|
|
"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",
|
|
|
|
|
"test:node": "./node_modules/qunit/bin/qunit test/node_test_setup.js test/lib test/unit",
|
|
|
|
|
"testem": "testem .",
|
|
|
|
|
"testem:ci": "testem ci"
|
2012-05-11 11:31:30 +00:00
|
|
|
},
|
2016-04-23 03:16:30 +00:00
|
|
|
"optionalDependencies": {
|
2017-06-07 12:07:38 +00:00
|
|
|
"canvas": "1.6.x",
|
2017-02-19 04:47:32 +00:00
|
|
|
"jsdom": "9.x.x",
|
2013-03-14 12:24:45 +00:00
|
|
|
"xmldom": "0.1.x"
|
2012-05-25 11:40:13 +00:00
|
|
|
},
|
2012-07-29 20:48:34 +00:00
|
|
|
"devDependencies": {
|
2018-03-12 13:47:48 +00:00
|
|
|
"eslint": "4.18.x",
|
2016-10-25 06:19:54 +00:00
|
|
|
"istanbul": "0.4.x",
|
2017-12-31 08:51:07 +00:00
|
|
|
"node-qunit": "^1.0.0",
|
|
|
|
|
"onchange": "^3.x.x",
|
|
|
|
|
"qunit": "^2.4.1",
|
|
|
|
|
"testem": "^1.18.4",
|
2018-03-12 13:47:48 +00:00
|
|
|
"uglify-js": "3.3.x"
|
2014-02-19 12:48:59 +00:00
|
|
|
},
|
|
|
|
|
"engines": {
|
2017-02-19 04:47:32 +00:00
|
|
|
"node": ">=4.0.0"
|
2012-07-29 20:48:34 +00:00
|
|
|
},
|
2013-12-14 11:10:42 +00:00
|
|
|
"main": "./dist/fabric.js"
|
2013-04-04 12:05:43 +00:00
|
|
|
}
|