@cobre-npm/library-onboarding-core 0.1.0

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/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "@cobre-npm/library-onboarding-core",
3
+ "version": "0.1.0",
4
+ "description": "Configuraciones y recursos transversales para los MFEs de onboarding",
5
+ "main": "./src/index.js",
6
+ "exports": {
7
+ ".": "./src/index.js",
8
+ "./locales/*": "./src/locales/*.json"
9
+ },
10
+ "files": [
11
+ "src"
12
+ ],
13
+ "scripts": {
14
+ "lint": "eslint . --fix",
15
+ "publish:prod": "npm publish"
16
+ },
17
+ "license": "ISC",
18
+ "packageManager": "pnpm@10.27.0"
19
+ }
package/src/index.js ADDED
@@ -0,0 +1,11 @@
1
+ const SharedEn = require('./locales/Shared/en.json')
2
+ const SharedEs = require('./locales/Shared/es.json')
3
+ const SummaryEn = require('./locales/Summary/en.json')
4
+ const SummaryEs = require('./locales/Summary/es.json')
5
+
6
+ const locales = {
7
+ Shared: { en: SharedEn, es: SharedEs },
8
+ Summary: { en: SummaryEn, es: SummaryEs }
9
+ }
10
+
11
+ module.exports = { locales }