-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
72 lines (72 loc) · 2.59 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
{
"name": "react-translated",
"version": "2.5.0",
"description": "A dead simple way to add complex translations in a React project 🌎",
"repository": "https://github.com/amsul/react-translated",
"author": "Amsul <[email protected]>",
"license": "MIT",
"scripts": {
"build": "rm -rf dist/ && yarn build:native && yarn build:dom && yarn build:examples",
"build:native": "cp -a lib/. dist/ && mv dist/index.js dist/react-translated.native.js",
"build:dom": "rollup -c",
"build:examples": "yarn build:examples:native && yarn build:examples:dom",
"build:examples:native": "rm -rf examples/react-native/dist/ && cp -a dist/. examples/react-native/dist/ && mkdir -p examples/react-native/dist/node_modules && cp -a node_modules/basic-parser/. examples/react-native/dist/node_modules/basic-parser",
"build:examples:dom": "rm -rf examples/react-dom/src/dist/ && cp -a dist/. examples/react-dom/src/dist/ && mkdir -p examples/react-dom/dist/node_modules && cp -a node_modules/basic-parser/. examples/react-dom/dist/node_modules/basic-parser",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"develop": "watch 'yarn build' lib/.",
"format": "prettier --write 'lib/**/*.js'",
"prepublish": "yarn format && yarn build",
"test": "echo TODO"
},
"files": [
"dist/**",
"lib/**"
],
"main": "dist/react-translated.js",
"module": "dist/react-translated.es.js",
"jsnext:main": "dist/react-translated.es.js",
"react-native": "dist/react-translated.native.js",
"keywords": [
"react",
"react-dom",
"react-native",
"translate",
"translation",
"internationalization",
"i18n"
],
"dependencies": {
"basic-parser": "^1.1.0",
"prop-types": "^15.6.0"
},
"devDependencies": {
"all-contributors-cli": "^4.10.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.0.2",
"babel-jest": "^21.2.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015-rollup": "^3.0.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"eslint": "^4.12.1",
"eslint-plugin-flowtype": "^2.39.1",
"eslint-plugin-react": "^7.5.1",
"flow-bin": "^0.78.0",
"flow-typed": "^2.5.1",
"prettier": "^1.9.2",
"rollup": "^0.52.0",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-flow": "^1.1.1",
"rollup-plugin-node-resolve": "^3.0.0",
"watch": "^1.0.2"
},
"peerDependencies": {
"react": ">=16.0.0"
},
"optionalPeerDependencies": {
"react-dom": ">=16.0.0",
"react-native": ">=0.50.0"
}
}