{ "name": "scratch-paint", "version": "3.0.42", "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": "AGPL-3.0-only", "homepage": "https://github.com/scratchfoundation/scratch-paint#readme", "repository": { "type": "git", "url": "https://github.com/scratchfoundation/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 || ^2.0.0", "react-popover": "^0.5", "react-redux": "^5", "react-responsive": "^5", "react-style-proptype": "^3", "react-tooltip": "^4", "redux": "^3", "scratch-render-fonts": "^1.0.0" }, "devDependencies": { "@babel/cli": "7.26.4", "@babel/core": "7.26.0", "@babel/node": "7.26.0", "@babel/preset-env": "7.26.0", "@babel/preset-react": "7.26.3", "@commitlint/cli": "17.8.1", "@commitlint/config-conventional": "17.8.1", "autoprefixer": "9.8.8", "babel-eslint": "10.1.0", "babel-jest": "29.7.0", "babel-loader": "8.4.1", "babel-plugin-react-intl": "3.5.1", "babel-plugin-transform-object-rest-spread": "6.26.0", "canvas": "2.11.2", "css-loader": "3.6.0", "enzyme": "3.11.0", "enzyme-adapter-react-16": "1.15.8", "eslint": "8.57.1", "eslint-config-scratch": "9.0.9", "eslint-plugin-import": "2.31.0", "eslint-plugin-react": "7.37.2", "gh-pages": "3.2.3", "html-webpack-plugin": "3.2.0", "husky": "8.0.3", "jest": "27.5.1", "jest-junit": "13.2.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.14.0", "react-dom": "16.14.0", "react-intl": "2.9.0", "react-intl-redux": "2.4.1", "react-popover": "0.5.10", "react-redux": "5.1.2", "react-responsive": "5.0.0", "react-style-proptype": "3.2.2", "react-test-renderer": "16.14.0", "react-tooltip": "4.5.1", "redux": "3.7.2", "redux-mock-store": "1.5.5", "redux-throttle": "0.1.1", "regenerator-runtime": "0.13.9", "rimraf": "2.7.1", "scratch-l10n": "5.0.41", "scratch-render-fonts": "1.0.141", "scratch-semantic-release-config": "3.0.0", "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.3" }, "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" ] }