{"_id":"@dgknca/gulp-i18n-pug","_rev":"1-bf15cb4fdc7c7f417487947951ac96ae","name":"@dgknca/gulp-i18n-pug","dist-tags":{"latest":"1.1.0"},"versions":{"1.1.0":{"name":"@dgknca/gulp-i18n-pug","version":"1.1.0","description":"Gulp plugin to compile Pug templates with internationalization support based on JS/JSON/YAML files","main":"index.js","repository":{"type":"git","url":"git+https://github.com/felixzapata/gulp-i18n-pug.git"},"keywords":["gulpplugin","pug","translation","i18n","internationalization"],"author":{"name":"Félix Zapata","url":"github.com/felixzapata"},"scripts":{"test":"gulp test"},"license":"MIT","bugs":{"url":"https://github.com/felixzapata/gulp-i18n-pug/issues"},"homepage":"https://github.com/felixzapata/gulp-i18n-pug","devDependencies":{"assert":"^1.4.1","conventional-changelog":"^1.1.0","eslint-plugin-html":"^1.5.2","fs-extra":"^0.30.0","glob":"^7.1.1","gulp":"^3.9.1","gulp-bump":"^2.1.0","gulp-eslint":"^3.0.1","gulp-git":"^1.7.0","gulp-load-plugins":"^1.2.0","gulp-mocha":"^3.0.1","gulp-util":"^3.0.7","mocha":"^2.5.3","require-dir":"^0.3.0","run-sequence":"^1.1.5","stream-assert":"^2.0.3"},"dependencies":{"chalk":"^2.3.2","fancy-log":"^1.3.2","js-yaml":"~3.2.2","pug":"^2.0.0-beta6","through2":"^2.0.1"},"gitHead":"33dcfdda578bd738997fde74011ca060f8774b04","_id":"@dgknca/gulp-i18n-pug@1.1.0","_nodeVersion":"10.16.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-tt3CIJOZ3k+trkrbuio76oHV4JpOkYIIknhctDvYHfVXnUJVnVMf4mQu4Bfzd4xvFpWS+ONeGa8AoqgOxT1mqA==","shasum":"1e116413eb831e44a880be93b726246a5326e68b","tarball":"https://registry.npmjs.org/@dgknca/gulp-i18n-pug/-/gulp-i18n-pug-1.1.0.tgz","fileCount":5,"unpackedSize":10961,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGPUSCRA9TVsSAnZWagAAtfQP/0dIn8FJDxkB0Sy38vNE\nmlcAmC0Yk1E+1K/er685K5iZqm7ojiV+i1Aa0GFIXIq7lXE7ZHsKTXZmHCnH\n2oOQYXviTicY4bjmIkYGs+U5K7NXm+0D444epLu0KcTRbUPFko4glkawBnsG\nsRCttxQtx5CoxDJB40wQcAZ4+iBcVvXFN3Pg4ZLwqKcb8JmmNL40r5GAtsTG\n83MvfXN4qg3D0SDOcOZfkJjO6Ub7exJbpe0/PgptBAwjEWHxHEdwlIU1CvvW\nyyYebaHPRGrpJOVZMy1qvADACsItrpot1UilwGgFhZQVOUd7+4Ky+ZdbdaSm\n95KIpW+rX8Nr0lqfuRLgQ289WWv3IaERkgJB6jyd64+UCN53XGIyBZH0V6xA\ncQfwKhgQZiF7bSgT4FaqNMa5JEx9fggv0r7SSyMvnZn5/iaAvHrD4gapIkX0\nDA9eQkw717RnWjjEJ/htbf0snqCuiINObmCGdy5m5uwZ3EF+AUaeaKReICOJ\nc2hnW5Hgzd9movelDryiTM82Ika4hzoDkyZLT6jJriyfdQTTiSlTiVtXc/Ju\nhtvOXesfs3O5kAq300Wrc7kLlR+qgZvChvI827ywYS8S40zXWnguJMr6rqgO\nABTmfck2FPNU3NroiI6qylvCfVvoDVVHKRnETqa2SQ87UsVUcedNBwxj8PYn\nqGCB\r\n=VPvP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8vrVD1td9gPNsrlQfV1RKSqLVjcuHj8ml+ICXzQvIkAIgNzYq47IuSyt6UXtA/uTb3OaXeIloplCyVZaOW7uqYJk="}]},"_npmUser":{"name":"dgknca","email":"dgknca@gmail.com"},"directories":{},"maintainers":[{"name":"dgknca","email":"dgknca@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-i18n-pug_1.1.0_1612248338229_0.6012607418559726"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-02T06:45:38.187Z","1.1.0":"2021-02-02T06:45:38.358Z","modified":"2022-04-05T04:18:22.458Z"},"maintainers":[{"name":"dgknca","email":"dgknca@gmail.com"}],"description":"Gulp plugin to compile Pug templates with internationalization support based on JS/JSON/YAML files","homepage":"https://github.com/felixzapata/gulp-i18n-pug","keywords":["gulpplugin","pug","translation","i18n","internationalization"],"repository":{"type":"git","url":"git+https://github.com/felixzapata/gulp-i18n-pug.git"},"author":{"name":"Félix Zapata","url":"github.com/felixzapata"},"bugs":{"url":"https://github.com/felixzapata/gulp-i18n-pug/issues"},"license":"MIT","readme":"# @dgknca/gulp-i18n-pug\r\n\r\nExactly same with [gulp-i18n-pug](https://github.com/felixzapata/gulp-i18n-pug)\r\n\r\nBut there are an extra parameter called `defaultLang`. If you set `defaultLang`, the generated HTML files will look like this:\r\n\r\n```\r\nhtml/\r\n├── tr/\r\n│   └── index.html\r\n├── index.html (english)\r\n```\r\n\r\ninstead of\r\n\r\n```\r\nhtml/\r\n├── tr/\r\n│   └── index.html\r\n└── en/\r\n    └── index.html\r\n```\r\n\r\n## How to use\r\n\r\n```js\r\n...\r\ni18n: {\r\n  dest: 'public',\r\n  locales: 'src/lang/*.*',\r\n  defaultLang: 'en' // <---\r\n},\r\n...\r\n```","readmeFilename":"README.md"}