-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 3.37 KB
/
package.json
File metadata and controls
131 lines (131 loc) · 3.37 KB
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "@skyeer/react-leaflet-custom-control",
"version": "0.0.6",
"description": "A React-Leaflet component that renders React elements in leaflet's control pane.",
"homepage": "https://github.com/skyeer/react-leaflet-custom-control#readme",
"author": "Ivan Hilckov",
"license": "MIT",
"main": "dist/react-leaflet-custom-control.js",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/skyeer/react-leaflet-custom-control.git"
},
"bugs": {
"url": "https://github.com/skyeer/react-leaflet-custom-control/issues"
},
"keywords": [
"react",
"leaflet",
"react-leaflet",
"react-leaflet-control"
],
"peerDependencies": {
"leaflet": "^1.3.1",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-leaflet": "^2.0.0"
},
"dependencies": {
"leaflet": "^1.3.1",
"prop-types": "^15.6.2",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-leaflet": "^2.0.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "8.2.6",
"babel-loader": "^7.1.5",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-env": "^1.7.0",
"babel-preset-react-app": "^3.1.2",
"babel-runtime": "^6.26.0",
"clean-webpack-plugin": "^0.1.19",
"cross-env": "^5.2.0",
"eslint": "5.3.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.10.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.0.0-rc.13",
"lint-staged": "^7.2.0",
"prettier": "1.14.0",
"webpack": "4.16.5",
"webpack-cli": "3.1.0",
"webpack-dev-server": "3.1.5",
"webpack-merge": "4.1.4"
},
"scripts": {
"build:dist": "cross-env NODE_ENV=production webpack --config webpack.dist.js",
"build:docs": "cross-env NODE_ENV=production webpack --config webpack.docs.js",
"build": "npm run pretty && npm run lint && npm run build:docs && npm run build:dist",
"start": "cross-env NODE_ENV=development webpack-dev-server --config webpack.example.js",
"lint": "eslint .",
"pretty": "prettier --write \"**/*.js\"",
"release:major": "npm version major && git push --follow-tags",
"release:minor": "npm version minor && git push --follow-tags",
"release:patch": "npm version patch && git push --follow-tags"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js}": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"babel": {
"presets": [
"env",
"react-app"
],
"plugins": [
"add-module-exports"
]
},
"prettier": {
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid"
},
"eslintConfig": {
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module"
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:prettier/recommended"
],
"plugins": [
"react",
"prettier"
],
"rules": {
"prettier/prettier": "error",
"no-console": "warn"
}
},
"directories": {
"doc": "docs",
"example": "example"
}
}