Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/i18next_http_backend/package.json

i18next-http-backend is a backend layer for i18next using in Node.js, in the browser and for Deno.
Go to Latest
File
{ "name": "i18next-http-backend", "version": "1.0.20", "private": false, "type": "module", "main": "./cjs/index.js", "exports": { "./package.json": "./package.json", ".": { "require": "./cjs/index.js", "default": "./esm/index.js" }, "./cjs": { "default": "./cjs/index.js" }, "./esm": { "default": "./esm/index.js" } }, "module": "./esm/index.js", "dependencies": { "node-fetch": "2.6.1" }, "types": "./index.d.ts", "devDependencies": { "@babel/cli": "7.11.6", "@babel/core": "7.11.6", "@babel/preset-env": "7.11.5", "babel-plugin-add-module-exports": "1.0.4", "browserify": "16.5.2", "eslint": "7.9.0", "eslint-config-standard": "14.1.1", "eslint-plugin-import": "2.22.0", "eslint-plugin-node": "11.1.0", "eslint-plugin-promise": "4.2.1", "eslint-plugin-require-path-exists": "1.1.9", "eslint-plugin-standard": "4.0.1", "expect.js": "0.3.1", "i18next": "19.7.0", "json-server": "0.16.1", "json5": "2.1.3", "mocha": "8.1.3", "uglify-js": "3.10.4", "xmlhttprequest": "1.8.0" }, "description": "i18next-http-backend is a backend layer for i18next using in Node.js, in the browser and for Deno.", "keywords": [ "i18next", "i18next-backend", "i18next-http-backend" ], "homepage": "https://github.com/i18next/i18next-http-backend", "repository": { "type": "git", "url": "git@github.com:i18next/i18next-http-backend.git" }, "bugs": { "url": "https://github.com/i18next/i18next-http-backend/issues" }, "licenses": [ { "type": "MIT", "url": "https://raw.github.com/i18next/i18next-http-backend/master/licence" } ], "scripts": { "lint": "eslint .", "compile:esm": "rm -rf esm && mkdir esm && BABEL_ENV=esm babel lib -d esm && cp lib/getFetch.cjs esm/getFetch.cjs", "compile:cjs": "rm -rf cjs && mkdir cjs && BABEL_ENV=cjs babel lib -d cjs && echo '{\"type\":\"commonjs\"}' > cjs/package.json && cp lib/getFetch.cjs cjs/getFetch.js && node -e \"fs.writeFileSync('cjs/request.js', fs.readFileSync('cjs/request.js').toString().replace('getFetch.cjs', 'getFetch.js'))\"", "compile": "npm run compile:esm && npm run compile:cjs", "browser": "browserify --ignore node-fetch --standalone i18nextHttpBackend cjs/index.js -o i18nextHttpBackend.js && uglifyjs i18nextHttpBackend.js --compress --mangle -o i18nextHttpBackend.min.js", "build": "npm run compile && npm run browser", "test:xmlhttpreq": "mocha test -R spec --require test/fixtures/xmlHttpRequest.cjs --exit --experimental-modules", "test:fetch": "mocha test -R spec --exit --experimental-modules", "test": "npm run lint && npm run build && npm run test:fetch && npm run test:xmlhttpreq", "test:deno": "deno test test/deno/*.js --allow-net --no-check", "preversion": "npm run test && npm run build && git push", "postversion": "git push && git push --tags" }}