forked from lyft/react-javascript-to-typescript-transform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
50 lines (50 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
{
"name": "react-js-to-ts",
"version": "1.2.0",
"description": "Convert React code from JavaScript to TypeScript",
"main": "dist/index.js",
"scripts": {
"pretest": "npm run build",
"test": "jest",
"coverage": "jest --coverage",
"posttest": "npm run lint",
"prelint": "npm run clean",
"lint": "tslint --type-check --project tsconfig.json --format codeFrame --exclude test/**/*.tsx",
"prepublish": "npm run build",
"clean": "rm -rf dist",
"prebuild": "npm run clean",
"build": "tsc --pretty"
},
"jest": {
"mapCoverage": true,
"transform": {
".ts": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "test/runner.ts",
"moduleFileExtensions": [
"ts",
"js"
]
},
"bin": "dist/cli.js",
"author": "Mohsen Azimi <me@azimi.me>",
"license": "Apache-2.0",
"dependencies": {
"chalk": "^1.1.3",
"commander": "^2.10.0",
"glob": "^7.1.2",
"typescript": "^2.4.0"
},
"devDependencies": {
"@types/chalk": "^0.4.31",
"@types/commander": "^2.9.1",
"@types/glob": "^5.0.30",
"@types/jest": "^20.0.2",
"@types/node": "^8.0.2",
"@types/react": "^15.0.31",
"jest": "^20.0.4",
"ts-jest": "^20.0.6",
"ts-node": "^3.1.0",
"tslint": "^5.2.0"
}
}