UNPKG

nunjucks-translation

Version:
72 lines (71 loc) 1.92 kB
{ "name": "nunjucks-translation", "version": "1.3.0", "description": "Nunjucks Extension and Filter for Translation", "main": "lib/translation.extension.js", "types": "lib/translation.extension.d.ts", "scripts": { "build": "tsc --project tsconfig.build.json", "format": "prettier --write \"src/**/*.ts\"", "lint": "eslint \"src/**/*.ts\" --fix", "test": "jest", "test:coverage": "jest --coverage", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "repository": { "type": "git", "url": "git+https://github.com/mgascoyne/nunjucks-translation.git" }, "keywords": [ "Nunjucks", "Translation" ], "author": "Marcel Gascoyne", "license": "MIT", "bugs": { "url": "https://github.com/mgascoyne/nunjucks-translation/issues" }, "homepage": "https://github.com/mgascoyne/nunjucks-translation#readme", "devDependencies": { "@types/jest": "^27.4.1", "@types/node": "^17.0.21", "@types/nunjucks": "^3.2.1", "@typescript-eslint/eslint-plugin": "^5.14.0", "@typescript-eslint/parser": "^5.14.0", "eslint": "^8.10.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "jest": "^27.5.1", "prettier": "^2.5.1", "prettier-plugin-organize-imports": "^2.3.4", "ts-jest": "^27.1.3", "typescript": "^4.6.2" }, "dependencies": { "nunjucks": "^3.2.3" }, "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "rootDir": "src", "testRegex": ".*\\.spec\\.ts$", "transform": { "^.+\\.(t|j)s$": "ts-jest" }, "collectCoverageFrom": [ "**/*.(t|j)s" ], "coverageDirectory": "../coverage", "testEnvironment": "node" }, "files": [ "lib/**/*" ] }