dizquetv/package.json
Rafael Vieira 5913b7b3e9 feat(server): add i18n for translation of api
Implementation of i18n system to API translation. This change use i18next lib, simple and
extensible internationalization-framework, with support to plugins.

- out of router: use passing i18next on index.js for any class. Look tv-guide-service.js
- on a route: use req.t(). look api.js
2021-07-06 01:00:39 -03:00

71 lines
2.1 KiB
JSON

{
"name": "dizquetv",
"version": "1.0.0",
"description": "Create LiveTV channels from your Plex media",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js",
"build": "browserify ./web/app.js -o ./web/public/bundle.js",
"dev-client": "watchify ./web/app.js -o ./web/public/bundle.js",
"dev-server": "nodemon index.js --ignore ./web/ --ignore ./db/ --ignore ./xmltv.xml",
"compile": "babel index.js -d dist && babel src -d dist/src",
"package": "sh ./make_dist.sh",
"clean": "del-cli --force ./bin ./dist ./.dizquetv ./web/public/bundle.js",
"prepare": "husky install"
},
"author": "vexorian",
"license": "Zlib",
"dependencies": {
"angular": "^1.8.0",
"angular-router-browserify": "0.0.2",
"angular-sanitize": "^1.8.2",
"angular-vs-repeat": "2.0.13",
"axios": "^0.21.1",
"body-parser": "^1.19.0",
"diskdb": "0.1.17",
"express": "^4.17.1",
"express-fileupload": "^1.2.1",
"i18next": "^20.3.2",
"i18next-fs-backend": "^1.1.1",
"i18next-http-backend": "^1.2.6",
"i18next-http-middleware": "^3.1.4",
"JSONStream": "1.0.5",
"merge": "2.1.1",
"ng-i18next": "^1.0.7",
"node-graceful-shutdown": "1.1.0",
"node-ssdp": "^4.0.0",
"random-js": "2.1.0",
"request": "^2.88.2",
"uuid": "^8.0.0",
"xml-writer": "^1.7.0"
},
"bin": "dist/index.js",
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.9.5",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"browserify": "^16.5.1",
"copyfiles": "^2.2.0",
"cz-conventional-changelog": "^3.3.0",
"del-cli": "^3.0.0",
"husky": "^7.0.0",
"nexe": "^3.3.7",
"nodemon": "^2.0.3",
"watchify": "^3.11.1"
},
"babel": {
"plugins": [
"@babel/plugin-proposal-class-properties"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}