-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
66 lines (66 loc) · 2.69 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
{
"name": "i18next-fluent",
"version": "2.0.0",
"description": "i18nFormat plugin to use fluent format with i18next",
"main": "./index.js",
"jsnext:main": "dist/es/index.js",
"keywords": [
"i18next",
"i18next-format",
"fluent"
],
"homepage": "https://github.com/i18next/i18next-fluent",
"bugs": "https://github.com/i18next/i18next-fluent/issues",
"repository": {
"type": "git",
"url": "https://github.com/i18next/i18next-fluent"
},
"dependencies": {
"@fluent/bundle": "^0.13.0",
"fluent_conv": "^3.1.0"
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.5",
"@babel/plugin-proposal-async-generator-functions": "^7.15.0",
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
"@babel/plugin-transform-modules-commonjs": "^7.15.4-",
"@babel/preset-env": "^7.15.6",
"@babel/register": "^7.15.3",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-node-resolve": "13.0.5",
"babel-eslint": "^10.1.0",
"chai": "^4.3.4",
"eslint": "^7.32.0",
"eslint-plugin-mocha": "^9.0.0",
"i18next": "^21.0.2",
"mkdirp": "^1.0.4",
"mocha": "^9.1.1",
"rimraf": "3.0.2",
"rollup": "2.57.0",
"rollup-plugin-terser": "^7.0.2",
"sinon": "11.1.2",
"yargs": "17.2.0"
},
"scripts": {
"test": "mocha -r ./mocha_setup.js",
"tdd": "karma start karma.conf.js",
"clean": "rimraf dist && mkdirp dist",
"copy": "cp ./dist/umd/i18nextFluent.min.js ./i18nextFluent.min.js && cp ./dist/umd/i18nextFluent.js ./i18nextFluent.js",
"copy-win": "xcopy .\\dist\\umd\\i18nextFluent.min.js .\\i18nextFluent.min.js /y && xcopy .\\dist\\umd\\i18nextFluent.js .\\i18nextFluent.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: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",
"build-win": "npm run clean && npm run build:cjs && npm run build:es-win && npm run build:umd && 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)",
"license": "MIT",
"lock": false
}