-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
95 lines (95 loc) · 2.57 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
{
"name": "retranslate",
"description": "Real simple translations for react.",
"main": "dist/retranslate.js",
"version": "1.2.0",
"license": "MIT",
"bugs": {
"url": "https://github.com/tankenstein/retranslate/issues",
"email": "ukutammet@gmail.com"
},
"files": [
"dist/"
],
"keywords": [
"react",
"i18n",
"localization",
"translate",
"translation"
],
"repository": {
"type": "git",
"url": "git://github.com/tankenstein/retranslate.git"
},
"author": "Uku Markus Tammet <ukutammet@gmail.com>",
"devDependencies": {
"@babel/core": "^7.0.0-rc.1",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-rc.1",
"@babel/preset-env": "^7.0.0-rc.1",
"@babel/preset-react": "^7.0.0-rc.2",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.4.2",
"babel-loader": "^8.0.0-beta.4",
"babel-plugin-transform-react-remove-prop-types": "^0.4.15",
"copy-webpack-plugin": "^5.1.1",
"coveralls": "^3.0.2",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"eslint": "^5.4.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.11.1",
"husky": "^0.14.3",
"jest": "^23.5.0",
"lint-staged": "^7.2.2",
"prettier": "^1.14.2",
"prettier-eslint-cli": "^4.7.1",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"webpack": "^4.17.0",
"webpack-cli": "^3.1.0"
},
"peerDependencies": {
"react": "^16.8.0"
},
"scripts": {
"precommit": "lint-staged",
"test": "npm run lint && npm run check-format && jest --env=jsdom",
"coverage": "jest --env=jsdom --coverage",
"test:watch": "jest --env=jsdom --watch",
"lint": "eslint src",
"check-format": "prettier-eslint \"src/**/*.js\" --list-different",
"format": "prettier-eslint \"src/**/*.js\" --write",
"build": "webpack -p"
},
"lint-staged": {
"*.js": [
"prettier-eslint \"src/**/*.js\" --write",
"git add"
]
},
"jest": {
"setupFiles": [
"<rootDir>/setupEnzyme.js"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"testPathIgnorePatterns": [
"<rootDir>[/\\\\](build|docs|node_modules)[/\\\\]"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
]
}
}