UNPKG

fabric-canvas

Version:
106 lines (105 loc) 3.2 kB
{ "name": "fabric-canvas", "version": "0.3.3", "description": "Web Component wrapper of fabric.js", "main": "src/fabric-canvas.js", "author": "Nii Yeboah", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/niiyeboah/fabric-canvas.git" }, "keywords": [ "canvas", "fabric.js", "fabric-canvas", "web-components", "web-component", "polymer" ], "scripts": { "test": "wct", "lint": "eslint src/*.js", "prestart": "polymer analyze src/*.js > analysis.json", "start": "polymer serve -o", "build:prod": "run-s build:api build:demo", "build:api": "npm run prestart && polymer build", "build:demo": "webpack", "prepare": "node util/fabric-esm-transform.js", "publish": "node util/publish.js" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "src/*.js": [ "eslint --fix", "prettier --write", "git add" ] }, "dependencies": { "@polymer/iron-resizable-behavior": "^3.0.1", "@polymer/polymer": "^3.0.0", "@vaadin/vaadin-lumo-styles": "^1.5.0", "@vaadin/vaadin-themable-mixin": "^1.5.1", "fabric": "3.4.0" }, "devDependencies": { "@babel/core": "^7.5.5", "@babel/plugin-proposal-class-properties": "^7.3.4", "@babel/preset-env": "^7.5.5", "@polymer/iron-component-page": "^4.0.1", "@polymer/iron-demo-helpers": "^3.0.0-pre.19", "@polymer/iron-icon": "^3.0.1", "@polymer/iron-icons": "^3.0.1", "@polymer/test-fixture": "^4.0.2", "@types/fabric": "^3.0.2", "@vaadin/vaadin-button": "^2.2.1", "@vaadin/vaadin-demo-helpers": "^3.0.0", "@webcomponents/webcomponentsjs": "^2.0.0", "babel-eslint": "^10.0.2", "babel-loader": "^8.0.6", "babel-plugin-template-html-minifier": "^3.1.0", "babel-plugin-transform-custom-element-classes": "^0.1.0", "babel-preset-minify": "^0.5.1", "brotli-webpack-plugin": "^1.1.0", "chai": "^4.2.0", "colors": "^1.3.3", "compression-webpack-plugin": "^3.0.0", "copy-webpack-plugin": "^5.0.4", "eslint": "^5.16.0", "eslint-config-prettier": "^6.0.0", "eslint-config-vaadin": "^0.2.7", "eslint-plugin-html": "^6.0.0", "html-replace-webpack-plugin": "^2.5.5", "html-webpack-plugin": "^3.2.0", "html-webpack-tags-plugin": "^2.0.15", "husky": "^2.3.0", "lint-staged": "^8.1.7", "mocha": "^5.2.0", "npm-run-all": "^4.1.5", "polymer-cli": "^1.9.10", "prettier": "^1.17.1", "prompt": "^1.0.0", "replace-in-file": "^4.1.2", "shelljs": "^0.8.3", "terser-webpack-plugin": "^1.4.1", "uglify-template-string-loader": "^1.1.1", "wct-mocha": "^1.0.0", "webpack": "^4.39.2", "webpack-babel-multi-target-plugin": "^2.3.0", "webpack-cli": "^3.3.7", "webpack-dev-server": "^3.8.0", "webpack-merge": "^4.2.1" }, "bugs": { "url": "https://github.com/niiyeboah/fabric-canvas/issues" }, "homepage": "https://github.com/niiyeboah/fabric-canvas#readme", "directories": { "test": "test" } }