{ "name": "scratch-paint", "version": "2.2.8", "description": "Graphical User Interface for the Scratch 3.0 paint editor, which is used to make and edit sprites for use in projects.", "main": "./dist/scratch-paint.js", "browser": "./src/index.js", "scripts": { "build": "npm run clean && webpack --progress --colors --bail", "clean": "rimraf ./dist && mkdirp dist && rimraf ./playground && mkdirp playground", "i18n:push": "tx-push-src scratch-editor paint-editor ./translations/en.json", "i18n:src": "rimraf ./translations/messages && babel src > tmp.js && rimraf tmp.js && ./scripts/build-i18n-source.js ./translations/messages/ ./translations/", "lint": "eslint . --ext .js,.jsx", "start": "webpack-dev-server", "test": "npm run unit", "unit": "jest --reporters=default", "watch": "webpack --progress --colors --watch" }, "author": "Massachusetts Institute of Technology", "license": "BSD-3-Clause", "homepage": "https://github.com/LLK/scratch-paint#readme", "repository": { "type": "git", "url": "https://github.com/LLK/scratch-paint.git" }, "dependencies": { "@scratch/paper": "^0.11.20221201200345", "classnames": "^2.2.5", "keymirror": "^0.1.1", "lodash.bindall": "^4.4.0", "lodash.omit": "^4.5.0", "minilog": "^3.1.0", "parse-color": "^1.0.0", "prop-types": "^15.5.10" }, "peerDependencies": { "react": "^16", "react-dom": "^16", "react-intl": "^2", "react-intl-redux": "^0.7", "react-popover": "^0.5", "react-redux": "^5", "react-responsive": "^5", "react-style-proptype": "^3", "react-tooltip": "^3", "redux": "^3", "scratch-render-fonts": "^1.0.0" }, "devDependencies": { "@babel/cli": "7.23.9", "@babel/core": "7.23.9", "@babel/node": "7.23.9", "@babel/preset-env": "7.23.9", "@babel/preset-react": "7.23.3", "@commitlint/cli": "17.8.1", "@commitlint/config-conventional": "17.8.1", "autoprefixer": "9.7.4", "babel-eslint": "10.1.0", "babel-jest": "29.7.0", "babel-loader": "8.3.0", "babel-plugin-react-intl": "3.0.1", "babel-plugin-transform-object-rest-spread": "6.26.0", "canvas": "2.11.2", "css-loader": "3.4.0", "enzyme": "3.11.0", "enzyme-adapter-react-16": "1.15.8", "eslint": "8.55.0", "eslint-config-scratch": "9.0.3", "eslint-plugin-import": "2.29.1", "eslint-plugin-react": "7.33.2", "gh-pages": "3.2.3", "html-webpack-plugin": "3.2.0", "husky": "8.0.3", "jest": "27.5.1", "jest-junit": "13.0.0", "json": "9.0.6", "lodash.defaultsdeep": "4.6.1", "mkdirp": "1.0.4", "postcss-import": "12.0.1", "postcss-loader": "3.0.0", "postcss-simple-vars": "5.0.2", "raf": "3.4.1", "react": "16.2.0", "react-dom": "16.4.0", "react-intl": "2.9.0", "react-intl-redux": "2.0.0", "react-popover": "0.5.10", "react-redux": "5.1.0", "react-responsive": "5.0.0", "react-style-proptype": "3.2.2", "react-test-renderer": "16.5.1", "react-tooltip": "3.8.4", "redux": "3.7.2", "redux-mock-store": "1.5.4", "redux-throttle": "0.1.1", "regenerator-runtime": "0.13.9", "rimraf": "2.7.1", "scratch-l10n": "3.18.10", "scratch-render-fonts": "1.0.2", "scratch-semantic-release-config": "1.0.11", "semantic-release": "19.0.5", "style-loader": "1.3.0", "svg-url-loader": "3.0.3", "tap": "14.11.0", "uglifyjs-webpack-plugin": "2.2.0", "url-loader": "2.3.0", "webpack": "4.47.0", "webpack-cli": "3.3.12", "webpack-dev-server": "3.11.2" }, "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "jest": { "setupFiles": [ "raf/polyfill", "/test/helpers/enzyme-setup.js" ], "testURL": "http://localhost", "moduleNameMapper": { "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "/test/__mocks__/fileMock.js", "\\.(css|less)$": "/test/__mocks__/styleMock.js" } }, "jest-junit": { "outputDirectory": "./test/results" }, "browserslist": [ "last 3 versions", "Safari >= 8", "iOS >= 8" ] }