-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.54 KB
/
package.json
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
{
"name": "react-html-i18n",
"version": "0.4.0",
"description": "React internationalization with ICU Message Format and HTML message support.",
"keywords": [
"react",
"i18n",
"intl",
"react-i18n",
"react-intl",
"internationalization",
"translation",
"html-translations",
"icu",
"icu-message-syntax",
"message-format"
],
"license": "MIT",
"repository": "exogen/react-html-i18n",
"files": [
"dist"
],
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm.js",
"browser": {
"./dist/index.cjs.js": "./dist/index.browser.cjs.js",
"./dist/index.esm.js": "./dist/index.browser.esm.js"
},
"sideEffects": false,
"scripts": {
"build": "rollup -c rollup.config.js",
"build:docs": "rimraf .next docs && next build && next export -o docs && touch docs/.nojekyll",
"format": "prettier --write \"**/*.{css,js,json,md}\"",
"perf": "yarn perf:lib && yarn perf:lib intl-messageformat-parser && yarn perf:lib messageformat-parser && yarn perf:lib format-message-parse && yarn perf:lib @ffz/icu-msgparser",
"perf:lib": "node scripts/perf.js",
"postbuild": "npm run size",
"prepare": "npm run build",
"size": "bundlesize",
"start": "next dev",
"pretest": "npm run build",
"test": "jest",
"test:only": "jest"
},
"bundlesize": [
{
"path": "dist/index.browser.esm.min.js",
"compression": "none",
"maxSize": "9 kB"
},
{
"path": "dist/index.browser.esm.min.js",
"maxSize": "4 kB"
},
{
"path": "dist/index.browser.cjs.min.js",
"compression": "none",
"maxSize": "9 kB"
},
{
"path": "dist/index.browser.cjs.min.js",
"maxSize": "4 kB"
}
],
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0"
},
"dependencies": {
"parse5": "^6.0.1",
"quick-lru": "^5.1.1",
"style-to-object": "^0.3.0"
},
"devDependencies": {
"@ffz/icu-msgparser": "^1.0.2",
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-replace": "^2.3.3",
"benchmark": "^2.1.4",
"bundlesize": "^0.18.0",
"format-message-parse": "^6.2.3",
"intl-messageformat-parser": "^6.0.10",
"jest": "^26.6.1",
"messageformat-parser": "^4.1.3",
"next": "^10.0.0",
"prettier": "^2.1.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-live": "^2.2.2",
"rimraf": "^3.0.2",
"rollup": "^2.32.1",
"rollup-plugin-terser": "^7.0.2"
}
}