2017-07-13 14:03:48 -04:00
|
|
|
{
|
2017-08-28 18:01:18 -04:00
|
|
|
"name": "scratch-paint",
|
2022-10-27 04:08:13 -04:00
|
|
|
"version": "1.1.31",
|
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",
|
2022-04-19 16:15:48 -04:00
|
|
|
"deploy": "touch playground/.nojekyll && gh-pages -t -d playground -m \"[skip ci] Build for $(git log --pretty=format:%H -n1)\"",
|
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",
|
2022-08-25 18:18:40 -04:00
|
|
|
"prepare": "husky install",
|
2017-10-17 13:59:02 -04:00
|
|
|
"start": "webpack-dev-server",
|
2017-10-13 13:33:04 -04:00
|
|
|
"test": "npm run lint && npm run unit && NODE_ENV=production npm run build",
|
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",
|
2017-07-13 15:06:10 -04:00
|
|
|
"homepage": "https://github.com/LLK/scratch-paint#readme",
|
2017-07-13 14:03:48 -04:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2022-08-25 18:31:31 -04:00
|
|
|
"url": "https://github.com/LLK/scratch-paint.git"
|
2017-07-13 14:03:48 -04:00
|
|
|
},
|
2018-04-30 17:31:42 -04:00
|
|
|
"dependencies": {
|
2020-07-28 16:40:50 -04:00
|
|
|
"@scratch/paper": "0.11.20200728195508",
|
2018-04-30 17:31:42 -04:00
|
|
|
"classnames": "2.2.5",
|
|
|
|
"keymirror": "0.1.1",
|
|
|
|
"lodash.bindall": "4.4.0",
|
2018-08-29 15:29:13 -04:00
|
|
|
"lodash.omit": "4.5.0",
|
2018-04-30 17:31:42 -04:00
|
|
|
"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",
|
|
|
|
"react-intl-redux": "^0.7",
|
|
|
|
"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",
|
|
|
|
"react-tooltip": "^3",
|
2021-04-07 16:23:10 -04:00
|
|
|
"redux": "^3",
|
|
|
|
"scratch-render-fonts": "^1.0.0-prerelease.20210401210003"
|
2017-07-13 14:03:48 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-08-25 17:53:06 -04:00
|
|
|
"@commitlint/cli": "17.0.3",
|
|
|
|
"@commitlint/config-conventional": "17.0.3",
|
2020-01-15 19:31:42 -05:00
|
|
|
"autoprefixer": "9.7.4",
|
2017-08-28 18:01:18 -04:00
|
|
|
"babel-cli": "6.26.0",
|
2021-07-23 16:37:36 -04:00
|
|
|
"babel-core": "6.26.3",
|
2022-08-25 17:09:34 -04:00
|
|
|
"babel-eslint": "10.1.0",
|
2021-07-23 16:18:15 -04:00
|
|
|
"babel-jest": "23.6.0",
|
2021-07-23 16:37:36 -04:00
|
|
|
"babel-loader": "7.1.5",
|
2018-10-10 15:31:35 -04:00
|
|
|
"babel-plugin-react-intl": "3.0.1",
|
2021-07-23 16:37:36 -04:00
|
|
|
"babel-plugin-transform-object-rest-spread": "6.26.0",
|
|
|
|
"babel-preset-env": "1.7.0",
|
|
|
|
"babel-preset-react": "6.24.1",
|
2019-12-17 10:39:11 -05:00
|
|
|
"css-loader": "3.4.0",
|
2021-07-23 16:37:40 -04:00
|
|
|
"enzyme": "3.11.0",
|
|
|
|
"enzyme-adapter-react-16": "1.15.6",
|
2022-08-25 17:09:34 -04:00
|
|
|
"eslint": "7.32.0",
|
2022-04-01 09:58:24 -04:00
|
|
|
"eslint-config-scratch": "7.0.0",
|
2022-08-25 14:14:05 -04:00
|
|
|
"eslint-plugin-import": "2.26.0",
|
2020-07-28 09:45:20 -04:00
|
|
|
"eslint-plugin-react": "7.20.3",
|
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",
|
2022-08-25 18:18:40 -04:00
|
|
|
"husky": "8.0.1",
|
2021-07-23 16:18:15 -04:00
|
|
|
"jest": "22.4.4",
|
2021-07-23 16:37:40 -04:00
|
|
|
"jest-canvas-mock": "2.3.1",
|
2022-03-29 17:13:04 -04:00
|
|
|
"jest-junit": "13.0.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",
|
2018-01-11 18:53:16 -05:00
|
|
|
"react": "16.2.0",
|
2019-08-06 12:16:28 -04:00
|
|
|
"react-dom": "16.4.0",
|
2020-06-03 17:09:37 -04:00
|
|
|
"react-intl": "2.9.0",
|
2018-08-06 15:15:02 -04:00
|
|
|
"react-intl-redux": "2.0.0",
|
2018-10-10 15:10:24 -04:00
|
|
|
"react-popover": "0.5.10",
|
2019-08-06 12:16:28 -04:00
|
|
|
"react-redux": "5.1.0",
|
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",
|
2022-08-25 17:09:34 -04:00
|
|
|
"react-test-renderer": "16.5.1",
|
2018-10-10 15:25:18 -04:00
|
|
|
"react-tooltip": "3.8.4",
|
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",
|
2022-10-27 04:06:03 -04:00
|
|
|
"scratch-l10n": "3.15.20221027032119",
|
2022-10-24 19:52:30 -04:00
|
|
|
"scratch-render-fonts": "1.0.0-prerelease.20221024190656",
|
2022-10-04 02:21:53 -04:00
|
|
|
"scratch-semantic-release-config": "1.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",
|
|
|
|
"webpack": "4.46.0",
|
|
|
|
"webpack-cli": "3.3.12",
|
|
|
|
"webpack-dev-server": "3.11.2"
|
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",
|
2020-04-29 16:04:15 -04:00
|
|
|
"<rootDir>/test/helpers/enzyme-setup.js",
|
|
|
|
"jest-canvas-mock"
|
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
|
|
|
}
|