-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
75 lines (75 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
67
68
69
70
71
72
73
74
75
{
"name": "omi-i18n",
"version": "0.0.1",
"description": "omi-i18n solution for omi.js using i18next ecosystem",
"main": "./index.js",
"jsnext:main": "dist/es/index.js",
"module": "dist/es/index.js",
"keywords": [
"i18next",
"omi",
"i18n"
],
"homepage": "https://github.com/i18next/omi-i18n",
"bugs": "https://github.com/i18next/omi-i18n/issues",
"repository": {
"type": "git",
"url": "https://github.com/i18next/omi-i18n"
},
"dependencies": {
"i18next": "12.0.0"
},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-eslint": "7.2.3",
"babel-jest": "20.0.3",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-omi": "^0.1.1",
"babel-runtime": "6.26.0",
"chai": "^4.1.2",
"eslint": "^5.5.0",
"eslint-plugin-mocha": "^5.2.0",
"mocha": "^5.2.0",
"rimraf": "2.6.2",
"rollup": "0.41.1",
"rollup-plugin-babel": "3.0.7",
"rollup-plugin-node-resolve": "2.0.0",
"rollup-plugin-uglify": "1.0.1",
"sinon": "6.2.0",
"yargs": "12.0.2"
},
"scripts": {
"test": "mocha -r ./mocha_setup.js",
"tdd": "karma start karma.conf.js",
"clean": "rimraf dist && mkdirp dist",
"copy": "cp ./dist/umd/omi-i18n.min.js ./omi-i18n.min.js && cp ./dist/umd/omi-i18n.js ./omi-i18n.js",
"copy-win": "xcopy .\\dist\\umd\\omi-i18n.min.js .\\omi-i18n.min.js /y && xcopy .\\dist\\umd\\omi-i18n.js .\\i18nextFluent.js /y",
"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",
"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 <jan.muehlemann@gmail.com> (https://github.com/jamuhl)",
"license": "MIT",
"lock": false,
"babel": {
"presets": [
"env",
"omi"
],
"plugins": [
"transform-class-properties",
"transform-decorators-legacy",
"transform-object-rest-spread"
]
}
}