File size: 4,305 Bytes
97420cf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
  "name": "scratch-paint",
  "version": "0.2.0",
  "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",
    "deploy": "touch playground/.nojekyll && gh-pages -t -d playground -m \"[skip ci] Build for $(git log --pretty=format:%H -n1)\"",
    "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 . --fix --ext .js,.jsx",
    "start": "webpack-dev-server",
    "test": "npm run unit && NODE_ENV=production npm run build",
    "unit": "jest --reporters=default",
    "watch": "webpack --progress --colors --watch"
  },
  "author": "Massachusetts Institute of Technology",
  "license": "GPL-3.0",
  "homepage": "https://github.com/LLK/scratch-paint#readme",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/LLK/scratch-paint.git"
  },
  "dependencies": {
    "@turbowarp/paper": "^0.12.202407262155",
    "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",
    "opentype.js": "^1.3.4"
  },
  "peerDependencies": {
    "react": "^16",
    "react-dom": "^16",
    "react-intl": "^2",
    "react-intl-redux": "^0.7",
    "react-popover": "^0.5",
    "react-redux": "^5",
    "react-responsive": "^4",
    "react-style-proptype": "^3",
    "react-tooltip": "^3",
    "redux": "^3",
    "scratch-render-fonts": "github:PenguinMod/penguinmod-render-fonts#master"
  },
  "devDependencies": {
    "autoprefixer": "9.7.4",
    "babel-cli": "6.26.0",
    "babel-core": "6.26.3",
    "babel-eslint": "8.2.6",
    "babel-jest": "23.6.0",
    "babel-loader": "7.1.5",
    "babel-plugin-react-intl": "3.0.1",
    "babel-plugin-transform-object-rest-spread": "6.26.0",
    "babel-preset-env": "1.7.0",
    "babel-preset-react": "6.24.1",
    "css-loader": "3.4.0",
    "enzyme": "3.11.0",
    "enzyme-adapter-react-16": "1.15.6",
    "eslint": "5.16.0",
    "eslint-config-import": "0.13.0",
    "eslint-config-scratch": "7.0.0",
    "eslint-plugin-import": "2.23.4",
    "eslint-plugin-react": "7.20.3",
    "gh-pages": "3.2.3",
    "html-webpack-plugin": "3.2.0",
    "jest": "22.4.4",
    "jest-canvas-mock": "2.3.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": "4.1.0",
    "react-style-proptype": "3.2.2",
    "react-test-renderer": "^16.0.0",
    "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.14.20220428031608",
    "scratch-render-fonts": "https://github.com/PenguinMod/penguinmod-render-fonts.git",
    "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"
  },
  "jest": {
    "setupFiles": [
      "raf/polyfill",
      "<rootDir>/test/helpers/enzyme-setup.js",
      "jest-canvas-mock"
    ],
    "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"
  ]
}