forked from piscium2010/react-proptypes-to-typescript
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
72 lines (72 loc) · 2.4 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
{
"name": "@cultureamp/react-proptypes-to-typescript",
"version": "1.0.6",
"description": "Convert React code from JavaScript to TypeScript",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"pretest": "npm run build",
"test": "jest",
"coverage": "jest --coverage",
"posttest": "npm run lint",
"prelint": "npm run clean",
"lint": "tslint --project tsconfig.json --format codeFrame --exclude test/**/*.tsx",
"prepublish": "npm run build",
"clean": "rm -rf dist",
"clean:win": "rmdir /q /s dist",
"prebuild": "npm run clean",
"build": "tsc --pretty",
"precommit": "lint-staged",
"prettier": "prettier --write *.{js,json,css,md,ts,tsx}"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"jest": {
"transform": {
".ts": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/tests/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testURL": "http://localhost/",
"moduleFileExtensions": ["ts", "js"]
},
"lint-staged": {
"*.{js,json,css,md,ts,tsx}": ["node_modules/.bin/prettier --write", "git add"]
},
"bin": "dist/cli.js",
"author": "piscium2010 <541032442@qq.com>",
"license": "Apache-2.0",
"dependencies": {
"chalk": "^2.4.1",
"commander": "^2.15.1",
"detect-indent": "^5.0.0",
"glob": "^7.1.2",
"lodash": "^4.17.11",
"prettier": "^1.12.1",
"typescript": "^3.8.3"
},
"devDependencies": {
"@types/chalk": "^2.2.0",
"@types/commander": "^2.9.1",
"@types/detect-indent": "^5.0.0",
"@types/glob": "^5.0.35",
"@types/jest": "^22.2.3",
"@types/lodash": "^4.14.135",
"@types/node": "^10.1.2",
"@types/prettier": "^1.12.2",
"@types/react": "^16.3.14",
"dedent": "^0.7.0",
"husky": "^0.14.3",
"jest": "^22.4.4",
"lint-staged": "^7.1.1",
"ts-jest": "^22.4.6",
"ts-node": "^6.0.3",
"tslint": "^5.10.0"
},
"repository": {
"type": "git",
"url": "https://github.com/cultureamp/react-proptypes-to-typescript.git"
},
"keywords": ["react", "typescript", "proptypes", "transform", "proptype"],
"homepage": "https://github.com/cultureamp/react-proptypes-to-typescript"
}