This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
/
package.json
74 lines (74 loc) · 2.1 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
{
"name": "@khanacademy/flow-to-ts",
"version": "0.5.2",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/khan/flow-to-ts"
},
"main": "dist/convert.js",
"bin": {
"flow-to-ts": "./bin/flow-to-ts.js"
},
"files": [
"bin/",
"dist/"
],
"license": "MIT",
"dependencies": {
"commander": "^2.19.0",
"glob": "^7.1.6",
"prettier": "2.2.1",
"trim-right": "^1.0.1"
},
"devDependencies": {
"@babel/core": "^7.13.10",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-decorators": "^7.13.5",
"@babel/plugin-transform-flow-strip-types": "^7.13.0",
"@babel/plugin-transform-typescript": "^7.13.0",
"@babel/preset-env": "^7.13.10",
"@babel/preset-flow": "^7.12.13",
"@babel/preset-typescript": "^7.13.0",
"@types/jest": "^26.0.20",
"@types/prettier": "^2.2.3",
"@types/typescript": "^2.0.0",
"babel-loader": "^8.2.2",
"babel-plugin-module-resolver": "^4.1.0",
"codecov": "^3.2.0",
"flow-bin": "^0.98.0",
"husky": "^1.3.1",
"jest": "^26.6.3",
"jest-mock-console": "^0.4.2",
"jest-mock-process": "^1.2.0",
"tmp": "^0.1.0",
"ts-jest": "^26.5.4",
"typescript": "^4.2.3",
"webpack": "^5.27.0",
"webpack-cli": "^4.5.0"
},
"scripts": {
"prepare": "git submodule update --init --recursive && cd babel && yarn install && cd ..",
"prepublishOnly": "webpack build",
"build": "webpack build",
"type-check": "tsc --project tsconfig.json",
"watch": "tsc --watch --project tsconfig.json",
"test": "jest",
"coverage": "jest --coverage",
"pretty-quick": "prettier src/*.ts test/*.ts playground/src/*.tsx --write",
"pretty-tests": "prettier ./test/fixtures/**/ts.js --parser typescript --write && prettier ./test/fixtures/**/flow.js --parser flow --write"
},
"husky": {
"hooks": {
"pre-push": "npm test",
"pre-commit": "npm run pretty-quick && npm run pretty-tests"
}
},
"jest": {
"setupFilesAfterEnv": [
"jest-mock-console/dist/setupTestFramework.js"
]
}
}