UNPKG

translate-maker

Version:

Lightweight translation module. Internationalize your great project.

105 lines (104 loc) 3.53 kB
{ "name": "translate-maker", "version": "0.7.4", "description": "Lightweight translation module. Internationalize your great project.", "main": "./dist/index.js", "browser": "./lib/index.js", "module": "./module/index.js", "esnext": "./src/index.js", "sideEffects": false, "engines": { "node": ">= 6.0.0" }, "keywords": [ "translate", "locale", "project", "module", "messageformat", "i18n", "i10n", "l20n", "intl", "icu", "cldr", "react", "angular", "ember" ], "scripts": { "prepublish": "npm run build", "test": "jest ./src/", "test:coverage": "jest --coverage ./src/", "test:watch": "jest --watch ./src/", "build:peg": "pegjs ./src/parser/parser.peg", "build:browser": "cross-env BABEL_ENV=browser babel ./src --out-dir ./lib --source-maps --copy-files", "build:module": "cross-env BABEL_ENV=module babel ./src --out-dir ./module --source-maps --copy-files", "build:node": "babel ./src --out-dir ./dist --source-maps --copy-files", "build": "npm run build:peg && npm run build:node && npm run build:browser && npm run build:module", "eslint": "node ./node_modules/eslint/bin/eslint.js --ext .js,.jsx ./src" }, "repository": { "type": "git", "url": "https://github.com/CherryProjects/translate-maker.git" }, "author": "Zlatko Fedor <zfedor@gmail.com>", "license": "Apache-2.0", "bugs": { "url": "https://github.com/CherryProjects/translate-maker/issues" }, "homepage": "https://github.com/CherryProjects/translate-maker", "jest": { "modulePathIgnorePatterns": [ "__tests__/locales/.*" ] }, "dependencies": { "@babel/runtime": "^7.4.3", "debug": "^3.2.6", "events": "^3.0.0", "keymirror": "^0.1.1", "lodash": "^4.17.11", "make-plural": "^4.3.0", "locale-id": "^1.1.2" }, "devDependencies": { "@babel/cli": "^7.4.3", "@babel/core": "^7.4.3", "@babel/plugin-proposal-class-properties": "^7.4.0", "@babel/plugin-proposal-decorators": "^7.4.0", "@babel/plugin-proposal-do-expressions": "^7.2.0", "@babel/plugin-proposal-export-default-from": "^7.2.0", "@babel/plugin-proposal-export-namespace-from": "^7.2.0", "@babel/plugin-proposal-function-bind": "^7.2.0", "@babel/plugin-proposal-function-sent": "^7.2.0", "@babel/plugin-proposal-logical-assignment-operators": "^7.2.0", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.3", "@babel/plugin-proposal-numeric-separator": "^7.2.0", "@babel/plugin-proposal-optional-chaining": "^7.2.0", "@babel/plugin-proposal-pipeline-operator": "^7.3.2", "@babel/plugin-proposal-throw-expressions": "^7.2.0", "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-syntax-import-meta": "^7.2.0", "@babel/plugin-transform-flow-strip-types": "^7.4.0", "@babel/plugin-transform-proto-to-assign": "^7.4.3", "@babel/plugin-transform-runtime": "^7.4.3", "@babel/preset-env": "^7.4.3", "babel-eslint": "^10.0.1", "babel-plugin-transform-class-properties": "^6.24.1", "babel-jest": "^24.7.1", "cldr": "^5.2.0", "cross-env": "^5.2.0", "enzyme": "^3.9.0", "eslint": "^5.16.0", "eslint-config-airbnb": "^17.1.0", "eslint-plugin-import": "^2.17.2", "eslint-plugin-jest": "^22.5.1", "eslint-plugin-jsx-a11y": "^6.2.1", "eslint-plugin-react": "^7.12.4", "jest": "^24.7.1", "jest-cli": "^24.7.1", "pegjs": "^0.10.0", "webpack": "^4.30.0" } }