UNPKG

angular-t9n

Version:

A translation tool for Angular i18n

158 lines (157 loc) 4.52 kB
{ "name": "angular-t9n", "version": "19.0.0", "description": "A translation tool for Angular i18n", "bin": { "ng-t9n": "./bin/cli.js" }, "keywords": [ "angular", "i18n", "xliff", "xlf", "xlf2", "translation", "t9n" ], "scripts": { "prepare": "husky", "ng": "ng", "start": "ng serve", "clean": "rimraf --glob 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 angular-t9n:t9n -c xlf", "t9n:xlf2": "ng run angular-t9n:t9n", "release": "commit-and-tag-version --tag-prefix=\"\"" }, "repository": { "type": "git", "url": "git+https://github.com/kyubisation/angular-t9n.git" }, "license": "Apache-2.0", "bugs": { "url": "https://github.com/kyubisation/angular-t9n/issues" }, "files": [ "{bin,builders,schematics,server}/**/*.{json,js,d.ts}", "server/client/*", "!tsconfig.json" ], "dependencies": { "@nestjs/common": "^10.2.0", "@nestjs/core": "^10.2.0", "@nestjs/platform-express": "^10.2.0", "@nestjs/platform-ws": "^10.2.0", "@nestjs/serve-static": "^4.0.0", "@nestjs/websockets": "^10.2.0", "@xmldom/xmldom": "^0.8.10", "class-transformer": "^0.5.1", "class-validator": "^0.14.0", "js-levenshtein": "^1.1.6", "reflect-metadata": "^0.2.2", "rxjs": "~7.8.1" }, "devDependencies": { "@angular-devkit/build-angular": "^19.0.1", "@angular-eslint/builder": "19.0.0-alpha.1", "@angular-eslint/eslint-plugin": "19.0.0-alpha.1", "@angular-eslint/eslint-plugin-template": "19.0.0-alpha.1", "@angular-eslint/schematics": "19.0.0-alpha.1", "@angular-eslint/template-parser": "19.0.0-alpha.1", "@angular/animations": "^19.0.0", "@angular/cdk": "^19.0.0", "@angular/cli": "^19.0.1", "@angular/common": "^19.0.0", "@angular/compiler": "^19.0.0", "@angular/compiler-cli": "^19.0.0", "@angular/core": "^19.0.0", "@angular/forms": "^19.0.0", "@angular/language-service": "^19.0.0", "@angular/localize": "^19.0.0", "@angular/material": "^19.0.0", "@angular/platform-browser": "^19.0.0", "@angular/platform-browser-dynamic": "^19.0.0", "@angular/router": "^19.0.0", "@nestjs/schematics": "^10.0.0", "@nestjs/testing": "^10.2.0", "@types/express": "^4.17.20", "@types/jasmine": "~5.1.1", "@types/jest": "^29.5.7", "@types/js-levenshtein": "^1.1.2", "@types/node": "^18.16.3", "@types/ws": "^8.5.8", "@typescript-eslint/eslint-plugin": "^7.2.0", "@typescript-eslint/parser": "^7.2.0", "commit-and-tag-version": "^12.5.0", "eslint": "^8.57.0", "eslint-plugin-import": "^2.29.0", "husky": "^9.0.11", "jasmine-core": "~5.1.1", "jest": "^29.7.0", "karma": "~6.4.2", "karma-chrome-launcher": "~3.2.0", "karma-coverage": "~2.2.1", "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.1.0", "lint-staged": "^15.0.2", "prettier": "^3.0.3", "rimraf": "^5.0.5", "rollup": "^4.3.0", "rollup-plugin-ts": "^3.4.5", "ts-jest": "^29.1.1", "ts-node": "^10.4.0", "tsconfig-paths": "^4.2.0", "tslib": "^2.8.1", "typescript": "~5.6.3", "xlsx": "^0.18.5", "zone.js": "~0.15.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" ] } }