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/" ,
2019-01-13 15:40:03 +00:00
"version" : "2.6.0" ,
2019-01-07 01:27:37 +00:00
"authors" : "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" ,
2018-08-20 08:36:11 +00:00
"url" : "https://github.com/fabricjs/fabric.js"
2014-02-19 12:48:59 +00:00
} ,
"bugs" : {
2018-08-20 08:36:11 +00:00
"url" : "https://github.com/fabricjs/fabric.js/issues"
2014-02-19 12:48:59 +00:00
} ,
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" ,
2018-08-12 00:33:41 +00:00
"test:single" : "./node_modules/qunit/bin/qunit test/node_test_setup.js test/lib" ,
2018-06-26 10:52:25 +00:00
"test" : "istanbul cover ./node_modules/qunit/bin/qunit test/node_test_setup.js test/lib test/unit" ,
"test:visual" : "./node_modules/qunit/bin/qunit test/node_test_setup.js test/lib test/visual" ,
2018-09-15 23:59:36 +00:00
"test:visual:single" : "./node_modules/qunit/bin/qunit test/node_test_setup.js test/lib" ,
2018-06-26 09:41:03 +00:00
"test:all" : "npm run test && npm run test:visual" ,
2016-09-10 13:14:23 +00:00
"lint" : "eslint --config .eslintrc.json src" ,
2018-09-15 23:59:36 +00:00
"lint_tests" : "eslint test/unit --config .eslintrc_tests && eslint test/visual --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/" ,
2018-09-16 14:39:54 +00:00
"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" ,
2018-08-20 06:24:46 +00:00
"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" ,
2017-12-31 08:51:07 +00:00
"testem" : "testem ." ,
2018-06-28 10:31:26 +00:00
"testem:visual" : "testem --file testem-visual.json" ,
2017-12-31 08:51:07 +00:00
"testem:ci" : "testem ci"
2012-05-11 11:31:30 +00:00
} ,
2016-04-23 03:16:30 +00:00
"optionalDependencies" : {
2019-01-07 01:10:28 +00:00
"canvas" : "^1.6.13" ,
2018-09-15 23:59:36 +00:00
"jsdom" : "^9.12.0" ,
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
"onchange" : "^3.x.x" ,
2019-01-13 00:27:59 +00:00
"qunit" : "2.6.2" ,
2017-12-31 08:51:07 +00:00
"testem" : "^1.18.4" ,
2018-06-26 09:41:03 +00:00
"uglify-js" : "3.3.x" ,
2018-09-15 23:59:36 +00:00
"pixelmatch" : "^4.0.2" ,
"chalk" : "^2.4.1"
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
} ,
2018-11-17 14:48:18 +00:00
"main" : "./dist/fabric.js" ,
"dependencies" : { }
2013-04-04 12:05:43 +00:00
}