UNPKG

locize-lastused

Version:

Using API lastUsed using in node.js, in the browser and for deno.

76 lines (75 loc) 2.25 kB
{ "name": "locize-lastused", "version": "5.0.0", "description": "Using API lastUsed using in node.js, in the browser and for deno.", "type": "module", "sideEffects": false, "engines": { "node": ">=18" }, "main": "./cjs/index.js", "exports": { "./package.json": "./package.json", ".": { "types": { "require": "./cjs/index.d.ts", "import": "./esm/index.d.mts" }, "module": "./esm/index.js", "import": "./esm/index.js", "require": "./cjs/index.js", "default": "./esm/index.js" }, "./cjs": { "types": "./cjs/index.d.ts", "default": "./cjs/index.js" }, "./esm": { "types": "./esm/index.d.mts", "default": "./esm/index.js" } }, "types": "./index.d.mts", "module": "./esm/index.js", "keywords": [ "i18next", "i18next-plugin", "locize" ], "homepage": "https://github.com/locize/locize-lastused", "bugs": "https://github.com/locize/locize-lastused/issues", "repository": { "type": "git", "url": "git@github.com:locize/locize-lastused.git" }, "dependencies": {}, "devDependencies": { "eslint": "9.39.4", "expect.js": "0.3.1", "globals": "17.6.0", "i18next": "23.16.7", "json-server": "0.17.4", "mocha": "10.8.2", "neostandard": "0.13.0", "tsd": "0.31.2", "tsdown": "0.21.10", "typescript": "5.6.3", "xmlhttprequest": "1.8.0" }, "scripts": { "lint": "eslint .", "build": "tsdown && npm run finalize", "finalize": "cp index.d.mts esm/index.d.mts && cp index.d.ts esm/index.d.ts && cp index.d.ts cjs/index.d.ts && echo '{\"type\":\"commonjs\"}' > cjs/package.json", "test:xmlhttpreq": "mocha test -R spec --require test/fixtures/xmlHttpRequest.cjs --exit --experimental-modules", "test:fetch": "mocha test -R spec --exit --experimental-modules", "test:typescript": "tsc --noEmit && tsd", "test": "npm run lint && npm run build && npm run test:fetch && npm run test:xmlhttpreq && npm run test:typescript", "preversion": "npm run test && npm run build && git push", "postversion": "git push && git push --tags" }, "tsd": { "directory": "test/typescript" }, "author": "locize", "license": "MIT" }