-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
98 lines (98 loc) · 2.83 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
96
97
98
{
"name": "babel-plugin-reflow",
"version": "0.3.4",
"description": "Babel plugin to transpile Flow code to TypeScript",
"author": "Jonathan Gruber <gruberjonathan@gmail.com>",
"license": "MIT",
"main": "build/plugin.js",
"bin": {
"reflow": "build/reflow.js"
},
"repository": {
"type": "git",
"url": "https://github.com/grubersjoe/reflow.git"
},
"bugs": "https://github.com/grubersjoe/reflow/issues",
"files": [
"./*",
"build/*",
"src/*"
],
"engines": {
"node": ">=8.0.0"
},
"keywords": [
"babel-plugin",
"flow",
"typescript",
"babel-plugin-flow",
"babel-plugin-typescript",
"babel-plugin-flow-to-typescript",
"babel-plugin-flow-to-ts"
],
"devDependencies": {
"@babel/preset-env": "^7.7.7",
"@babel/preset-typescript": "^7.7.7",
"@types/babel__core": "^7.1.3",
"@types/jest": "^24.0.25",
"@types/node": "^13.1.1",
"@types/react": "^16.9.17",
"@typescript-eslint/eslint-plugin": "^2.13.0",
"@typescript-eslint/parser": "^2.13.0",
"babel-loader": "^8.0.6",
"coveralls": "^3.0.9",
"eslint": "^6.8.0",
"flow-bin": "^0.114.0",
"husky": "^3.1.0",
"jest": "^24.9.0",
"ts-jest": "^24.2.0",
"typescript": "^3.7.4",
"webpack": "^4.41.4",
"webpack-cli": "^3.3.10",
"webpack-node-externals": "^1.7.2"
},
"dependencies": {
"@babel/code-frame": "^7.5.5",
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-decorators": "^7.7.4",
"@babel/plugin-syntax-class-properties": "^7.7.4",
"@babel/plugin-syntax-decorators": "^7.7.4",
"@babel/plugin-syntax-dynamic-import": "^7.7.4",
"@babel/plugin-syntax-flow": "^7.7.4",
"@babel/plugin-syntax-jsx": "^7.7.4",
"@babel/types": "^7.7.4",
"@types/babel__code-frame": "^7.0.1",
"@types/diff": "^4.0.1",
"@types/glob": "^7.1.1",
"@types/lodash": "^4.14.149",
"@types/prettier": "^1.19.0",
"chalk": "^3.0.0",
"commander": "^4.0.1",
"diff": "^4.0.1",
"glob": "^7.1.6",
"lodash": "^4.17.15",
"prettier-reflow": "^1.18.2-2"
},
"resolutions": {
"@babel/core": "^7.7.0",
"@babel/types": "^7.7.0"
},
"scripts": {
"build": "node --max_old_space_size=4096 ./node_modules/.bin/webpack --mode=production --progress",
"clean": "rm -f build/*",
"dev": "webpack -w",
"format": "prettier-reflow --write 'src/**/*' './*.{js,json,md}'",
"lint": "eslint --max-warnings=0 'src/**/*.ts'",
"postbuild": "chmod +x build/reflow.js",
"prebuild": "yarn clean",
"prepublishOnly": "yarn tsc && yarn lint && yarn test",
"test": "jest -i --silent",
"test:ci": "yarn test --ci",
"test:coverage": "yarn test --coverage && xdg-open .coverage/lcov-report/index.html"
},
"husky": {
"hooks": {
"pre-commit": "prettier-reflow --check 'src/**/*' './*.{js,json,md}' && yarn lint"
}
}
}