commit 876f185f53a7414d79eefd5ef7e7b5c3f6344a21 Author: Christopher Willis-Ford <cwillisf@media.mit.edu> Date: Thu Sep 6 11:20:27 2018 -0700 Initial commit diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e84613d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_size = 4 +trim_trailing_whitespace = true + +[*.{js,html}] +indent_style = space diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..8d87b1d --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +node_modules/* diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..36ff570 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,3 @@ +module.exports = { + extends: ['scratch', 'scratch/node'] +}; diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..3bf2d7d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,30 @@ +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +# Explicitly specify line endings for as many files as possible. +# People who (for example) rsync between Windows and Linux need this. + +# File types which we know are binary + +# Prefer LF for most file types +*.htm text eol=lf +*.html text eol=lf +*.js text eol=lf +*.js.map text eol=lf +*.json text eol=lf +*.jsx text eol=lf +*.md text eol=lf +*.xml text eol=lf +*.yml text eol=lf + +# Prefer LF for these files +.editorconfig text eol=lf +.eslintignore text eol=lf +.gitattributes text eol=lf +.gitignore text eol=lf +.npmignore text eol=lf +LICENSE text eol=lf +Makefile text eol=lf +TRADEMARK text eol=lf + +# Use CRLF for Windows-specific file types diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..60ed7e8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +# Mac OS +.DS_Store + +# NPM +/node_modules +npm-* + +# Testing +/.nyc_output +/coverage + +# Build +/build +/dist +/.opt-in diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..7af6ee9 --- /dev/null +++ b/.npmignore @@ -0,0 +1,13 @@ +# Mac OS +.DS_Store + +# NPM +/node_modules +npm-* + +# Testing +/.nyc_output +/coverage + +# Build +/.opt-in diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..6d00c99 --- /dev/null +++ b/LICENSE @@ -0,0 +1,12 @@ +Copyright (c) 2016, Massachusetts Institute of Technology +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/TRADEMARK b/TRADEMARK new file mode 100644 index 0000000..17b5d4c --- /dev/null +++ b/TRADEMARK @@ -0,0 +1 @@ +The Scratch trademarks, including the Scratch name, logo, the Scratch Cat, Gobo, Pico, Nano, Tera and Giga graphics (the "Marks"), are property of the Massachusetts Institute of Technology (MIT). Marks may not be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..c818a95 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,14 @@ +{ + "name": "scratch-desktop", + "version": "0.1.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "scratch-gui": { + "version": "0.1.0-prerelease.20180906152311", + "resolved": "https://registry.npmjs.org/scratch-gui/-/scratch-gui-0.1.0-prerelease.20180906152311.tgz", + "integrity": "sha512-itgW6x8YkCktntaVpVtF92WHQ/1sXtrX/lWiuFMnfhZcrsn3tYzCmeHco5pHKTFlgdFvrQYCDb8bJ9aeINobMg==", + "dev": true + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..d27107b --- /dev/null +++ b/package.json @@ -0,0 +1,14 @@ +{ + "name": "scratch-desktop", + "version": "0.1.0", + "description": "Scratch 3.0 as a self-contained desktop application", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "Massachusetts Institute of Technology", + "license": "BSD-3-Clause", + "devDependencies": { + "scratch-gui": "0.1.0-prerelease.20180906152311" + } +}