-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
112 lines (112 loc) · 2.61 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
108
109
110
111
112
{
"name": "react-docgen-displayname-handler",
"version": "0.0.0-development",
"description": "A handler for react-docgen that tries to infer the displayName of a component",
"license": "MIT",
"author": "nerdlabs <nerds@nerdlabs.it>",
"keywords": [
"react",
"documentation-generation",
"react-docgen"
],
"homepage": "https://github.com/nerdlabs/react-docgen-displayname-handler#readme",
"bugs": {
"url": "https://github.com/nerdlabs/react-docgen-displayname-handler/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/nerdlabs/react-docgen-displayname-handler.git"
},
"engines": {
"node": ">=8.10.0"
},
"files": [
"distribution"
],
"main": "distribution/index.js",
"scripts": {
"flow": "flow",
"lint": "eslint source/",
"fmt": "prettier --write source/*.js",
"build": "rimraf distribution/ && babel source/ --out-dir distribution/ --ignore **/*.spec.js",
"pretest:unit": "npm run flow",
"test:unit": "ava",
"test": "npm run test:unit && tav"
},
"ava": {
"sources": [
"source/**/*.js"
],
"require": [
"@babel/register"
]
},
"babel": {
"presets": [
[
"@babel/env",
{
"targets": {
"node": "8.10.0"
}
}
]
],
"plugins": [
"@babel/syntax-flow",
"@babel/transform-flow-strip-types"
]
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:prettier/recommended"
],
"parser": "babel-eslint",
"env": {
"node": true
},
"globals": {
"ASTNode": true,
"Documentation": true,
"FlowTypeDescriptor": true,
"NodePath": true,
"PropDescriptor": true,
"PropTypeDescriptor": true
},
"rules": {
"prettier/prettier": "error"
}
},
"eslintIgnore": [
"distribution/"
],
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"peerDependencies": {
"react-docgen": "^3.0.0 || ^4.0.0 || ^5.0.0-beta || ^5.0.0"
},
"devDependencies": {
"@babel/cli": "7.13.10",
"@babel/core": "7.13.10",
"@babel/plugin-syntax-flow": "7.12.13",
"@babel/plugin-transform-flow-strip-types": "7.13.0",
"@babel/preset-env": "7.13.10",
"@babel/register": "7.13.8",
"ava": "2.4.0",
"babel-eslint": "10.1.0",
"eslint": "7.22.0",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-prettier": "3.3.1",
"flow-bin": "0.131.0",
"prettier": "2.2.1",
"react-docgen": "5.3.1",
"rimraf": "3.0.2",
"test-all-versions": "4.1.1"
},
"dependencies": {
"ast-types": "0.14.2"
}
}