-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
82 lines (82 loc) · 2.95 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
{
"name": "i18nextify",
"version": "3.3.2",
"description": "enables localization of any page with zero effort",
"main": "./index.js",
"jsnext:main": "dist/es/index.js",
"browser": "i18nextify.min.js",
"keywords": [
"i18next",
"i18nextify",
"localization",
"internationalization",
"i18n",
"l10n",
"translation",
"virtual-dom"
],
"homepage": "https://github.com/i18next/i18nextify",
"bugs": "https://github.com/i18next/i18nextify/issues",
"dependencies": {
"@babel/runtime": "^7.23.2",
"i18next": "23.16.8",
"i18next-browser-languagedetector": "7.2.2",
"i18next-http-backend": "2.7.1",
"udc": "1.0.1",
"vdom-parser": "1.4.1",
"vdom-to-html": "2.3.1",
"vdom-virtualize": "2.0.0",
"virtual-dom": "2.1.1"
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.3",
"@babel/plugin-proposal-async-generator-functions": "^7.19.1",
"@babel/plugin-proposal-object-rest-spread": "^7.18.9",
"@babel/plugin-transform-modules-commonjs": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.19.1",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.19.3",
"@babel/preset-react": "^7.18.6",
"@babel/register": "^7.18.9",
"eslint": "6.7.2",
"eslint-config-airbnb": "18.0.1",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-react": "7.31.8",
"html-to-vdom": "^0.7.0",
"jest": "^24.9.0",
"jest-cli": "^24.9.0",
"mkdirp": "0.5.1",
"rimraf": "3.0.2",
"rollup": "1.27.8",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^10.0.2",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-terser": "^5.1.1",
"yargs": "15.0.2"
},
"scripts": {
"clean": "rimraf dist && mkdirp dist",
"copy": "cp ./dist/umd/i18nextify.min.js ./i18nextify.min.js && cp ./dist/umd/i18nextify.js ./i18nextify.js",
"build:es": "BABEL_ENV=jsnext babel src --out-dir dist/es",
"build:cjs": "babel src --out-dir dist/commonjs",
"build:umd": "rollup -c rollup.config.js --format umd && rollup -c rollup.config.js --format umd --uglify",
"build:amd": "rollup -c rollup.config.js --format amd && rollup -c rollup.config.js --format amd --uglify",
"build:iife": "rollup -c rollup.config.js --format iife && rollup -c rollup.config.js --format iife --uglify",
"build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:umd && npm run build:amd && npm run copy",
"preversion": "npm run build && git push",
"postversion": "git push && git push --tags",
"test": "BABEL_ENV=development jest --no-cache",
"test:watch": "BABEL_ENV=development jest --no-cache --watch"
},
"author": "Jan Mühlemann <[email protected]> (https://github.com/jamuhl)",
"license": "MIT",
"jest": {
"testMatch": [
"**/test/?(*.)(spec|test).js?(x)",
"**/test/localize/?(*.)(spec|test).js?(x)"
]
}
}