mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2024-12-22 13:42:30 -05:00
0cb13cbaee
Breaking change - 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.
41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
{
|
|
"name": "scratch-l10n",
|
|
"version": "2.0.0",
|
|
"description": "Localization for the Scratch 3.0 components",
|
|
"main": "./dist/l10n.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": "eslint . --ext .js,.json",
|
|
"test": "npm run lint && npm run build"
|
|
},
|
|
"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",
|
|
"devDependencies": {
|
|
"babel-cli": "^6.26.0",
|
|
"babel-core": "^6.26.0",
|
|
"babel-eslint": "^7.2.3",
|
|
"babel-loader": "^7.1.2",
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"eslint": "^4.6.1",
|
|
"eslint-config-scratch": "^4.0.0",
|
|
"eslint-plugin-import": "^2.7.0",
|
|
"eslint-plugin-json": "1.2.0",
|
|
"json": "^9.0.6",
|
|
"lodash.defaultsdeep": "4.6.0",
|
|
"mkdirp": "^0.5.1",
|
|
"react-intl": "2.4.0",
|
|
"rimraf": "^2.6.2",
|
|
"webpack": "^3.5.6"
|
|
}
|
|
}
|