UNPKG

otus-localization

Version:

A translation tool for Angular i18n(angular-t9n)

161 lines (160 loc) 4.56 kB
{ "name": "otus-localization", "version": "16.0.34", "description": "A translation tool for Angular i18n(angular-t9n)", "bin": { "ng-t9n": "./bin/cli.js" }, "keywords": [ "angular", "i18n", "xliff", "xlf", "xlf2", "translation", "t9n" ], "scripts": { "prepare": "husky install", "ng": "ng", "start": "ng serve", "clean": "rimraf coverage {bin,builders,schematics,server}/**/index.{js,d.ts}", "build": "yarn -s build:ng && yarn -s build:node", "build:ng": "ng build --configuration production", "build:node": "rollup --config rollup.config.mjs", "format": "prettier --ignore-unknown --write \"**/*\"", "test": "yarn -s test:node", "test:node": "jest", "lint": "ng lint", "xi18n:xlf": "ng extract-i18n -c xlf", "xi18n:xlf2": "ng extract-i18n", "xi18n": "yarn -s xi18n:xlf && yarn -s xi18n:xlf2", "t9n:xlf": "ng run otus-translation:t9n xlf", "t9n:xlf2": "ng run otus-translation:t9n", "release": "standard-version --tag-prefix=\"\"" }, "repository": { "type": "git" }, "license": "Apache-2.0", "files": [ "{bin,builders,schematics,server}/**/*.{json,js,d.ts}", "server/client/*", "!tsconfig.json" ], "dependencies": { "@nestjs/common": "^9.4.0", "@nestjs/core": "^9.4.0", "@nestjs/platform-express": "^9.4.3", "@nestjs/platform-ws": "^9.4.0", "@nestjs/serve-static": "^3.0.1", "@nestjs/websockets": "^9.4.0", "@types/file-saver": "^2.0.5", "@types/multer": "^1.4.9", "@xmldom/xmldom": "^0.8.7", "class-transformer": "^0.5.1", "class-validator": "^0.13.2", "commander": "^11.1.0", "file-saver": "^2.0.5", "js-levenshtein": "^1.1.6", "multer": "^1.4.5-lts.1", "reflect-metadata": "^0.1.13", "rxjs": "~7.8.1", "yargs": "^17.7.2" }, "devDependencies": { "@angular-devkit/build-angular": "^16.0.0", "@angular-eslint/builder": "16.0.1", "@angular-eslint/eslint-plugin": "16.0.1", "@angular-eslint/eslint-plugin-template": "16.0.1", "@angular-eslint/schematics": "16.0.1", "@angular-eslint/template-parser": "16.0.1", "@angular/animations": "^16.0.0", "@angular/cdk": "^16.0.0", "@angular/cli": "^16.0.0", "@angular/common": "^16.0.0", "@angular/compiler": "^16.0.0", "@angular/compiler-cli": "^16.0.0", "@angular/core": "^16.0.0", "@angular/forms": "^16.0.0", "@angular/language-service": "^16.0.0", "@angular/localize": "^16.0.0", "@angular/material": "^16.0.0", "@angular/platform-browser": "^16.0.0", "@angular/platform-browser-dynamic": "^16.0.0", "@angular/router": "^16.0.0", "@nestjs/schematics": "^9.1.0", "@nestjs/testing": "^9.4.0", "@types/express": "^4.17.17", "@types/jasmine": "~4.3.1", "@types/jest": "^29.5.1", "@types/js-levenshtein": "^1.1.0", "@types/node": "^18.16.3", "@types/supertest": "^2.0.11", "@types/ws": "^8.5.4", "@typescript-eslint/eslint-plugin": "^5.59.2", "@typescript-eslint/parser": "^5.59.2", "eslint": "^8.39.0", "eslint-plugin-import": "^2.27.5", "husky": "^8.0.3", "jasmine-core": "~4.6.0", "jest": "^29.5.0", "karma": "~6.4.2", "karma-chrome-launcher": "~3.2.0", "karma-coverage": "~2.2.0", "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.0.0", "lint-staged": "^13.2.2", "prettier": "^2.8.8", "rimraf": "^5.0.0", "rollup": "^3.21.4", "rollup-plugin-ts": "^3.2.0", "standard-version": "^9.3.2", "ts-jest": "^29.1.0", "ts-node": "^10.4.0", "tsconfig-paths": "^4.2.0", "tslib": "^2.5.0", "typescript": "~5.0.4", "xlsx": "^0.18.5", "zone.js": "~0.13.0" }, "schematics": "./schematics/collection.json", "builders": "./builders/builders.json", "ng-add": { "save": "devDependencies" }, "jest": { "transform": { "^.+\\.tsx?$": [ "ts-jest", { "tsconfig": "tsconfig.node.json" } ] }, "preset": "ts-jest", "testEnvironment": "node", "modulePathIgnorePatterns": [ "src" ], "collectCoverage": true, "collectCoverageFrom": [ "**/*.ts", "!**/*.module.ts", "!**/*.d.ts", "!**/index.ts", "!**/*.spec.ts" ], "coverageDirectory": "coverage" }, "prettier": { "singleQuote": true, "endOfLine": "lf", "printWidth": 100 }, "lint-staged": { "*.{js,ts,css,scss,json,md,html}": [ "prettier --write --ignore-unknown" ] } }