@selfcommunity/react-i18n 0.7.7-alpha.0 → 0.7.7-alpha.2
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/lib/cjs/index.d.ts +172 -0
- package/lib/cjs/locales/en.json +88 -2
- package/lib/cjs/locales/it.json +88 -2
- package/lib/esm/index.d.ts +172 -0
- package/lib/esm/locales/en.json +88 -2
- package/lib/esm/locales/it.json +88 -2
- package/lib/types/index.d.ts +172 -0
- package/lib/types/locales/en.json +88 -2
- package/lib/types/locales/it.json +88 -2
- package/lib/types/tsconfig.build.tsbuildinfo +1 -1
- package/lib/umd/react-i18n.js +1 -1
- package/package.json +111 -106
package/package.json
CHANGED
|
@@ -1,108 +1,113 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
2
|
+
"name": "@selfcommunity/react-i18n",
|
|
3
|
+
"version": "0.7.7-alpha.2",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"private": false,
|
|
6
|
+
"main": "./lib/cjs/index.js",
|
|
7
|
+
"module": "./lib/esm/index.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"require": "./lib/cjs/index.js",
|
|
11
|
+
"import": "./lib/esm/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./*": {
|
|
14
|
+
"require": "./lib/cjs/*",
|
|
15
|
+
"import": "./lib/esm/*"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"sideEffects": false,
|
|
19
|
+
"types": "./lib/types/index.d.ts",
|
|
20
|
+
"description": "Translations to integrate a Community created with SelfCommunity.",
|
|
21
|
+
"author": "SelfCommunity <https://www.selfcommunity.com>",
|
|
22
|
+
"keywords": [
|
|
23
|
+
"react",
|
|
24
|
+
"widgets",
|
|
25
|
+
"community",
|
|
26
|
+
"selfcommunity",
|
|
27
|
+
"community-i18n",
|
|
28
|
+
"selfcommunity i18n"
|
|
29
|
+
],
|
|
30
|
+
"scripts": {
|
|
31
|
+
"prepare": "install-peers -f",
|
|
32
|
+
"install-peers": "install-peers -f",
|
|
33
|
+
"test": "npm run lint && npm run test-only",
|
|
34
|
+
"test-only": "jest --runInBand",
|
|
35
|
+
"tdd": "jest --watch --runInBand",
|
|
36
|
+
"lint": "eslint ./src test --ext .ts,.tsx,.js",
|
|
37
|
+
"prettier": "prettier './**/*.js' './**/*.css' './**/*.md' --write",
|
|
38
|
+
"prettier-list-different": "prettier './**/*.js' './**/*.css' './**/*.md' --list-different",
|
|
39
|
+
"clean:lib": "rimraf lib",
|
|
40
|
+
"clean:node_modules": "rimraf node_modules",
|
|
41
|
+
"build:commonjs": "tsc -b tsconfig-cjs.build.json",
|
|
42
|
+
"build:esm": "tsc -b tsconfig-esm.build.json",
|
|
43
|
+
"build:umd": "webpack --mode production",
|
|
44
|
+
"build:umd:analyze": "webpack --mode production --profile --json > ./lib/umd/stats.json && webpack-bundle-analyzer ./lib/umd/stats.json",
|
|
45
|
+
"build:types": "tsc -b tsconfig.build.json",
|
|
46
|
+
"build": "yarn clean:lib && yarn build:commonjs && yarn build:esm && yarn build:umd && yarn build:types",
|
|
47
|
+
"prerelease": "yarn run clean:lib && yarn run build"
|
|
48
|
+
},
|
|
49
|
+
"homepage": "https://www.selfcommunity.com",
|
|
50
|
+
"files": [
|
|
51
|
+
"lib"
|
|
52
|
+
],
|
|
53
|
+
"repository": {
|
|
54
|
+
"type": "git",
|
|
55
|
+
"url": "https://github.com/selfcommunity/community-js/tree/main/packages/react-i18n"
|
|
56
|
+
},
|
|
57
|
+
"publishConfig": {
|
|
58
|
+
"access": "public"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@babel/core": "^7.7.4",
|
|
62
|
+
"@babel/preset-env": "^7.25.8",
|
|
63
|
+
"@babel/preset-react": "^7.7.4",
|
|
64
|
+
"@babel/preset-typescript": "^7.7.4",
|
|
65
|
+
"@types/chai": "^4.2.14",
|
|
66
|
+
"@types/enzyme": "^3.10.8",
|
|
67
|
+
"@types/jest": "^26.0.20",
|
|
68
|
+
"@types/react": "17 || 18",
|
|
69
|
+
"@types/react-dom": "17 || 18",
|
|
70
|
+
"@types/sinon": "^9.0.10",
|
|
71
|
+
"@typescript-eslint/eslint-plugin": "^4.14.2",
|
|
72
|
+
"@typescript-eslint/parser": "^4.14.2",
|
|
73
|
+
"babel-jest": "^26.6.3",
|
|
74
|
+
"babel-loader": "^8.2.2",
|
|
75
|
+
"babel-preset-env-modules": "^1.0.0",
|
|
76
|
+
"chai": "^4.2.0",
|
|
77
|
+
"cherry-pick": "^0.5.0",
|
|
78
|
+
"enzyme": "^3.10.0",
|
|
79
|
+
"enzyme-adapter-react-16": "^1.15.6",
|
|
80
|
+
"eslint": "^7.19.0",
|
|
81
|
+
"eslint-config-prettier": "^7.2.0",
|
|
82
|
+
"eslint-plugin-import": "^2.22.1",
|
|
83
|
+
"eslint-plugin-mocha": "^8.0.0",
|
|
84
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
85
|
+
"eslint-plugin-react": "^7.22.0",
|
|
86
|
+
"eslint-plugin-react-hooks": "^4.2.0",
|
|
87
|
+
"faker": "^5.3.1",
|
|
88
|
+
"install-peers-cli": "^2.2.0",
|
|
89
|
+
"jest": "^26.6.3",
|
|
90
|
+
"lodash": "^4.17.15",
|
|
91
|
+
"postcss": "^8.2.4",
|
|
92
|
+
"prettier": "^2.2.1",
|
|
93
|
+
"rimraf": "^3.0.2",
|
|
94
|
+
"sass": "^1.32.6",
|
|
95
|
+
"sinon": "^9.2.4",
|
|
96
|
+
"tslib": "^2.6.2",
|
|
97
|
+
"typescript": "^4.1.3",
|
|
98
|
+
"webpack": "^5.20.1",
|
|
99
|
+
"webpack-bundle-analyzer": "^4.9.0",
|
|
100
|
+
"webpack-cli": "^4.5.0"
|
|
101
|
+
},
|
|
102
|
+
"prettier": {
|
|
103
|
+
"printWidth": 150,
|
|
104
|
+
"bracketSpacing": false,
|
|
105
|
+
"trailingComma": "none",
|
|
106
|
+
"singleQuote": true,
|
|
107
|
+
"bracketSameLine": true
|
|
108
|
+
},
|
|
109
|
+
"bugs": {
|
|
110
|
+
"url": "https://github.com/selfcommunity/community-js/issues"
|
|
111
|
+
},
|
|
112
|
+
"gitHead": "d1e76de34050080cff753b4419d7c8b85d31c75d"
|
|
108
113
|
}
|