This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/web/packages/localization/package.json
2024-01-09 13:06:10 -08:00

48 lines
2 KiB
JSON

{
"name": "@goauthentik/localization",
"version": "0.0.0",
"private": true,
"license": "MIT",
"type": "module",
"main": "./src/locale-codes.js",
"scripts": {
"build": "run-s build-locales compile fix:lint fix:prettier",
"build-locales": "lit-localize build",
"compile": "node ./build.mjs",
"clean:dist": "rimraf dist scripts/*.mjs",
"clean:build": "rimraf src",
"clean": "npm-run-all --parallel clean:dist clean:build",
"extract-locales": "run-p localization:extract localization:pseudolocalize",
"lint:lint": "eslint . --max-warnings 0",
"fix:lint": "eslint . --max-warnings 0 --fix dist/locale-codes.js",
"fix:prettier": "prettier --write ./src/**/* ./package.json ./lit-localize.json",
"lint:prettier": "prettier ./src/**/* ./package.json ./lit-localize.json",
"localization:extract": "lit-localize extract",
"localization:pseudolocalize": "run-s pseudolocalize:build-extract-script pseudolocalize:extract",
"pseudolocalize:build-extract-script": "cd scripts && tsc --esModuleInterop --module es2020 --moduleResolution 'node' pseudolocalize.ts && mv pseudolocalize.js pseudolocalize.mjs",
"pseudolocalize:extract": "node scripts/pseudolocalize.mjs"
},
"exports": {
"./locale-codes": "./dist/locale-codes.js",
"./locale-codes.js": "./dist/locale-codes.js",
"./*": "./dist/locales/*"
},
"files": [
"./dist/**/*"
],
"devDependencies": {
"@lit/localize-tools": "^0.7.1",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"esbuild": "^0.19.10",
"eslint": "^8.56.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-custom-elements": "0.0.8",
"npm-run-all": "^4.1.5",
"prettier": "^3.1.1",
"pseudolocale": "^2.0.0",
"rimraf": "^5.0.5",
"typescript": "^5.3.3"
}
}