UNPKG

@gctools-components/i18n-translation-webpack-plugin

Version:

Complete i18n translation solution for webpack, including code-splitting and automatic generation of translation files

91 lines (90 loc) 2.43 kB
{ "name": "@gctools-components/i18n-translation-webpack-plugin", "version": "2.0.3", "description": "Complete i18n translation solution for webpack, including code-splitting and automatic generation of translation files", "main": "dist/plugin.js", "repository": { "type": "git", "url": "https://github.com/gctools-outilsgc/gctools-components.git" }, "scripts": { "clean": "rimraf dist", "build": "babel src -d dist --copy-files", "test": "mocha --colors ./test/*.spec.js", "test:watch": "npm run test -- -w", "lint": "eslint .", "postinstall": "virtualenv-postinstall", "prepare": "npm run snyk-protect && npm run clean && npm run build", "snyk-protect": "snyk protect" }, "dependencies": { "es6-promise": "^4.1.1", "es6-promises": "~1.0.10", "gettext-loader": "git+https://github.com/lucbelliveau/gettext-loader.git#dist", "jed": "^1.1.1", "json-loader": "~0.5.4", "loader-utils": "^1.1.0", "md5-file": "~3.2.3", "object-assign": "^4.1.1", "po-loader": "~0.4.1", "virtualenv": "git+https://github.com/gctools-outilsgc/node-virtualenv", "webpack": "^4.16.1", "snyk": "^1.370.0" }, "devDependencies": { "@gctools-components/eslint-config": "^1.1.3", "babel-cli": "^6.26.0", "babel-plugin-react-docgen": "~1.8.1", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-preset-env": "^1.6.0", "babel-preset-react": "^6.24.1", "eslint": "^4.12.1", "eslint-plugin-import": "^2.7.0", "eslint-plugin-jsx-a11y": "^6.0.2", "eslint-plugin-react": "^7.4.0", "expect": "~21.2.1", "mocha": "~4.0.1", "po2json": "~0.4.2", "pypi": "git+https://github.com/lukaszb/pypi.git", "react": "^16.0.0", "rimraf": "^2.6.2", "should": "~13.1.2", "sinon": "~4.0.1", "yargs": "~9.0.1" }, "keywords": [ "spa", "localization", "i18n", "internationalization", "react", "gettext", "pot", "jed" ], "author": { "name": "Luc Belliveau", "email": "luc.belliveau@nrc-cnrc.gc.ca" }, "license": "MIT", "babel": { "presets": [ "env", "react" ], "plugins": [ "transform-object-rest-spread", [ "react-docgen", { "includeMethods": true } ] ] }, "eslintConfig": { "extends": "@gctools-components", "root": true }, "snyk": true }