UNPKG

scratch-l10n

Version:
99 lines (98 loc) 4.15 kB
{ "name": "scratch-l10n", "version": "6.1.73", "description": "Localization for the Scratch 3.0 components", "main": "./dist/l10n.js", "browser": "./src/index.mjs", "bin": { "build-i18n-src": "./scripts/build-i18n-src.mts", "tx-push-src": "./scripts/tx-push-src.mts" }, "scripts": { "build": "npm run clean && npm run build:data && webpack --progress --colors --bail", "build:data": "./scripts/build-data.mts", "clean": "rimraf ./dist ./locales && mkdirp dist locales", "format": "prettier --write . && eslint --fix", "lint": "npm run lint:js && npm run lint:json", "lint:js": "eslint && prettier --check .", "lint:json": "jshint -e .json www editor/blocks editor/extensions editor/interface editor/paint-editor", "prepare": "husky install", "pull:blocks": "./scripts/tx-pull-editor.mts scratch-editor blocks ./editor/blocks/", "pull:editor": "npm run pull:blocks && npm run pull:extensions && npm run pull:paint && npm run pull:interface", "pull:extensions": "./scripts/tx-pull-editor.mts scratch-editor extensions ./editor/extensions/", "pull:help": "npm run pull:help:names && npm run pull:help:articles", "pull:help:articles": "./scripts/tx-pull-help-articles.mts", "pull:help:names": "./scripts/tx-pull-help-names.mts", "pull:interface": "./scripts/tx-pull-editor.mts scratch-editor interface ./editor/interface/", "pull:paint": "./scripts/tx-pull-editor.mts scratch-editor paint-editor ./editor/paint-editor/", "pull:www": "./scripts/tx-pull-www.mts ./www", "push:help": "./scripts/tx-push-help.mts", "sync:help": "npm run push:help && npm run pull:help", "test": "npm run lint:js && npm run validate:editor && npm run validate:www && npm run build && npm run lint:json", "update": "scripts/update-translations.sh", "validate:blocks": "./scripts/validate-translations.mts ./editor/blocks/", "validate:editor": "npm run validate:blocks && npm run validate:extensions && npm run validate:interface && npm run validate:paint", "validate:extensions": "./scripts/validate-translations.mts ./editor/extensions/ && ./scripts/validate-extension-inputs.mts", "validate:interface": "./scripts/validate-translations.mts ./editor/interface/", "validate:paint": "./scripts/validate-translations.mts ./editor/paint-editor/", "validate:www": "./scripts/validate-www.mts ./www" }, "repository": { "type": "git", "url": "git+https://github.com/scratchfoundation/scratch-l10n.git" }, "author": "Massachusetts Institute of Technology", "license": "AGPL-3.0-only", "bugs": { "url": "https://github.com/scratchfoundation/scratch-l10n/issues" }, "homepage": "https://github.com/scratchfoundation/scratch-l10n#readme", "dependencies": { "@transifex/api": "7.1.6", "async": "3.2.6", "format-message-parse": "6.2.4", "glob": "7.2.3", "lodash.defaultsdeep": "4.6.1", "mkdirp": "3.0.1", "transifex": "1.6.6", "tsx": "4.21.0" }, "devDependencies": { "@babel/cli": "7.28.6", "@babel/core": "7.29.0", "@babel/node": "7.29.0", "@babel/plugin-proposal-object-rest-spread": "7.20.7", "@babel/plugin-syntax-dynamic-import": "7.8.3", "@babel/plugin-transform-async-to-generator": "7.28.6", "@babel/preset-env": "7.29.2", "@babel/preset-react": "7.28.5", "@commitlint/cli": "18.6.1", "@commitlint/config-conventional": "18.6.3", "@types/async": "3.2.25", "@types/glob": "8.1.0", "@types/lodash.defaultsdeep": "4.6.9", "babel-loader": "8.4.1", "babel-plugin-react-intl": "3.5.1", "eslint": "9.39.4", "eslint-config-scratch": "11.0.53", "format-message-cli": "6.2.4", "globals": "17.5.0", "husky": "8.0.3", "jshint": "2.13.6", "json": "^9.0.6", "jsonlint": "1.6.3", "p-limit": "2.3.0", "p-queue": "3.2.0", "prettier": "3.5.3", "rimraf": "2.7.1", "scratch-semantic-release-config": "4.0.1", "semantic-release": "25.0.3", "webpack": "4.47.0", "webpack-cli": "3.3.12" }, "config": { "commitizen": { "path": "cz-conventional-changelog" } } }