@cloudtower/parrot 0.1.1

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,5 @@
1
+ # Parrot
2
+
3
+ Parrot is an i18n library for `@cloudtower/sparrow` and `@cloudtower/eagle`
4
+
5
+ ## How To
@@ -0,0 +1 @@
1
+ export * from "./src";
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from "./src";
@@ -0,0 +1 @@
1
+ export * from "./locales";
@@ -0,0 +1 @@
1
+ export * from "./locales";
@@ -0,0 +1,3 @@
1
+ {
2
+ "hello_world": "hello world"
3
+ }
@@ -0,0 +1 @@
1
+ export { default as basic } from "./basic.json";
@@ -0,0 +1 @@
1
+ export { default as basic } from "./basic.json";
@@ -0,0 +1,2 @@
1
+ export * as enUS from "./en-US";
2
+ export * as zhCN from "./zh-CN";
@@ -0,0 +1,2 @@
1
+ export * as enUS from "./en-US";
2
+ export * as zhCN from "./zh-CN";
@@ -0,0 +1,3 @@
1
+ {
2
+ "hello_world": "你好 世界"
3
+ }
@@ -0,0 +1 @@
1
+ export { default as basic } from "./basic.json";
@@ -0,0 +1 @@
1
+ export { default as basic } from "./basic.json";
package/index.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "./src";
package/package.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "@cloudtower/parrot",
3
+ "version": "0.1.1",
4
+ "description": "i18n modules for cloudtower sparrow and eagle",
5
+ "keywords": [
6
+ "i18n",
7
+ "i18next",
8
+ "typescript",
9
+ "tower"
10
+ ],
11
+ "main": "dist/index.js",
12
+ "scripts": {
13
+ "prebuild": "rm -rf dist",
14
+ "build": "tsc",
15
+ "lint": "eslint src --ext .ts --quiet"
16
+ },
17
+ "devDependencies": {
18
+ "typescript": "^4.8.4"
19
+ }
20
+ }
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "./locales";
@@ -0,0 +1,3 @@
1
+ {
2
+ "hello_world": "hello world"
3
+ }
@@ -0,0 +1 @@
1
+ export { default as basic } from "./basic.json";
@@ -0,0 +1,2 @@
1
+ export * as enUS from "./en-US";
2
+ export * as zhCN from "./zh-CN";
@@ -0,0 +1,3 @@
1
+ {
2
+ "hello_world": "你好 世界"
3
+ }
@@ -0,0 +1 @@
1
+ export { default as basic } from "./basic.json";
package/tsconfig.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "extends": "../../tsconfig.base.json",
3
+ "compilerOptions": {
4
+ "noEmit": false,
5
+ "outDir": "./dist",
6
+ "resolveJsonModule": true
7
+ },
8
+ "include": ["src", "index.ts"],
9
+ "exclude": ["node_modules"]
10
+ }