-
Notifications
You must be signed in to change notification settings - Fork 278
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.96 KB
/
package.json
File metadata and controls
127 lines (127 loc) · 3.96 KB
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
{
"name": "scratch-paint",
"version": "4.2.2",
"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/web/scratch-paint.js",
"browser": "./src/index.js",
"exports": {
"webpack": "./src/index.js",
"browser": "./src/index.js",
"node": "./dist/web/scratch-paint.js",
"default": "./dist/web/scratch-paint.js"
},
"scripts": {
"build": "npm run clean && webpack --progress --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",
"start": "webpack serve",
"test": "npm run unit",
"unit": "jest --reporters=default",
"watch": "webpack --progress --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",
"@scratch/scratch-svg-renderer": "13.7.3",
"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": "^18",
"react-dom": "^18",
"react-intl": "^6",
"react-intl-redux": "^0.7 || ^2.0.0",
"react-popover": "^0.5",
"react-redux": "^8",
"react-responsive": "^9",
"react-style-proptype": "^3",
"react-tooltip": "^4",
"redux": "^4",
"scratch-render-fonts": "1.0.252"
},
"devDependencies": {
"@babel/cli": "7.28.6",
"@babel/core": "7.29.0",
"@babel/node": "7.29.0",
"@babel/preset-env": "7.29.5",
"@babel/preset-react": "7.28.5",
"@commitlint/cli": "17.8.1",
"@commitlint/config-conventional": "17.8.1",
"@testing-library/react": "8.0.9",
"autoprefixer": "9.8.8",
"babel-jest": "29.7.0",
"babel-loader": "9.2.1",
"babel-plugin-react-intl": "3.5.1",
"canvas": "3.2.3",
"css-loader": "5.2.7",
"eslint": "9.39.4",
"eslint-config-scratch": "12.0.51",
"gh-pages": "3.2.3",
"globals": "16.5.0",
"html-webpack-plugin": "5.6.7",
"husky": "8.0.3",
"jest": "27.5.1",
"jest-junit": "13.2.0",
"json": "9.0.6",
"mkdirp": "1.0.4",
"postcss-import": "12.0.1",
"postcss-loader": "4.3.0",
"postcss-simple-vars": "5.0.2",
"raf": "3.4.1",
"react-test-renderer": "18.3.1",
"redux-mock-store": "1.5.5",
"redux-throttle": "0.1.1",
"regenerator-runtime": "0.13.9",
"rimraf": "2.7.1",
"scratch-l10n": "6.1.82",
"scratch-semantic-release-config": "4.0.1",
"scratch-webpack-configuration": "3.1.2",
"semantic-release": "25.0.3",
"style-loader": "4.0.0",
"tap": "21.7.4",
"webpack": "5.106.2",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.2.4"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"jest": {
"setupFiles": [
"raf/polyfill"
],
"testEnvironment": "jsdom",
"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",
"^css-tree/utils$": "<rootDir>/node_modules/css-tree/cjs/utils/index.cjs"
},
"transformIgnorePatterns": [
"/node_modules/(?!intl-messageformat|intl-messageformat-parser).+\\.js$"
]
},
"jest-junit": {
"outputDirectory": "./test/results"
},
"browserslist": [
"last 3 versions",
"Safari >= 8",
"iOS >= 8"
]
}