UNPKG

t8on

Version:

Set up, format and translate phrases easily

82 lines (81 loc) 2.66 kB
{ "name": "t8on", "version": "0.2.0-alpha.2", "description": "Set up, format and translate phrases easily", "main": "dist/cjs/index.js", "module": "dist/es/index.js", "typescript": { "definition": "dist/t8on.d.ts" }, "scripts": { "build": "mkdir -p dist && run-p build:cjs build:es build:typedefs build:umd", "build:cjs": "cross-env BABEL_ENV=cjs babel src -d dist/cjs", "build:es": "babel src -d dist/es", "build:typedefs": "node ./res/copy-typedefs.js", "build:umd": "webpack --config res/umd.config.js", "clean": "rm -rf .nyc_output coverage dist", "coverage": "cross-env BABEL_ENV=test nyc report --reporter=text-lcov | coveralls", "lint": "run-s lint:eslint lint:flow", "lint:eslint": "eslint .", "lint:flow": "flow check typedefs/tests", "prepublishOnly": "run-s lint test clean build", "test": "cross-env BABEL_ENV=test mocha", "test:cover": "cross-env BABEL_ENV=test nyc mocha", "travis": "run-s lint test:cover coverage" }, "repository": { "type": "git", "url": "git+https://github.com/Oopscurity/t8on.git" }, "keywords": [ "l10n", "locale", "localization", "localize", "translation", "translate", "language", "format", "dictionary" ], "author": "Artem Kravchenko", "license": "MIT", "bugs": { "url": "https://github.com/Oopscurity/t8on/issues" }, "homepage": "https://github.com/Oopscurity/t8on#readme", "files": [ "dist" ], "dependencies": {}, "devDependencies": { "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-eslint": "^8.0.1", "babel-loader": "^7.1.2", "babel-plugin-check-es2015-constants": "^6.22.0", "babel-plugin-istanbul": "^4.1.5", "babel-plugin-transform-es2015-arrow-functions": "^6.22.0", "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0", "babel-plugin-transform-es2015-block-scoping": "^6.26.0", "babel-plugin-transform-es2015-destructuring": "^6.23.0", "babel-plugin-transform-es2015-function-name": "^6.24.1", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", "babel-plugin-transform-es2015-parameters": "^6.24.1", "babel-plugin-transform-es2015-spread": "^6.22.0", "babel-plugin-transform-es2015-sticky-regex": "^6.24.1", "chai": "^4.1.2", "coveralls": "^3.0.0", "cross-env": "^5.1.0", "eslint": "^4.9.0", "eslint-plugin-babel": "^4.1.2", "eslint-plugin-mocha": "^4.11.0", "flow-bin": "^0.57.3", "lodash": "^4.17.4", "mocha": "^4.0.1", "npm-run-all": "^4.1.1", "nyc": "^11.2.1", "sinon": "^4.0.1", "webpack": "^3.8.1" } }