/
package.json
51 lines (51 loc) · 1.27 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
{
"name": "ru-plurals",
"version": "3.0.1",
"description": "Pluralization of russian words",
"author": "none23 <n.anisimov.23@gmail.com> (https://github.com/none23)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/none23/ru-plural.git"
},
"files": [
"index.js",
"index.js.flow",
"index.d.ts"
],
"scripts": {
"test": "jest src",
"test-watch": "jest --watch-all",
"lint-staged": "lint-staged",
"lint": "eslint",
"lint-fix": "yarn lint --fix",
"flow": "flow focus-check",
"build": "babel src/ --out-dir . --ignore 'src/*.test.js'",
"postbuild": "flow-copy-source --ignore=*.test.js src ."
},
"pre-commit": "lint-staged",
"lint-staged": {
"*.js": [
"yarn test",
"yarn lint",
"yarn flow",
"git-add"
]
},
"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/preset-env": "^7.7.7",
"@babel/preset-flow": "^7.7.4",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"eslint": "^6.8.0",
"eslint-config-none23": "^10.0.0-beta.4",
"flow-bin": "^0.114.0",
"flow-copy-source": "^2.0.9",
"jest": "^24.9.0",
"lint-staged": "^9.5.0",
"pre-commit": "^1.2.2",
"prettier": "^1.19.1"
}
}