fabric.js/package.json

83 lines
3 KiB
JSON
Raw Permalink Normal View History

{
"name": "fabric",
"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/",
"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"
],
"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,
2017-10-31 12:05:10 +00:00
"url": false
},
2014-02-19 12:48:59 +00:00
"repository": {
"type": "git",
"url": "https://github.com/fabricjs/fabric.js"
2014-02-19 12:48:59 +00:00
},
"bugs": {
"url": "https://github.com/fabricjs/fabric.js/issues"
2014-02-19 12:48:59 +00:00
},
"license": "MIT",
"scripts": {
"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_with_gestures": "node build.js modules=ALL exclude=accessors",
"build_export": "npm run build:fast && npm run export_dist_to_site",
"test:single": "./node_modules/qunit/bin/qunit test/node_test_setup.js test/lib",
"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",
"test:visual:single": "./node_modules/qunit/bin/qunit test/node_test_setup.js test/lib",
"test:all": "npm run test && npm run test:visual",
"lint": "eslint --config .eslintrc.json src",
"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/",
"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",
"testem": "testem .",
"testem:visual": "testem --file testem-visual.json",
"testem:ci": "testem ci"
},
"optionalDependencies": {
"canvas": "^1.6.13",
"jsdom": "^9.12.0",
2013-03-14 12:24:45 +00:00
"xmldom": "0.1.x"
2012-05-25 11:40:13 +00:00
},
"devDependencies": {
2018-03-12 13:47:48 +00:00
"eslint": "4.18.x",
"istanbul": "0.4.x",
"onchange": "^3.x.x",
"qunit": "2.6.2",
"testem": "^1.18.4",
"uglify-js": "3.3.x",
"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"
},
"main": "./dist/fabric.js",
"dependencies": {}
2013-04-04 12:05:43 +00:00
}