mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 13:32:28 -05:00
134 lines
4.2 KiB
JSON
134 lines
4.2 KiB
JSON
{
|
|
"name": "scratch-paint",
|
|
"version": "2.1.25",
|
|
"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 lint && 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-prerelease.20210401210003"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.23.0",
|
|
"@babel/core": "^7.23.2",
|
|
"@babel/node": "^7.22.19",
|
|
"@babel/preset-env": "^7.23.2",
|
|
"@babel/preset-react": "^7.22.15",
|
|
"@commitlint/cli": "17.0.3",
|
|
"@commitlint/config-conventional": "17.0.3",
|
|
"autoprefixer": "9.7.4",
|
|
"babel-eslint": "10.1.0",
|
|
"babel-jest": "29.7.0",
|
|
"babel-loader": "8.2.5",
|
|
"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.6",
|
|
"eslint": "7.32.0",
|
|
"eslint-config-scratch": "7.0.0",
|
|
"eslint-plugin-import": "2.26.0",
|
|
"eslint-plugin-react": "7.20.3",
|
|
"gh-pages": "3.2.3",
|
|
"html-webpack-plugin": "3.2.0",
|
|
"husky": "8.0.1",
|
|
"jest": "^27.0.5",
|
|
"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.16.20231016032141",
|
|
"scratch-render-fonts": "1.0.0-prerelease.20221102164332",
|
|
"scratch-semantic-release-config": "1.0.8",
|
|
"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.46.0",
|
|
"webpack-cli": "3.3.12",
|
|
"webpack-dev-server": "3.11.2"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "cz-conventional-changelog"
|
|
}
|
|
},
|
|
"jest": {
|
|
"setupFiles": [
|
|
"raf/polyfill",
|
|
"<rootDir>/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)$": "<rootDir>/test/__mocks__/fileMock.js",
|
|
"\\.(css|less)$": "<rootDir>/test/__mocks__/styleMock.js"
|
|
}
|
|
},
|
|
"jest-junit": {
|
|
"outputDirectory": "./test/results"
|
|
},
|
|
"browserslist": [
|
|
"last 3 versions",
|
|
"Safari >= 8",
|
|
"iOS >= 8"
|
|
]
|
|
}
|