i18next-http-backend
v1.0.8 i18next i18next-backend i18next-http-backend
lint
eslint .
test
npm run lint && npm run build && npm run test:fetch && npm run test:xmlhttpreq
build
npm run compile && npm run browser
browser
browserify --standalone i18nextHttpBackend cjs/index.js -o i18nextHttpBackend.js && uglifyjs i18nextHttpBackend.js --compress --mangle -o i18nextHttpBackend.min.js
compile
rm -rf cjs && mkdir cjs && babel lib -d cjs --presets=@babel/preset-env --plugins=add-module-exports && 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'))"
test:deno
deno test test/deno/*.js --allow-net
preversion
npm run test && npm run build && git push
test:fetch
mocha test -R spec --exit --experimental-modules
postversion
git push && git push --tags
test:xmlhttpreq
mocha test -R spec --require test/fixtures/xmlHttpRequest.cjs --exit --experimental-modules