forked from i18next/i18next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 4.16 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "i18next",
"version": "15.0.9",
"description": "i18next internationalization framework",
"main": "./index.js",
"types": "index.d.ts",
"jsnext:main": "dist/es/index.js",
"module": "dist/es/index.js",
"keywords": [
"i18next",
"internationalization",
"i18n",
"translation",
"localization",
"l10n",
"globalization",
"gettext"
],
"homepage": "http://i18next.com",
"bugs": "https://github.com/i18next/i18next/issues",
"repository": {
"type": "git",
"url": "https://github.com/i18next/i18next.git"
},
"dependencies": {
"@babel/runtime": "^7.3.1"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-async-generator-functions": "^7.2.0",
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-eslint": "^10.0.1",
"babelify": "^10.0.0",
"browserify": "14.0.0",
"browserify-istanbul": "2.0.0",
"chai": "3.5.0",
"coveralls": "2.11.16",
"dtslint": "^0.4.2",
"eslint": "3.15.0",
"eslint-config-airbnb": "14.1.0",
"eslint-config-prettier": "^3.6.0",
"eslint-plugin-import": "2.2.0",
"eslint-plugin-jsx-a11y": "4.0.0",
"eslint-plugin-react": "6.9.0",
"husky": "^1.3.1",
"i18next-browser-languagedetector": "1.0.1",
"i18next-localstorage-cache": "0.3.0",
"i18next-sprintf-postprocessor": "0.2.2",
"i18next-xhr-backend": "1.3.0",
"istanbul": "gotwarlost/istanbul#source-map",
"karma": "2.0.0",
"karma-browserify": "5.1.1",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "2.2.0",
"karma-cli": "1.0.1",
"karma-coverage": "douglasduteil/karma-coverage#next",
"karma-coveralls": "1.1.2",
"karma-expect": "1.1.3",
"karma-mocha": "1.3.0",
"karma-rollup-preprocessor": "3.0.3",
"karma-sinon": "1.0.5",
"karma-spec-reporter": "0.0.26",
"lint-staged": "^8.1.0",
"mkdirp": "0.5.1",
"mocha": "3.2.0",
"prettier": "^1.15.3",
"rimraf": "2.5.4",
"rollup": "1.1.2",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "4.0.0",
"rollup-plugin-terser": "^4.0.4",
"sinon": "1.17.7",
"tslint": "^5.12.1",
"typescript": "^3.2.4",
"watchify": "3.9.0",
"yargs": "6.6.0"
},
"scripts": {
"pretest": "npm run test:typescript",
"test": "npm run test:new && npm run test:compat",
"test:new": "karma start karma.conf.js --singleRun",
"test:compat": "karma start karma.backward.conf.js --singleRun",
"test:typescript": "tslint --project tsconfig.json",
"tdd": "karma start karma.conf.js",
"tdd:compat": "karma start karma.backward.conf.js",
"clean": "rimraf dist && mkdirp dist",
"copy": "cp ./dist/umd/i18next.min.js ./i18next.min.js && cp ./dist/umd/i18next.js ./i18next.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 umd --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 copy",
"preversion": "npm run test && npm run build && git push",
"postversion": "git push && git push --tags",
"prettier": "prettier --write \"{,**/}*.{ts,tsx,js,json,md}\""
},
"author": "Jan Mühlemann <[email protected]> (https://github.com/jamuhl)",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"*.{ts,tsx,js,json,md}": [
"prettier --write",
"git add"
]
},
"ignore": [
"**/dist/**/*.js",
"**/i18next.js",
"**/i18next.min.js"
]
}
}