@scratch/scratch-gui 11.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.babelrc ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "plugins": [
3
+ "@babel/plugin-syntax-dynamic-import",
4
+ "@babel/plugin-transform-async-to-generator",
5
+ "@babel/plugin-proposal-object-rest-spread",
6
+ ["react-intl", {
7
+ "messagesDir": "./translations/messages/"
8
+ }]],
9
+ "presets": [
10
+ "@babel/preset-env",
11
+ "@babel/preset-react"
12
+ ]
13
+ }
@@ -0,0 +1,7 @@
1
+ # See https://scratch.mit.edu/faq
2
+ Chrome >= 63
3
+ Edge >= 15
4
+ Firefox >= 57
5
+ Safari >= 11
6
+ Android >= 63
7
+ iOS >= 11
package/.editorconfig ADDED
@@ -0,0 +1,11 @@
1
+ root = true
2
+
3
+ [*]
4
+ end_of_line = lf
5
+ insert_final_newline = true
6
+ charset = utf-8
7
+ indent_size = 4
8
+ trim_trailing_whitespace = true
9
+
10
+ [*.{js,html}]
11
+ indent_style = space
package/.eslintignore ADDED
@@ -0,0 +1,5 @@
1
+ /node_modules/
2
+ /build/
3
+ /dist/
4
+ /test/
5
+ /src/examples/
package/.eslintrc.js ADDED
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ root: true,
3
+ extends: ['scratch', 'scratch/node', 'scratch/es6']
4
+ };
package/.gitattributes ADDED
@@ -0,0 +1,43 @@
1
+ # Set the default behavior, in case people don't have core.autocrlf set.
2
+ * text=auto
3
+
4
+ # Explicitly specify line endings for as many files as possible.
5
+ # People who (for example) rsync between Windows and Linux need this.
6
+
7
+ # File types which we know are binary
8
+
9
+ # Treat SVG files as binary so that their contents don't change due to line
10
+ # endings. The contents of SVGs must not change from the way they're stored
11
+ # on assets.scratch.mit.edu so that MD5 calculations don't change.
12
+ *.svg binary
13
+
14
+ # Prefer LF for most file types
15
+ *.css text eol=lf
16
+ *.frag text eol=lf
17
+ *.htm text eol=lf
18
+ *.html text eol=lf
19
+ *.iml text eol=lf
20
+ *.js text eol=lf
21
+ *.ts text eol=lf
22
+ *.js.map text eol=lf
23
+ *.json text eol=lf
24
+ *.json5 text eol=lf
25
+ *.jsx text eol=lf
26
+ *.tsx text eol=lf
27
+ *.md text eol=lf
28
+ *.vert text eol=lf
29
+ *.xml text eol=lf
30
+ *.yml text eol=lf
31
+
32
+ # Prefer LF for these files
33
+ .editorconfig text eol=lf
34
+ .eslintrc text eol=lf
35
+ .gitattributes text eol=lf
36
+ .gitignore text eol=lf
37
+ .gitmodules text eol=lf
38
+ LICENSE text eol=lf
39
+ Makefile text eol=lf
40
+ README text eol=lf
41
+ TRADEMARK text eol=lf
42
+
43
+ # Use CRLF for Windows-specific file types
package/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ v20
package/.tx/config ADDED
@@ -0,0 +1,8 @@
1
+ [main]
2
+ host = https://www.transifex.com
3
+
4
+ [scratch-editor.interface]
5
+ file_filter = translations/<lang>.json
6
+ source_file = translations/en.json
7
+ source_lang = en
8
+ type = CHROME