forked from JamesLMilner/terra-draw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
157 lines (157 loc) · 3.62 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "terra-draw",
"version": "0.0.1-alpha.51",
"description": "Frictionless map drawing across mapping provider",
"scripts": {
"docs": "typedoc",
"docs:serve": "serve ./docs",
"release": "standard-version",
"release:alpha:next": "ts-node --esm ./scripts/next-alpha-version.ts",
"build": "microbundle",
"watch": "microbundle --watch --format modern",
"test": "jest --config jest.config.ts",
"test:coverage": "jest --config jest.config.ts --coverage",
"test:nocheck": "jest --config jest.nocheck.config.ts",
"test:nocheck:coverage": "jest --config jest.nocheck.config.ts --coverage",
"lint": "eslint --ext .ts src/",
"lint:quiet": "eslint --ext .ts --quiet src/",
"lint:fix": "eslint --fix --ext .ts src/",
"lint:fix:quiet": "eslint --fix --quiet --ext .ts src/",
"format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\"",
"format:quiet": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\" --log-level=silent",
"prepare": "husky install"
},
"type": "module",
"source": "src/terra-draw.ts",
"exports": {
"types": "./dist/terra-draw.d.ts",
"require": "./dist/terra-draw.cjs",
"default": "./dist/terra-draw.modern.js"
},
"types": "./dist/terra-draw.d.ts",
"main": "./dist/terra-draw.cjs",
"module": "./dist/terra-draw.module.js",
"unpkg": "./dist/terra-draw.umd.js",
"author": "James Milner",
"license": "MIT",
"repository": "JamesLMilner/terra-draw",
"keywords": [
"map",
"drawing",
"draw",
"map drawing",
"geometry",
"leaflet",
"leafletjs",
"mapbox",
"mapboxgl",
"google maps",
"openlayers",
"maplibre"
],
"devDependencies": {
"@arcgis/core": "^4.27.6",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@googlemaps/js-api-loader": "^1.14.3",
"@swc/jest": "^0.2.29",
"@types/geojson": "^7946.0.8",
"@types/google.maps": "^3.49.2",
"@types/jest": "^28.1.5",
"@types/leaflet": "^1.7.11",
"@types/mapbox-gl": "^2.7.3",
"@types/rbush": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"eslint": "^8.24.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^7.0.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.7.0",
"leaflet": "^1.8.0",
"mapbox-gl": "^2.13.0",
"maplibre-gl": "3.2.0",
"microbundle": "^0.15.0",
"ol": "^7.1.0",
"serve": "^14.1.2",
"standard-version": "^9.5.0",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typedoc": "^0.25.1",
"typescript": "^5.2.2"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-explicit-any": "warn"
},
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier"
]
},
"prettier": {
"printWidth": 80,
"semi": true,
"useTabs": true
},
"standard-version": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "docs",
"section": "Documentation"
},
{
"type": "style",
"section": "Styling"
},
{
"type": "refactor",
"section": "Refactors"
},
{
"type": "perf",
"section": "Performance"
},
{
"type": "test",
"section": "Tests"
},
{
"type": "build",
"section": "Build System"
},
{
"type": "ci",
"section": "CI"
},
{
"type": "chore",
"section": "Chore"
},
{
"type": "revert",
"section": "Reverts"
}
]
}
}