forked from milesj/babel-plugin-typescript-to-proptypes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 2.68 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
99
100
101
102
103
104
105
106
107
{
"name": "babel-plugin-typescript-to-proptypes",
"version": "0.17.1",
"description": "Generate React PropTypes from TypeScript prop interfaces.",
"repository": "https://github.com/milesj/babel-plugin-typescript-to-proptypes",
"license": "MIT",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"keywords": [
"babel-plugin",
"typescript",
"interfaces",
"prop-types",
"react"
],
"scripts": {
"build": "beemo typescript",
"coverage": "yarn run jest --coverage",
"eslint": "beemo eslint",
"jest": "beemo jest",
"prettier": "beemo prettier",
"release": "np --yolo --no-yarn",
"type": "beemo typescript --noEmit",
"prerelease": "yarn test && yarn run build",
"pretest": "yarn run type",
"test": "yarn run jest",
"posttest": "yarn run eslint"
},
"peerDependencies": {
"@babel/core": "^7.0.0",
"typescript": "^3.0.0"
},
"dependencies": {
"@babel/helper-module-imports": "^7.0.0",
"@babel/helper-plugin-utils": "^7.0.0",
"@babel/plugin-syntax-typescript": "^7.2.0"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.3.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@milesj/build-tools": "^0.25.6",
"@types/babel-core": "^6.25.5",
"@types/babel-types": "^7.0.4",
"@types/prop-types": "^15.5.8",
"@types/react": "^16.8.2",
"fast-glob": "^2.2.6",
"prop-types": "^15.7.1",
"typescript": "^3.3.3"
},
"beemo": {
"module": "@milesj/build-tools",
"drivers": [
"babel",
"eslint",
"jest",
"prettier",
"typescript"
],
"settings": {
"node": true
},
"babel": {
"sourceType": "module",
"ignore": [
"tests/fixtures/**/*.js"
]
},
"eslint": {
"rules": {
"complexity": "off",
"no-shadow": "off",
"no-param-reassign": "off",
"no-use-before-define": "off",
"react/forbid-foreign-prop-types": "off",
"typescript/no-use-before-define": "off",
"import/no-extraneous-dependencies": "off"
},
"ignore": [
"tests/fixtures/"
]
},
"jest": {
"testPathIgnorePatterns": [
"/node_modules/",
"/tests/fixtures/"
],
"testEnvironment": "node",
"transformIgnorePatterns": [
"/node_modules/",
"/tests/fixtures/"
],
"modulePathIgnorePatterns": [
"/node_modules/",
"/tests/fixtures/"
]
},
"typescript": {
"exclude": [
"./tests/fixtures/**/*"
]
}
}
}