scratch-l10n/package.json
semantic-release-bot 575065ed65 chore(release): 1.0.0 [skip ci]
# 1.0.0 (2024-01-16)

### Bug Fixes

* add missing stdout ([113c0c0](113c0c095e))
* **deps:** update babel monorepo ([0ec47c2](0ec47c2d6f))
* **deps:** update babel monorepo to v7.23.7 ([172691f](172691f133))
* **deps:** update dependency @transifex/api to v4.3.0 ([8787503](8787503122))
* fetch languages and correctly get language code in txAvailableLanguages ([a3eed89](a3eed8987b))
* fix some errors with validation and error output ([bc151d5](bc151d5ef8))
* remove unnecessary if statement ([34fcab3](34fcab3ce0))
* **scripts:** add retries, correct formatting for editor ([137b6e3](137b6e3d09))
* use correct name for Filipino ([2634e78](2634e78806))
* use correct return type for async functions ([beda44e](beda44ed7b))
* use es6 in eslint to avoid disabling linting on some lines ([b67ea68](b67ea684e7))
* use stdout instead of console ([f298a58](f298a58aeb))
* use tidier import for transifex imports ([d6f1224](d6f1224931))

* Add scratch-paint ([0cb13cb](0cb13cbaee))

### Features

* add asturian language ([01e29ea](01e29ea229))
* add esperanto language ([af35fe0](af35fe0dbe))
* add filipino translations ([ccae0fc](ccae0fc838))
* add hausa language ([b6f145b](b6f145bb94))
* add hindi ([74f5560](74f5560888))
* add occitan language ([8b1d255](8b1d25597f))
* mark automated Transifex updates as fixes ([94c3353](94c3353f54))
* migrate help utils to v3 api ([db7a2a4](db7a2a4ca0))
* migrate push help script ([2907601](2907601077))

### BREAKING CHANGES

* - bumped major version to 2.

Restructured to support multiple components. Package default is just localeData for currently supported locales including the name for each language.

messages for each component are exported as separate files in locales. Clients of l10n will need to import messages for each of the compents used and combine them.
2024-01-16 18:36:18 +00:00

97 lines
4.1 KiB
JSON

{
"name": "scratch-l10n",
"version": "1.0.0",
"description": "Localization for the Scratch 3.0 components",
"main": "./dist/l10n.js",
"browser": "./src/index.js",
"bin": {
"build-i18n-src": "./scripts/build-i18n-src.js",
"tx-push-src": "./scripts/tx-push-src.js"
},
"scripts": {
"build": "npm run clean && npm run build:data && webpack --progress --colors --bail",
"build:data": "babel-node scripts/build-data",
"clean": "rimraf ./dist ./locales && mkdirp dist locales",
"lint": "npm run lint:js && npm run lint:json",
"lint:js": "eslint . --ext .js",
"lint:json": "jshint -e .json www editor/blocks editor/extensions editor/interface editor/paint-editor",
"prepare": "husky install",
"pull:blocks": "babel-node scripts/tx-pull-editor 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": "babel-node scripts/tx-pull-editor 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.js",
"pull:help:names": "./scripts/tx-pull-help-names.js",
"pull:interface": "babel-node scripts/tx-pull-editor scratch-editor interface ./editor/interface/",
"pull:paint": "babel-node scripts/tx-pull-editor scratch-editor paint-editor ./editor/paint-editor/",
"pull:www": "babel-node scripts/tx-pull-www ./www",
"push:help": "./scripts/tx-push-help.js",
"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": "babel-node scripts/validate-translations ./editor/blocks/",
"validate:editor": "npm run validate:blocks && npm run validate:extensions && npm run validate:interface && npm run validate:paint",
"validate:extensions": "babel-node scripts/validate-translations ./editor/extensions/ && babel-node scripts/validate-extension-inputs",
"validate:interface": "babel-node scripts/validate-translations ./editor/interface/",
"validate:paint": "babel-node scripts/validate-translations ./editor/paint-editor/",
"validate:www": "babel-node scripts/validate-www ./www"
},
"repository": {
"type": "git",
"url": "git+https://github.com/scratchfoundation/scratch-l10n.git"
},
"author": "Massachusetts Institute of Technology",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/LLK/scratch-l10n/issues"
},
"homepage": "https://github.com/scratchfoundation/scratch-l10n#readme",
"dependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@transifex/api": "4.3.0",
"babel-plugin-react-intl": "^3.0.1",
"download": "^8.0.0",
"transifex": "1.6.6"
},
"devDependencies": {
"@babel/eslint-parser": "7.18.2",
"@babel/node": "7.22.19",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-transform-async-to-generator": "^7.1.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.0.0",
"@commitlint/cli": "18.4.4",
"@commitlint/config-conventional": "18.4.4",
"async": "3.2.5",
"babel-eslint": "^10.0.1",
"babel-loader": "8.3.0",
"eslint": "8.17.0",
"eslint-config-scratch": "9.0.3",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-react": "^7.5.1",
"format-message-cli": "6.2.4",
"format-message-parse": "6.2.4",
"glob": "7.2.3",
"husky": "8.0.3",
"jshint": "2.13.6",
"json": "^9.0.6",
"jsonlint": "1.6.3",
"lodash.defaultsdeep": "4.6.1",
"mkdirp": "^0.5.1",
"node-fetch": "^2.6.0",
"p-limit": "2.3.0",
"p-queue": "3.2.0",
"rimraf": "^2.6.2",
"scratch-semantic-release-config": "1.0.8",
"semantic-release": "19.0.5",
"webpack": "^4.6.0",
"webpack-cli": "^3.1.2"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}