Files
scratch-vm/package.json
T
Muffin e7332fc846 Mozilla Public License 2.0
The GPL family of licenses are not perfect. Notably they are incompatible with
the SIL OFL 1.1 used by the fonts in scratch-render-fonts. In the packager we
'statically link' all of this those fonts into one HTML file. Is that legal?
Seems like you can make an argument that it's not. Who knows. I'm not a lawyer.

MPL 2.0 is a good alternative: It's still copyleft, used by real projects,
backed by a real organization, and GPL compatible.

Before 9a4afe2864 all changes were either by me
or under BSD3c. The only third-party LGPL commit is b6c42081b0
which is trivial if any copyright dispute should arise. Thus we can make this
switch.

Related: https://github.com/TurboWarp/scratch-gui/pull/909
2024-03-15 21:25:37 -05:00

97 lines
3.2 KiB
JSON

{
"name": "scratch-vm",
"version": "2.1.46",
"description": "Virtual Machine for Scratch 3.0",
"author": "Massachusetts Institute of Technology",
"license": "MPL-2.0",
"homepage": "https://github.com/scratchfoundation/scratch-vm#readme",
"repository": {
"type": "git",
"url": "https://github.com/scratchfoundation/scratch-vm.git"
},
"main": "./src/index.js",
"browser": "./src/index.js",
"scripts": {
"build": "npm run docs && webpack --progress --colors --bail",
"coverage": "tap ./test/{unit,integration}/*.js --coverage --coverage-report=lcov",
"docs": "exit 0 || jsdoc -c .jsdoc.json",
"i18n:src": "mkdirp translations/core && format-message extract --out-file translations/core/en.json src/extensions/**/index.js",
"i18n:push": "tx-push-src scratch-editor extensions translations/core/en.json",
"lint": "eslint .",
"prepublish": "in-publish && npm run build || not-in-publish",
"start": "webpack-dev-server",
"tap": "tap ./test/{unit,integration}/*.js",
"tap:unit": "tap ./test/unit/*.js",
"tap:integration": "tap ./test/integration/*.js",
"test": "npm run lint && npm run tap",
"watch": "webpack --progress --colors --watch",
"version": "json -f package.json -I -e \"this.repository.sha = '$(git log -n1 --pretty=format:%H)'\""
},
"tap": {
"branches": 60,
"functions": 70,
"lines": 70,
"statements": 70
},
"dependencies": {
"@turbowarp/json": "^0.1.2",
"@turbowarp/nanolog": "^0.2.0",
"@vernier/godirect": "1.5.0",
"arraybuffer-loader": "^1.0.6",
"atob": "2.1.2",
"btoa": "1.2.1",
"canvas-toBlob": "1.0.0",
"decode-html": "2.0.0",
"diff-match-patch": "1.0.4",
"format-message": "6.2.1",
"htmlparser2": "3.10.0",
"immutable": "3.8.2",
"jszip": "^3.1.5",
"scratch-parser": "github:TurboWarp/scratch-parser#master",
"scratch-sb1-converter": "0.2.7",
"scratch-translate-extension-languages": "0.0.20191118205314",
"text-encoding": "0.7.0",
"uuid": "8.3.2",
"worker-loader": "^1.1.1"
},
"peerDependencies": {
"@turbowarp/scratch-svg-renderer": "^1.0.0-202312300007-62fe825"
},
"devDependencies": {
"@babel/core": "7.13.10",
"@babel/preset-env": "7.14.8",
"adm-zip": "0.4.11",
"babel-eslint": "10.1.0",
"babel-loader": "8.2.2",
"callsite": "1.0.0",
"copy-webpack-plugin": "4.5.4",
"docdash": "1.2.0",
"eslint": "8.55.0",
"eslint-config-scratch": "9.0.3",
"expose-loader": "0.7.5",
"file-loader": "2.0.0",
"format-message-cli": "6.2.0",
"in-publish": "2.0.1",
"js-md5": "0.7.3",
"jsdoc": "3.6.6",
"json": "^9.0.4",
"lodash.defaultsdeep": "4.6.1",
"pngjs": "3.3.3",
"scratch-audio": "0.1.0-prerelease.20231221012053",
"scratch-blocks": "0.1.0-prerelease.20230527085947",
"scratch-l10n": "3.16.20231222031921",
"scratch-render": "0.1.0-prerelease.20231220210403",
"scratch-render-fonts": "1.0.0-prerelease.20231017225105",
"scratch-storage": "2.3.1",
"script-loader": "0.7.2",
"stats.js": "0.17.0",
"tap": "16.2.0",
"tiny-worker": "2.3.0",
"uglifyjs-webpack-plugin": "1.2.7",
"webpack": "4.47.0",
"webpack-cli": "3.1.0",
"webpack-dev-server": "3.11.2"
},
"private": true
}