scratch-vm/package.json

114 lines
3.6 KiB
JSON

{
"name": "scratch-vm",
"version": "4.5.3",
"description": "Virtual Machine for Scratch 3.0",
"author": "Massachusetts Institute of Technology",
"license": "BSD-3-Clause",
"homepage": "https://github.com/scratchfoundation/scratch-vm#readme",
"repository": {
"type": "git",
"url": "https://github.com/scratchfoundation/scratch-vm.git",
"sha": "bb60f573c9d5299ba25f4a157ef6e83a6fa40aca"
},
"main": "./dist/node/scratch-vm.js",
"browser": "./dist/web/scratch-vm.js",
"exports": {
"webpack": "./src/index.js",
"browser": "./dist/web/scratch-vm.js",
"node": "./dist/node/scratch-vm.js",
"default": "./src/index.js"
},
"scripts": {
"build": "npm run docs && webpack --progress",
"coverage": "tap ./test/{unit,integration}/*.js --coverage --coverage-report=lcov",
"docs": "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 . && format-message lint src/**/*.js",
"prepare": "husky install",
"prepublish": "in-publish && npm run build || not-in-publish",
"start": "webpack serve",
"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 --watch",
"version": "json -f package.json -I -e \"this.repository.sha = '$(git log -n1 --pretty=format:%H)'\""
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"browserslist": [
"Chrome >= 63",
"Edge >= 15",
"Firefox >= 57",
"Safari >= 11"
],
"tap": {
"branches": 60,
"functions": 70,
"lines": 70,
"statements": 70
},
"dependencies": {
"@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.1",
"jszip": "^3.1.5",
"minilog": "^3.1.0",
"scratch-audio": "^1.0.6",
"scratch-parser": "^5.1.1",
"scratch-render": "^1.0.13",
"scratch-sb1-converter": "^1.0.0",
"scratch-storage": "^2.3.5",
"scratch-svg-renderer": "2.3.0",
"scratch-translate-extension-languages": "^1.0.0",
"text-encoding": "^0.7.0",
"uuid": "^8.3.2",
"web-worker": "^1.3.0"
},
"devDependencies": {
"@babel/core": "7.24.0",
"@babel/eslint-parser": "7.23.10",
"@babel/preset-env": "7.24.0",
"@commitlint/cli": "17.8.1",
"@commitlint/config-conventional": "17.8.1",
"adm-zip": "0.4.11",
"babel-loader": "9.1.3",
"callsite": "1.0.0",
"copy-webpack-plugin": "4.6.0",
"docdash": "1.2.0",
"eslint": "8.57.0",
"eslint-config-scratch": "9.0.8",
"expose-loader": "1.0.3",
"file-loader": "6.2.0",
"format-message-cli": "6.2.4",
"husky": "8.0.3",
"in-publish": "2.0.1",
"js-md5": "0.7.3",
"jsdoc": "3.6.11",
"json": "^9.0.4",
"pngjs": "3.4.0",
"scratch-blocks": "1.1.56",
"scratch-l10n": "3.18.74",
"scratch-render-fonts": "1.0.24",
"scratch-semantic-release-config": "1.0.14",
"scratch-webpack-configuration": "1.3.0",
"script-loader": "0.7.2",
"semantic-release": "19.0.5",
"stats.js": "0.17.0",
"tap": "16.3.10",
"webpack": "5.90.3",
"webpack-cli": "4.10.0",
"webpack-dev-server": "3.11.3"
}
}