locon 0.0.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.
@@ -0,0 +1,5 @@
1
+ declare function Locon({ children }: {
2
+ children: string;
3
+ }): string;
4
+
5
+ export { Locon };
@@ -0,0 +1,5 @@
1
+ declare function Locon({ children }: {
2
+ children: string;
3
+ }): string;
4
+
5
+ export { Locon };
package/dist/index.js ADDED
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ // src/index.ts
4
+ function Locon({ children }) {
5
+ return `${children}-locon`;
6
+ }
7
+
8
+ exports.Locon = Locon;
package/dist/index.mjs ADDED
@@ -0,0 +1,6 @@
1
+ // src/index.ts
2
+ function Locon({ children }) {
3
+ return `${children}-locon`;
4
+ }
5
+
6
+ export { Locon };
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "locon",
3
+ "version": "0.0.1",
4
+ "description": "locon is a simple and lightweight library for React and React Native that provides a simple way to manage translations in your app.",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "scripts": {
12
+ "build": "tsup",
13
+ "test": "jest"
14
+ },
15
+ "keywords": [
16
+ "i18n",
17
+ "react",
18
+ "react-native",
19
+ "react native",
20
+ "reactjs",
21
+ "localization",
22
+ "globalization",
23
+ "translations",
24
+ "translation",
25
+ "internationalization",
26
+ "locon"
27
+ ],
28
+ "author": "loconapp",
29
+ "license": "ISC",
30
+ "devDependencies": {
31
+ "@babel/preset-react": "^7.24.7",
32
+ "@eslint/js": "^9.10.0",
33
+ "@semantic-release/exec": "^6.0.3",
34
+ "@semantic-release/git": "^10.0.1",
35
+ "@semantic-release/github": "11.0.1",
36
+ "@semantic-release/npm": "^12.0.1",
37
+ "@testing-library/jest-dom": "^6.5.0",
38
+ "@testing-library/react": "^16.0.1",
39
+ "@types/jest": "^29.5.12",
40
+ "@types/react-dom": "^18.3.0",
41
+ "@types/react": "^18.3.5",
42
+ "babel-jest": "^29.7.0",
43
+ "eslint-plugin-react": "^7.35.2",
44
+ "eslint": "^9.10.0",
45
+ "jest-environment-jsdom": "^29.7.0",
46
+ "jest": "^29.7.0",
47
+ "prettier": "3.4.1",
48
+ "react-dom": "^18.3.1",
49
+ "react": "^18.3.1",
50
+ "ts-jest": "^29.2.5",
51
+ "tsup": "^8.2.4",
52
+ "typescript-eslint": "^8.5.0",
53
+ "typescript": "^5.7.2"
54
+ }
55
+ }