2017-07-20 15:59:38 -04:00
|
|
|
{
|
2019-07-23 15:33:31 -04:00
|
|
|
"name": "scratch-l10n",
|
2020-05-11 14:23:22 -04:00
|
|
|
"version": "3.9.0",
|
2019-07-23 15:33:31 -04:00
|
|
|
"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:data": "babel-node scripts/build-data",
|
|
|
|
"build": "npm run clean && npm run build:data && webpack --progress --colors --bail",
|
|
|
|
"clean": "rimraf ./dist ./locales && mkdirp dist locales",
|
|
|
|
"lint:js": "eslint . --ext .js",
|
|
|
|
"lint:json": "jshint -e .json www editor/blocks editor/extensions editor/interface editor/paint-editor",
|
|
|
|
"lint": "npm run lint:js && npm run lint:json",
|
|
|
|
"pull:interface": "babel-node scripts/tx-pull-translations scratch-editor interface ./editor/interface/",
|
|
|
|
"pull:paint": "babel-node scripts/tx-pull-translations scratch-editor paint-editor ./editor/paint-editor/",
|
|
|
|
"pull:extensions": "babel-node scripts/tx-pull-translations scratch-editor extensions ./editor/extensions/",
|
|
|
|
"pull:blocks": "babel-node scripts/tx-pull-blocks ./editor/blocks/",
|
|
|
|
"pull:editor": "npm run pull:blocks && npm run pull:extensions && npm run pull:paint && npm run pull:interface",
|
|
|
|
"pull:www": "babel-node scripts/tx-pull-www ./www",
|
2020-05-12 14:43:35 -04:00
|
|
|
"pull:help:names": "./scripts/tx-pull-help-names.js",
|
|
|
|
"pull:help:articles": "./scripts/tx-pull-help-articles.js",
|
|
|
|
"pull:help": "npm run pull:help:names && npm run pull:help:articles",
|
|
|
|
"push:help": "./scripts/tx-push-help.js",
|
|
|
|
"sync:help": "npm run push:help && npm run pull:help",
|
2019-07-23 15:33:31 -04:00
|
|
|
"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/",
|
2019-11-19 08:25:53 -05:00
|
|
|
"validate:extensions": "babel-node scripts/validate-translations ./editor/extensions/ && babel-node scripts/validate-extension-inputs",
|
2019-07-23 15:33:31 -04:00
|
|
|
"validate:interface": "babel-node scripts/validate-translations ./editor/interface/",
|
|
|
|
"validate:paint": "babel-node scripts/validate-translations ./editor/paint-editor/",
|
|
|
|
"validate:editor": "npm run validate:blocks && npm run validate:extensions && npm run validate:interface && npm run validate:paint",
|
|
|
|
"validate:www": "babel-node scripts/validate-www ./www"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/LLK/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/LLK/scratch-l10n#readme",
|
|
|
|
"dependencies": {
|
|
|
|
"@babel/cli": "^7.1.2",
|
|
|
|
"@babel/core": "^7.1.2",
|
|
|
|
"babel-plugin-react-intl": "^3.0.1",
|
|
|
|
"transifex": "1.6.6"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/node": "7.2.2",
|
|
|
|
"@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",
|
2020-04-24 10:10:52 -04:00
|
|
|
"@babel/preset-env": "^7.9.5",
|
2019-07-23 15:33:31 -04:00
|
|
|
"@babel/preset-react": "^7.0.0",
|
|
|
|
"async": "2.6.1",
|
|
|
|
"babel-eslint": "^10.0.1",
|
|
|
|
"babel-loader": "8.0.5",
|
|
|
|
"eslint": "^5.0.1",
|
|
|
|
"eslint-config-scratch": "^5.0.0",
|
|
|
|
"eslint-plugin-import": "^2.8.0",
|
|
|
|
"eslint-plugin-react": "^7.5.1",
|
|
|
|
"format-message-cli": "6.2.1",
|
|
|
|
"format-message-parse": "6.2.0",
|
|
|
|
"glob": "7.1.3",
|
|
|
|
"jshint": "2.9.7",
|
|
|
|
"json": "^9.0.6",
|
|
|
|
"jsonlint": "1.6.3",
|
2020-05-27 14:44:22 -04:00
|
|
|
"lodash.defaultsdeep": "4.6.1",
|
2019-07-23 15:33:31 -04:00
|
|
|
"mkdirp": "^0.5.1",
|
2020-04-24 10:10:52 -04:00
|
|
|
"node-fetch": "^2.6.0",
|
2019-07-23 15:33:31 -04:00
|
|
|
"p-limit": "2.1.0",
|
|
|
|
"p-queue": "3.0.0",
|
|
|
|
"react-intl": "2.8.0",
|
|
|
|
"rimraf": "^2.6.2",
|
|
|
|
"webpack": "^4.6.0",
|
|
|
|
"webpack-cli": "^3.1.2"
|
|
|
|
}
|
2017-07-20 15:59:38 -04:00
|
|
|
}
|