2017-07-13 14:03:48 -04:00
|
|
|
{
|
2017-08-28 18:01:18 -04:00
|
|
|
"name": "scratch-paint",
|
2024-10-08 15:15:46 -04:00
|
|
|
"version": "2.2.438",
|
2017-07-13 15:06:10 -04:00
|
|
|
"description": "Graphical User Interface for the Scratch 3.0 paint editor, which is used to make and edit sprites for use in projects.",
|
2017-07-14 11:29:12 -04:00
|
|
|
"main": "./dist/scratch-paint.js",
|
2018-04-30 17:31:42 -04:00
|
|
|
"browser": "./src/index.js",
|
2017-07-13 14:03:48 -04:00
|
|
|
"scripts": {
|
2017-10-17 13:59:02 -04:00
|
|
|
"build": "npm run clean && webpack --progress --colors --bail",
|
2017-07-14 11:29:12 -04:00
|
|
|
"clean": "rimraf ./dist && mkdirp dist && rimraf ./playground && mkdirp playground",
|
2018-11-30 08:57:01 -05:00
|
|
|
"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/",
|
2017-07-13 14:03:48 -04:00
|
|
|
"lint": "eslint . --ext .js,.jsx",
|
2017-10-17 13:59:02 -04:00
|
|
|
"start": "webpack-dev-server",
|
2023-10-17 14:55:16 -04:00
|
|
|
"test": "npm run unit",
|
2022-03-29 17:13:04 -04:00
|
|
|
"unit": "jest --reporters=default",
|
2017-07-13 14:03:48 -04:00
|
|
|
"watch": "webpack --progress --colors --watch"
|
|
|
|
},
|
|
|
|
"author": "Massachusetts Institute of Technology",
|
|
|
|
"license": "BSD-3-Clause",
|
2024-02-23 16:30:08 -05:00
|
|
|
"homepage": "https://github.com/scratchfoundation/scratch-paint#readme",
|
2017-07-13 14:03:48 -04:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2024-02-23 16:30:08 -05:00
|
|
|
"url": "https://github.com/scratchfoundation/scratch-paint.git"
|
2017-07-13 14:03:48 -04:00
|
|
|
},
|
2018-04-30 17:31:42 -04:00
|
|
|
"dependencies": {
|
2024-02-15 19:22:41 -05:00
|
|
|
"@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",
|
2021-04-07 16:23:10 -04:00
|
|
|
"prop-types": "^15.5.10"
|
2018-04-30 17:31:42 -04:00
|
|
|
},
|
2017-07-13 14:03:48 -04:00
|
|
|
"peerDependencies": {
|
2017-10-13 13:27:49 -04:00
|
|
|
"react": "^16",
|
2018-04-30 17:31:42 -04:00
|
|
|
"react-dom": "^16",
|
|
|
|
"react-intl": "^2",
|
2024-03-12 13:36:30 -04:00
|
|
|
"react-intl-redux": "^0.7 || ^2.0.0",
|
2018-04-30 17:31:42 -04:00
|
|
|
"react-popover": "^0.5",
|
|
|
|
"react-redux": "^5",
|
2022-09-19 12:53:01 -04:00
|
|
|
"react-responsive": "^5",
|
2018-04-30 17:31:42 -04:00
|
|
|
"react-style-proptype": "^3",
|
2024-04-24 17:57:48 -04:00
|
|
|
"react-tooltip": "^4",
|
2021-04-07 16:23:10 -04:00
|
|
|
"redux": "^3",
|
2024-02-21 16:46:55 -05:00
|
|
|
"scratch-render-fonts": "^1.0.0"
|
2017-07-13 14:03:48 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-10-05 14:18:15 -04:00
|
|
|
"@babel/cli": "7.25.7",
|
|
|
|
"@babel/core": "7.25.7",
|
|
|
|
"@babel/node": "7.25.7",
|
|
|
|
"@babel/preset-env": "7.25.7",
|
|
|
|
"@babel/preset-react": "7.25.7",
|
2024-02-21 08:59:11 -05:00
|
|
|
"@commitlint/cli": "17.8.1",
|
|
|
|
"@commitlint/config-conventional": "17.8.1",
|
2024-02-27 01:31:21 -05:00
|
|
|
"autoprefixer": "9.8.8",
|
2022-08-25 17:09:34 -04:00
|
|
|
"babel-eslint": "10.1.0",
|
2023-10-17 10:19:45 -04:00
|
|
|
"babel-jest": "29.7.0",
|
2024-09-19 19:18:27 -04:00
|
|
|
"babel-loader": "8.4.1",
|
2024-02-27 04:55:52 -05:00
|
|
|
"babel-plugin-react-intl": "3.5.1",
|
2021-07-23 16:37:36 -04:00
|
|
|
"babel-plugin-transform-object-rest-spread": "6.26.0",
|
2024-02-15 19:24:49 -05:00
|
|
|
"canvas": "2.11.2",
|
2024-02-27 14:15:58 -05:00
|
|
|
"css-loader": "3.6.0",
|
2021-07-23 16:37:40 -04:00
|
|
|
"enzyme": "3.11.0",
|
2024-02-20 22:48:58 -05:00
|
|
|
"enzyme-adapter-react-16": "1.15.8",
|
2024-09-19 14:08:41 -04:00
|
|
|
"eslint": "8.57.1",
|
2024-09-11 14:01:17 -04:00
|
|
|
"eslint-config-scratch": "9.0.9",
|
2024-10-06 12:09:11 -04:00
|
|
|
"eslint-plugin-import": "2.31.0",
|
2024-10-04 14:02:44 -04:00
|
|
|
"eslint-plugin-react": "7.37.1",
|
2022-04-29 08:07:47 -04:00
|
|
|
"gh-pages": "3.2.3",
|
2018-05-08 13:03:44 -04:00
|
|
|
"html-webpack-plugin": "3.2.0",
|
2024-02-21 05:46:55 -05:00
|
|
|
"husky": "8.0.3",
|
2024-02-15 19:24:49 -05:00
|
|
|
"jest": "27.5.1",
|
2024-02-27 21:04:57 -05:00
|
|
|
"jest-junit": "13.2.0",
|
2021-07-23 16:14:11 -04:00
|
|
|
"json": "9.0.6",
|
2019-07-09 20:44:22 -04:00
|
|
|
"lodash.defaultsdeep": "4.6.1",
|
2021-07-23 16:37:40 -04:00
|
|
|
"mkdirp": "1.0.4",
|
|
|
|
"postcss-import": "12.0.1",
|
|
|
|
"postcss-loader": "3.0.0",
|
|
|
|
"postcss-simple-vars": "5.0.2",
|
|
|
|
"raf": "3.4.1",
|
2024-02-28 05:26:34 -05:00
|
|
|
"react": "16.14.0",
|
|
|
|
"react-dom": "16.14.0",
|
2020-06-03 17:09:37 -04:00
|
|
|
"react-intl": "2.9.0",
|
2024-03-12 13:36:30 -04:00
|
|
|
"react-intl-redux": "2.4.1",
|
2018-10-10 15:10:24 -04:00
|
|
|
"react-popover": "0.5.10",
|
2024-02-26 15:12:14 -05:00
|
|
|
"react-redux": "5.1.2",
|
2022-09-19 12:53:01 -04:00
|
|
|
"react-responsive": "5.0.0",
|
2018-10-10 15:18:33 -04:00
|
|
|
"react-style-proptype": "3.2.2",
|
2024-02-28 05:26:34 -05:00
|
|
|
"react-test-renderer": "16.14.0",
|
2024-04-24 17:57:48 -04:00
|
|
|
"react-tooltip": "4.5.1",
|
2018-02-09 16:04:45 -05:00
|
|
|
"redux": "3.7.2",
|
2021-07-23 16:37:40 -04:00
|
|
|
"redux-mock-store": "1.5.4",
|
2017-07-13 14:03:48 -04:00
|
|
|
"redux-throttle": "0.1.1",
|
2021-07-23 16:37:40 -04:00
|
|
|
"regenerator-runtime": "0.13.9",
|
|
|
|
"rimraf": "2.7.1",
|
2024-10-09 05:13:46 -04:00
|
|
|
"scratch-l10n": "3.18.335",
|
2024-10-08 15:14:17 -04:00
|
|
|
"scratch-render-fonts": "1.0.110",
|
2024-09-11 12:33:38 -04:00
|
|
|
"scratch-semantic-release-config": "1.0.16",
|
2023-01-09 13:20:14 -05:00
|
|
|
"semantic-release": "19.0.5",
|
2021-07-23 16:37:40 -04:00
|
|
|
"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",
|
2024-02-21 14:51:48 -05:00
|
|
|
"webpack": "4.47.0",
|
2021-07-23 16:37:40 -04:00
|
|
|
"webpack-cli": "3.3.12",
|
2024-02-26 22:16:36 -05:00
|
|
|
"webpack-dev-server": "3.11.3"
|
2017-07-26 20:39:12 -04:00
|
|
|
},
|
2022-08-25 18:21:17 -04:00
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
|
|
|
"path": "cz-conventional-changelog"
|
|
|
|
}
|
|
|
|
},
|
2017-07-26 20:39:12 -04:00
|
|
|
"jest": {
|
2017-10-13 13:27:49 -04:00
|
|
|
"setupFiles": [
|
|
|
|
"raf/polyfill",
|
2023-10-17 10:19:45 -04:00
|
|
|
"<rootDir>/test/helpers/enzyme-setup.js"
|
2017-10-13 13:27:49 -04:00
|
|
|
],
|
2018-12-10 15:56:37 -05:00
|
|
|
"testURL": "http://localhost",
|
2017-07-26 20:39:12 -04:00
|
|
|
"moduleNameMapper": {
|
|
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/__mocks__/fileMock.js",
|
|
|
|
"\\.(css|less)$": "<rootDir>/test/__mocks__/styleMock.js"
|
|
|
|
}
|
2022-03-08 17:17:15 -05:00
|
|
|
},
|
2022-03-29 17:13:04 -04:00
|
|
|
"jest-junit": {
|
|
|
|
"outputDirectory": "./test/results"
|
|
|
|
},
|
2022-03-08 17:17:15 -05:00
|
|
|
"browserslist": [
|
|
|
|
"last 3 versions",
|
|
|
|
"Safari >= 8",
|
|
|
|
"iOS >= 8"
|
|
|
|
]
|
2017-07-13 14:03:48 -04:00
|
|
|
}
|