forked from Wildhoney/Leaflet.FreeDraw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
124 lines (124 loc) · 3.14 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
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "leaflet-freedraw",
"version": "2.2.1",
"description": "Zoopla inspired freehand polygon creation using Leaflet.js.",
"main": "dist/leaflet-freedraw.cjs.js",
"scripts": {
"build": "webpack --config webpack.cjs.js && webpack --config webpack.web.js",
"example": "webpack --config webpack.example.js && npm run css",
"watch": "npm run css && webpack --watch --config webpack.example.js",
"start": "npm i && npm run example && babel example/server/default.js | node",
"css": "cp node_modules/leaflet/dist/leaflet.css ./example/css",
"test": "npm run lint && npm run spec",
"spec": "ava && npm run example && mocha tests/functional/FreeDraw.test.js --compilers js:babel-register",
"lint": "xo src/*.js src/**/*.js",
"cleanup": "rimraf node_modules"
},
"repository": {
"type": "git",
"url": "https://github.com/Wildhoney/Leaflet.FreeDraw.git"
},
"keywords": [
"leaflet",
"freedraw",
"polygon",
"drawing",
"freehand"
],
"author": "Adam Timberlake <adam.timberlake@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Wildhoney/Leaflet.FreeDraw/issues"
},
"homepage": "https://github.com/Wildhoney/Leaflet.FreeDraw",
"dependencies": {
"clipper-lib": "~6.2.1",
"leaflet": "~1.0.1",
"ramda": "~0.22.1"
},
"devDependencies": {
"angular": "^1.6.0-rc.1",
"ava": "^0.17.0",
"babel-cli": "^6.18.0",
"babel-loader": "^6.2.8",
"babel-polyfill": "^6.16.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-stage-3": "^6.17.0",
"babel-register": "^6.18.0",
"chai": "^3.5.0",
"compression": "^1.6.2",
"concavehull": "^0.1.6",
"d3-selection": "^1.0.3",
"d3-shape": "^1.0.4",
"es6-set": "^0.1.4",
"es6-symbol": "^3.1.0",
"es6-weak-map": "^2.0.1",
"express": "^4.14.0",
"jsdom": "^9.8.3",
"mocha": "^3.1.2",
"nightmare": "^2.8.1",
"opener": "^1.4.2",
"rimraf": "^2.5.4",
"sinon": "^1.17.6",
"webpack": "^2.2.0",
"xo": "^0.17.1"
},
"ava": {
"files": [
"tests/*.test.js",
"tests/**/*.test.js",
"!tests/functional/*.test.js"
],
"babel": "inherit",
"require": [
"babel-polyfill",
"babel-register",
"./tests/helpers/BrowserEnv.js"
]
},
"xo": {
"space": 4,
"esnext": true,
"globals": [
"window",
"document",
"self"
],
"rules": {
"padded-blocks": "off",
"max-lines": [
2,
500
],
"object-curly-spacing": [
2,
"always"
],
"new-cap": "off",
"array-bracket-spacing": "off",
"max-nested-callbacks": [
1,
5
],
"no-unused-vars": [
1,
{
"varsIgnorePattern": "element"
}
],
"unicorn/filename-case": [
"error",
{
"case": "pascalCase"
}
],
"default-case": "off",
"no-unused-expressions": "off",
"no-case-declarations": "off",
"import/no-unassigned-import": "off",
"import/no-named-as-default": "off",
"import/prefer-default-export": "off",
"no-duplicate-imports": "off"
}
}
}