scratch-l10n/package.json
chrisgarrity 12a43c94d3 Add script for building en.json
Add dependency on babel-cli and the intl plugins for extracting strings from source.

Include script for combining extracted strings into a single source chrome-i18n file as a binary from this package.
2017-10-31 12:31:29 -04:00

48 lines
1.4 KiB
JSON

{
"name": "scratch-l10n",
"version": "2.0.0",
"description": "Localization for the Scratch 3.0 components",
"main": "./dist/l10n.js",
"bin": {
"build-i18n-src": "./scripts/build-i18n-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": "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",
"dependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-intl": "^0.1.1",
"babel-plugin-react-intl": "^2.3.1"
},
"devDependencies": {
"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"
}
}