2024-01-08 23:49:06 +00:00
|
|
|
{
|
2024-01-09 17:04:02 +00:00
|
|
|
"name": "@goauthentik/localization",
|
2024-01-08 23:49:06 +00:00
|
|
|
"version": "0.0.0",
|
|
|
|
"private": true,
|
|
|
|
"license": "MIT",
|
2024-01-09 17:04:02 +00:00
|
|
|
"type": "module",
|
|
|
|
"main": "./src/locale-codes.js",
|
2024-01-08 23:49:06 +00:00
|
|
|
"scripts": {
|
2024-01-09 19:11:53 +00:00
|
|
|
"build": "run-s build-locales compile fix:lint fix:prettier",
|
2024-01-09 17:04:02 +00:00
|
|
|
"build-locales": "lit-localize build",
|
|
|
|
"compile": "node ./build.mjs",
|
2024-01-09 21:06:10 +00:00
|
|
|
"clean:dist": "rimraf dist scripts/*.mjs",
|
|
|
|
"clean:build": "rimraf src",
|
|
|
|
"clean": "npm-run-all --parallel clean:dist clean:build",
|
2024-01-09 17:04:02 +00:00
|
|
|
"extract-locales": "run-p localization:extract localization:pseudolocalize",
|
|
|
|
"lint:lint": "eslint . --max-warnings 0",
|
2024-01-09 19:11:53 +00:00
|
|
|
"fix:lint": "eslint . --max-warnings 0 --fix dist/locale-codes.js",
|
2024-01-09 17:04:02 +00:00
|
|
|
"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"
|
2024-01-08 23:49:06 +00:00
|
|
|
},
|
2024-01-09 17:04:02 +00:00
|
|
|
"exports": {
|
|
|
|
"./locale-codes": "./dist/locale-codes.js",
|
|
|
|
"./locale-codes.js": "./dist/locale-codes.js",
|
|
|
|
"./*": "./dist/locales/*"
|
2024-01-08 23:49:06 +00:00
|
|
|
},
|
2024-01-09 17:04:02 +00:00
|
|
|
"files": [
|
|
|
|
"./dist/**/*"
|
|
|
|
],
|
2024-01-08 23:49:06 +00:00
|
|
|
"devDependencies": {
|
2024-01-09 21:06:10 +00:00
|
|
|
"@lit/localize-tools": "^0.7.1",
|
2024-01-09 17:04:02 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.17.0",
|
|
|
|
"@typescript-eslint/parser": "^6.17.0",
|
2024-01-09 21:06:10 +00:00
|
|
|
"esbuild": "^0.19.10",
|
2024-01-08 23:49:06 +00:00
|
|
|
"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",
|
2024-01-09 21:06:10 +00:00
|
|
|
"rimraf": "^5.0.5",
|
|
|
|
"typescript": "^5.3.3"
|
2024-01-08 23:49:06 +00:00
|
|
|
}
|
|
|
|
}
|