-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 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
{
"name": "i18next-mf2",
"version": "0.1.1",
"description": "i18nFormat plugin to use mf2 format with i18next",
"main": "./index.js",
"module": "dist/es/index.js",
"keywords": [
"i18next",
"i18next-format"
],
"homepage": "https://github.com/i18next/i18next-mf2",
"bugs": "https://github.com/i18next/i18next-mf2/issues",
"repository": {
"type": "git",
"url": "https://github.com/i18next/i18next-mf2"
},
"peerDependencies": {
"intl-messageformat": "^10.3.3"
},
"devDependencies": {
"@babel/cli": "^7.12.13",
"@babel/core": "^7.12.13",
"@babel/eslint-parser": "7.12.13",
"@babel/preset-env": "^7.12.13",
"@rollup/plugin-babel": "5.2.3",
"@rollup/plugin-node-resolve": "11.1.1",
"eslint": "7.19.0",
"eslint-config-airbnb": "18.2.1",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-react-hooks": "4.2.0",
"i18next": "^19.8.7",
"intl": "1.2.5",
"intl-locales-supported": "^1.8.12",
"intl-messageformat": "10.3.3",
"jest": "^26.6.3",
"mkdirp": "1.0.4",
"react": "17.0.1",
"react-intl": "5.12.2",
"request": "^2.88.2",
"rimraf": "3.0.2",
"rollup": "2.38.5",
"rollup-plugin-terser": "7.0.2",
"typescript": "^4.1.3",
"yargs": "16.2.0"
},
"scripts": {
"test": "tsc --noEmit && jest --coverage --runInBand --ci",
"tdd": "jest --watch",
"clean": "rimraf dist && mkdirp dist && rimraf locale-data",
"copy": "cp ./dist/umd/i18nextMF2.min.js ./i18nextMF2.min.js && cp ./dist/umd/i18nextMF2.js ./i18nextMF2.js",
"copy-win": "xcopy .\\dist\\umd\\i18nextMF2.min.js .\\i18nextMF2.min.js /y && xcopy .\\dist\\umd\\i18nextMF2.js .\\i18nextMF2.js /y",
"build:es": "BABEL_ENV=jsnext babel src --out-dir dist/es",
"build:es-win": "SET BABEL_ENV=jsnext babel src --out-dir dist/es",
"build:cjs": "babel src --out-dir dist/commonjs",
"build:rollup": "rollup -c rollup.config.js && rollup -c rollup.config.js --compact",
"build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:rollup && npm run copy",
"build-win": "npm run clean && npm run build:cjs && npm run build:es-win && npm run build:rollup && npm run copy-win",
"preversion": "npm run test && npm run build && git push",
"postversion": "git push && git push --tags"
},
"author": "Jan Mühlemann <[email protected]> (https://github.com/jamuhl)",
"contributors": [
"Gregory Beaver <[email protected]>"
],
"license": "MIT",
"lock": false
}