jmapcloud-jakartowns 2.1.2 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.browserslistrc DELETED
@@ -1,4 +0,0 @@
1
- > 0.5%
2
- last 2 versions
3
- Firefox ESR
4
- not dead
package/.eslintrc.js DELETED
@@ -1,232 +0,0 @@
1
- const path = require("path")
2
- module.exports = {
3
- env: {
4
- browser: true
5
- },
6
- // TODO: add "eslint:recommended" to extends one day
7
- extends: ["plugin:@typescript-eslint/recommended-type-checked", "prettier"],
8
- parser: "@typescript-eslint/parser",
9
- parserOptions: {
10
- project: path.join(__dirname, "tsconfig.json"),
11
- sourceType: "module"
12
- },
13
- plugins: ["eslint-plugin-import", "eslint-plugin-jsdoc", "eslint-plugin-prefer-arrow", "@typescript-eslint"],
14
- root: true,
15
- rules: {
16
- "@typescript-eslint/adjacent-overload-signatures": "error",
17
- "@typescript-eslint/array-type": [
18
- "error",
19
- {
20
- default: "array-simple"
21
- }
22
- ],
23
- "@typescript-eslint/ban-types": [
24
- "error",
25
- {
26
- types: {
27
- "Object": {
28
- message: "Avoid using the `Object` type. Did you mean `object`?"
29
- },
30
- "Function": {
31
- message: "Avoid using the `Function` type. Prefer a specific function type, like `() => void`."
32
- },
33
- "Boolean": {
34
- message: "Avoid using the `Boolean` type. Did you mean `boolean`?"
35
- },
36
- "Number": {
37
- message: "Avoid using the `Number` type. Did you mean `number`?"
38
- },
39
- "String": {
40
- message: "Avoid using the `String` type. Did you mean `string`?"
41
- },
42
- "Symbol": {
43
- message: "Avoid using the `Symbol` type. Did you mean `symbol`?"
44
- },
45
- "{}": false
46
- },
47
- extendDefaults: true
48
- }
49
- ],
50
- "@typescript-eslint/consistent-type-assertions": "error",
51
- "@typescript-eslint/consistent-type-definitions": "error",
52
- "@typescript-eslint/dot-notation": "error",
53
- "@typescript-eslint/explicit-function-return-type": "off",
54
- "@typescript-eslint/explicit-member-accessibility": [
55
- "error",
56
- {
57
- accessibility: "explicit"
58
- }
59
- ],
60
- "@typescript-eslint/explicit-module-boundary-types": "off",
61
- "@typescript-eslint/member-delimiter-style": [
62
- "error",
63
- {
64
- multiline: {
65
- delimiter: "none",
66
- requireLast: true
67
- },
68
- singleline: {
69
- delimiter: "semi",
70
- requireLast: false
71
- }
72
- }
73
- ],
74
- "@typescript-eslint/member-ordering": "error",
75
- "@typescript-eslint/naming-convention": "off",
76
- "@typescript-eslint/no-empty-function": "error",
77
- "@typescript-eslint/no-empty-interface": "error",
78
- "@typescript-eslint/no-explicit-any": "off",
79
- "@typescript-eslint/no-misused-new": "error",
80
- "@typescript-eslint/no-namespace": "error",
81
- "@typescript-eslint/no-parameter-properties": "off",
82
- "no-shadow": "off",
83
- "@typescript-eslint/no-shadow": [
84
- "error",
85
- {
86
- hoist: "never"
87
- }
88
- ],
89
- "@typescript-eslint/no-unused-expressions": "error",
90
- "@typescript-eslint/no-use-before-define": "off",
91
- "@typescript-eslint/no-var-requires": "error",
92
- "@typescript-eslint/prefer-for-of": "error",
93
- "@typescript-eslint/prefer-function-type": "error",
94
- "@typescript-eslint/prefer-namespace-keyword": "error",
95
- "@typescript-eslint/quotes": [
96
- "error",
97
- "double",
98
- {
99
- avoidEscape: true
100
- }
101
- ],
102
- "@typescript-eslint/semi": ["error", "never"],
103
- "@typescript-eslint/triple-slash-reference": [
104
- "error",
105
- {
106
- path: "always",
107
- types: "prefer-import",
108
- lib: "always"
109
- }
110
- ],
111
- "@typescript-eslint/type-annotation-spacing": "error",
112
- "@typescript-eslint/typedef": "off",
113
- "@typescript-eslint/unified-signatures": "error",
114
- "arrow-body-style": "error",
115
- "arrow-parens": ["error", "as-needed"],
116
- "brace-style": ["error", "1tbs"],
117
- "comma-dangle": "error",
118
- "complexity": "off",
119
- "constructor-super": "error",
120
- "curly": "error",
121
- "dot-notation": "error",
122
- "eol-last": "error",
123
- "eqeqeq": ["error", "smart"],
124
- "guard-for-in": "error",
125
- "id-denylist": ["off", "any", "Number", "number", "String", "string", "Boolean", "boolean", "Undefined", "undefined"],
126
- "id-match": "off",
127
- "import/order": "off",
128
- "jsdoc/check-alignment": "error",
129
- "jsdoc/check-indentation": "error",
130
- "max-classes-per-file": ["error", 10],
131
- "max-len": [
132
- "error",
133
- {
134
- code: 222
135
- }
136
- ],
137
- "new-parens": "error",
138
- "no-bitwise": "error",
139
- "no-caller": "error",
140
- "no-cond-assign": "error",
141
- "no-console": [
142
- "error",
143
- {
144
- allow: [
145
- "warn",
146
- "dir",
147
- "time",
148
- "timeEnd",
149
- "timeLog",
150
- "trace",
151
- "assert",
152
- "clear",
153
- "count",
154
- "countReset",
155
- "group",
156
- "groupEnd",
157
- "table",
158
- "debug",
159
- "info",
160
- "dirxml",
161
- "error",
162
- "groupCollapsed",
163
- "Console",
164
- "profile",
165
- "profileEnd",
166
- "timeStamp",
167
- "context"
168
- ]
169
- }
170
- ],
171
- "no-debugger": "error",
172
- "no-empty": "error",
173
- "no-empty-function": "error",
174
- "no-eval": "off",
175
- "no-fallthrough": "off",
176
- "no-invalid-this": "off",
177
- "no-multiple-empty-lines": "error",
178
- "no-new-wrappers": "error",
179
- "no-throw-literal": "error",
180
- "no-trailing-spaces": [
181
- "error",
182
- {
183
- ignoreComments: true
184
- }
185
- ],
186
- "no-undef-init": "error",
187
- "no-underscore-dangle": "off",
188
- "no-unreachable": "error",
189
- "no-unsafe-finally": "error",
190
- "no-unused-expressions": "error",
191
- "no-unused-labels": "error",
192
- "no-use-before-define": "off",
193
- "no-var": "error",
194
- "object-shorthand": "error",
195
- "one-var": ["error", "never"],
196
- "prefer-const": "error",
197
- "quote-props": ["error", "consistent-as-needed"],
198
- "quotes": ["error", "double", "avoid-escape"],
199
- "radix": "error",
200
- "semi": ["error", "never"],
201
- "space-before-function-paren": [
202
- "error",
203
- {
204
- anonymous: "never",
205
- asyncArrow: "always",
206
- named: "never"
207
- }
208
- ],
209
- "spaced-comment": [
210
- "error",
211
- "always",
212
- {
213
- markers: ["/"]
214
- }
215
- ],
216
- "use-isnan": "error",
217
- "valid-typeof": "off",
218
- "no-unused-vars": "off",
219
- "@typescript-eslint/no-unused-vars": "off",
220
- "@typescript-eslint/no-unsafe-argument": "off",
221
- "@typescript-eslint/no-inferrable-types": "off",
222
- "@typescript-eslint/no-unsafe-member-access": "off",
223
- "@typescript-eslint/restrict-template-expressions": "off",
224
- "@typescript-eslint/no-unsafe-assignment": "off",
225
- "@typescript-eslint/no-unsafe-return": "off",
226
- "@typescript-eslint/no-misused-promises": "off",
227
- "@typescript-eslint/no-floating-promises": "off",
228
- "@typescript-eslint/unbound-method": "off",
229
- "@typescript-eslint/no-unsafe-call": "off",
230
- "@typescript-eslint/require-await": "off"
231
- }
232
- }
package/.prettierrc DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "printWidth": 130,
3
- "semi": false,
4
- "quoteProps": "consistent",
5
- "jsxBracketSameLine": true,
6
- "trailingComma": "none",
7
- "tabWidth": 2,
8
- "arrowParens": "avoid",
9
- "bracketSpacing": true
10
- }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/readme.md DELETED
@@ -1,25 +0,0 @@
1
- This is the NG official extension repo.
2
-
3
- Use this template to start new projects involving NG Core and/or App.
4
-
5
- #### Install the following vs-code extensions:
6
-
7
- - "TSLint (deprecated)" extention
8
- - "Prettier - Code formatter" extention (Author : Esben Petersen)
9
- - "vscode-styled-components" extention (Author : Julien Poissonier)
10
-
11
- #### Install dependencies (process only one time):
12
-
13
- npm i
14
-
15
- #### To start the application:
16
-
17
- npm start
18
-
19
- The application is accessible at this location: https://localhost:8083
20
-
21
- When code is changed, it's automatically built and the web page refresh by its own (thanks webpack dev server).
22
-
23
- #### Configuration
24
-
25
- The viewer's initial position is defined using window.JMAP_OPTIONS.map in the index.html