@trilogy-ds/locales 4.2.2-beta-6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,10 @@
1
+ # Package @trilogy-ds/locales
2
+
3
+ ## Description
4
+ This package contains localization files for the `@en` (English) and `@fr` (French) languages used in applications.
5
+
6
+ ## Installation
7
+ You can install this package via npm using one of the following commands:
8
+ ```bash
9
+ npm install @trilogy-ds/locales@en
10
+ npm install @trilogy-ds/locales@fr
package/lib/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ import inputLocale from './input.json';
2
+ export { inputLocale };
package/lib/index.js ADDED
@@ -0,0 +1,2 @@
1
+ import inputLocale from './input.json';
2
+ export { inputLocale };
package/lib/input.json ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "showPassword": "Show password",
3
+ "hidePassword": "Hide password"
4
+ }
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "@trilogy-ds/locales",
3
+ "version": "4.2.2-beta-6",
4
+ "description": "Trilogy assets include traductions for accessibility",
5
+ "author": "Bouygues Telecom",
6
+ "license": "UNLICENSED",
7
+ "main": "lib/index.js",
8
+ "types": "lib/index.d.ts",
9
+ "scripts": {
10
+ "build": "rimraf ./lib && tsc"
11
+ }
12
+ }
package/src/index.ts ADDED
@@ -0,0 +1,3 @@
1
+ import inputLocale from './input.json'
2
+
3
+ export { inputLocale }
package/src/input.json ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "showPassword":"Show password",
3
+ "hidePassword":"Hide password"
4
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "compilerOptions": {
3
+ "esModuleInterop": true,
4
+ "declaration": true,
5
+ "outDir": "./lib",
6
+ "allowJs": true,
7
+ "noEmit": false,
8
+ "skipLibCheck": true,
9
+ "target": "ES6",
10
+ "strict": true,
11
+ "resolveJsonModule": true,
12
+ "moduleResolution": "node",
13
+ },
14
+ "include": [
15
+ "src/**/*",
16
+ ],
17
+ "exclude": ["node_modules"]
18
+ }