UNPKG

react-sketch

Version:

Sketch Element for React based applications, backed-up by fabricjs as its core

139 lines (138 loc) 4.14 kB
{ "name": "react-sketch", "version": "0.5.1", "description": "Sketch Element for React based applications, backed-up by fabricjs as its core", "keywords": [ "react", "canvas", "sketch", "fabricjs", "fabric.js" ], "author": { "name": "Thomas Bolis", "email": "thomas.bolis@gmail.com" }, "repository": { "type": "git", "url": "https://github.com/tbolis/react-sketch.git" }, "bugs": { "url": "https://github.com/tbolis/react-sketch/issues" }, "license": "MIT", "main": "./dist", "scripts": { "build": "cross-env NODE_ENV=production webpack --mode production --config webpack/library.cfg.js --display-modules", "build:light": "babel ./src --out-dir ./dist", "build:examples": "cross-env NODE_ENV=production webpack --mode production --config webpack/examples.cfg.js", "clean": "rimraf dist build", "lint": "eslint ./src", "lint:fix": "eslint --fix ./src", "precommit": "lint-staged", "prepublish": "npm run test && npm run build", "prebuild": "rimraf dist", "start": "node webpack/server.js", "start:debug": "weinre --boundHost `my-local-ip` ", "test": "jest --coverage" }, "engines": { "node": ">= 8" }, "lint-staged": { "*.{js,jsx,css,md}": [ "eslint --fix", "git add" ] }, "jest": { "automock": false, "testEnvironment": "jest-environment-jsdom", "moduleNameMapper": { "\\.(css|scss)$": "identity-obj-proxy" }, "transform": { "^.+\\.(js|jsx)$": "babel-jest" }, "testRegex": "./test/.*.jsx?$", "setupTestFrameworkScriptFile": "<rootDir>/jest.setup.js", "moduleFileExtensions": [ "js", "json", "jsx" ] }, "resolutions": { "babel-core": "7.0.0-bridge.0" }, "devDependencies": { "@babel/cli": "^7.1.5", "@babel/core": "7.1.5", "@babel/plugin-proposal-class-properties": "7.1.0", "@babel/plugin-proposal-decorators": "7.1.2", "@babel/plugin-proposal-export-namespace-from": "7.0.0", "@babel/plugin-proposal-function-sent": "7.1.0", "@babel/plugin-proposal-json-strings": "7.0.0", "@babel/plugin-proposal-numeric-separator": "7.0.0", "@babel/plugin-proposal-throw-expressions": "7.0.0", "@babel/plugin-syntax-dynamic-import": "7.0.0", "@babel/plugin-syntax-import-meta": "7.0.0", "@babel/plugin-transform-runtime": "7.1.0", "@babel/polyfill": "7.0.0", "@babel/preset-env": "7.1.5", "@babel/preset-react": "7.0.0", "@babel/register": "7.0.0", "@babel/runtime": "7.1.5", "@material-ui/core": "^3.4.0", "@material-ui/icons": "^3.0.1", "@material-ui/lab": "^3.0.0-alpha.23", "babel-core": "7.0.0-beta.3", "babel-eslint": "10.0.1", "babel-jest": "23.6.0", "babel-loader": "8.0.4", "babel-plugin-lodash": "3.3.4", "canvas": "^1.6.12", "cross-env": "^5.2.0", "css-loader": "^1.0.1", "enzyme": "3.7.0", "enzyme-adapter-react-16": "1.7.0", "eslint": "5.8.0", "eslint-config-airbnb": "17.1.0", "eslint-loader": "2.1.1", "eslint-plugin-import": "2.14.0", "eslint-plugin-jest": "22.0.0", "eslint-plugin-jsx-a11y": "6.1.2", "eslint-plugin-react": "7.11.1", "eslint-watch": "4.0.2", "fabric": "2.4.3", "flexboxgrid": "^6.3.1", "html-webpack-plugin": "^3.2.0", "jasmine-core": "^3.3.0", "jest": "23.6.0", "jest-environment-jsdom": "^23.4.0", "jest-enzyme": "7.0.1", "jsdom": "^13.0.0", "lint-staged": "8.0.4", "my-local-ip": "^1.0.0", "open": "0.0.5", "open-browser-webpack-plugin": "0.0.5", "postcss-loader": "^3.0.0", "react-color": "^2.14.1", "react-dropzone": "7.0.1", "react-hot-loader": "^4.3", "react-test-renderer": "^16.6.1", "react-transform-hmr": "^1.0.4", "rimraf": "^2.6.2", "style-loader": "^0.23.1", "uglifyjs-webpack-plugin": "^2.0.1", "webpack": "^4.25.1", "webpack-cli": "^3.1.2", "webpack-dev-server": "^3.1.10", "weinre": "^2.0.0-pre-I0Z7U9OV" }, "dependencies": { "prop-types": "^15.6.2", "react": "^16.6.1", "react-dom": "^16.6.1" } }