@pointr-tech/web-sdk 10.8.0-rc.3
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/README.md +125 -0
- package/dist/css/pointr.css +5 -0
- package/dist/mapbox-gl-rtl-text.min.js +6 -0
- package/dist/pointrwebsdk.d.ts +3022 -0
- package/dist/pointrwebsdk.esm.mjs +347 -0
- package/dist/pointrwebsdk.js +318 -0
- package/package.json +193 -0
package/package.json
ADDED
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pointr-tech/web-sdk",
|
|
3
|
+
"version": "10.8.0-rc.3",
|
|
4
|
+
"analyticsVersion": "10.0",
|
|
5
|
+
"description": "Pointr Web SDK",
|
|
6
|
+
"main": "dist/pointrwebsdk.js",
|
|
7
|
+
"module": "dist/pointrwebsdk.esm.mjs",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/pointrwebsdk.d.ts",
|
|
11
|
+
"style": "./dist/css/pointr.css",
|
|
12
|
+
"import": "./dist/pointrwebsdk.esm.mjs",
|
|
13
|
+
"require": "./dist/pointrwebsdk.js",
|
|
14
|
+
"default": "./dist/pointrwebsdk.js"
|
|
15
|
+
},
|
|
16
|
+
"./css": "./dist/css/pointr.css"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"postinstall": "node -e \"const fs=require('fs'),p=require('path'),{execSync}=require('child_process');if(!fs.existsSync(p.join(process.cwd(),'patches')))process.exit(0);try{execSync('npx patch-package',{stdio:'inherit'})}catch{process.exit(1)}\"",
|
|
20
|
+
"build": "webpack -p --env.publish",
|
|
21
|
+
"build:npm": "npm run build:types && webpack -p --env.npm && node scripts/write-esm-wrapper.cjs",
|
|
22
|
+
"test": "cypress run",
|
|
23
|
+
"test:electron-pr": "cypress run --env tags=@smoke --browser electron --headless",
|
|
24
|
+
"test:electron": "cypress run --browser electron --headless --env TAGS=\"not @manual\"",
|
|
25
|
+
"test:chrome": "cypress run --browser chrome --headless",
|
|
26
|
+
"test:firefox": "cypress run --browser firefox --headless",
|
|
27
|
+
"test:edge": "cypress run --browser edge --headless",
|
|
28
|
+
"test:parallel-pr": "cypress-parallel -s test:electron-pr -t 3 -d 'qa-scenarios' -m false",
|
|
29
|
+
"test:spec": "npx cypress run --browser chrome --headless --spec '<specPath>'",
|
|
30
|
+
"test:unit": "jest",
|
|
31
|
+
"test:unit-coverage": "jest --clearCache && jest --coverage",
|
|
32
|
+
"cypress": "cypress open",
|
|
33
|
+
"watch": "webpack --watch",
|
|
34
|
+
"start": "webpack-dev-server --open --env.dev",
|
|
35
|
+
"start0": "webpack-dev-server --open --env.dev --host 0.0.0.0",
|
|
36
|
+
"build:types": "tsc -p tsconfig.declarations.json --emitDeclarationOnly && node scripts/patch-types-entry.js && rollup -c rollup.types.config.cjs && node scripts/clean-types-dir.js",
|
|
37
|
+
"release": "npm run build:types && webpack -p --env.release",
|
|
38
|
+
"docs": "jsdoc -c jsdoc/jsdoc.conf.json jsdoc/README.md",
|
|
39
|
+
"prepare": "husky install",
|
|
40
|
+
"convert-lcov": "node convertToLcov.js",
|
|
41
|
+
"format": "npx prettier --write .",
|
|
42
|
+
"prepublishOnly": "npm run build:npm"
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"dist/pointrwebsdk.js",
|
|
46
|
+
"dist/pointrwebsdk.esm.mjs",
|
|
47
|
+
"dist/pointrwebsdk.d.ts",
|
|
48
|
+
"dist/css/pointr.css",
|
|
49
|
+
"dist/mapbox-gl-rtl-text.min.js"
|
|
50
|
+
],
|
|
51
|
+
"sideEffects": [
|
|
52
|
+
"**/*.css",
|
|
53
|
+
"**/*.scss",
|
|
54
|
+
"**/*.sass",
|
|
55
|
+
"./dist/pointrwebsdk.js",
|
|
56
|
+
"./dist/pointrwebsdk.esm.mjs"
|
|
57
|
+
],
|
|
58
|
+
"keywords": [],
|
|
59
|
+
"author": "Pointr Limited",
|
|
60
|
+
"license": "UNLICENSED",
|
|
61
|
+
"homepage": "https://www.pointr.tech",
|
|
62
|
+
"types": "dist/pointrwebsdk.d.ts",
|
|
63
|
+
"style": "dist/css/pointr.css",
|
|
64
|
+
"overrides": {
|
|
65
|
+
"tar": "^7.5.22",
|
|
66
|
+
"brace-expansion@^1": "1.1.18",
|
|
67
|
+
"brace-expansion@^2": "2.1.4",
|
|
68
|
+
"brace-expansion@^5": "5.0.9",
|
|
69
|
+
"braces": "^3.0.3",
|
|
70
|
+
"micromatch": "^4.0.8",
|
|
71
|
+
"form-data": "^4.0.6",
|
|
72
|
+
"immutable": "^5.1.8",
|
|
73
|
+
"nanoid": "^3.3.18",
|
|
74
|
+
"postcss": "^8.5.26",
|
|
75
|
+
"undici": "^6.28.0",
|
|
76
|
+
"serialize-javascript": "^7.1.0",
|
|
77
|
+
"node-forge": "^1.4.0",
|
|
78
|
+
"markdown-it": "^14.3.0",
|
|
79
|
+
"linkify-it": "^5.0.2",
|
|
80
|
+
"js-yaml@^3": "3.15.1"
|
|
81
|
+
},
|
|
82
|
+
"devDependencies": {
|
|
83
|
+
"@babel/core": "^7.28.5",
|
|
84
|
+
"@babel/eslint-parser": "^7.28.5",
|
|
85
|
+
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
86
|
+
"@babel/preset-env": "^7.28.5",
|
|
87
|
+
"@babel/preset-typescript": "^7.28.5",
|
|
88
|
+
"@badeball/cypress-cucumber-preprocessor": "^24.0.1",
|
|
89
|
+
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.8",
|
|
90
|
+
"@types/jquery": "^4.0.0",
|
|
91
|
+
"@types/uuid": "^10.0.0",
|
|
92
|
+
"axe-core": "^4.12.1",
|
|
93
|
+
"babel-loader": "^8.4.1",
|
|
94
|
+
"copy-webpack-plugin": "^6.4.1",
|
|
95
|
+
"css-loader": "^5.2.7",
|
|
96
|
+
"cy-mobile-commands": "^0.3.0",
|
|
97
|
+
"cypress": "^15.16.0",
|
|
98
|
+
"cypress-axe": "^1.7.0",
|
|
99
|
+
"cypress-parallel": "^0.15.0",
|
|
100
|
+
"cypress-real-events": "^1.15.0",
|
|
101
|
+
"cypress-recurse": "^1.37.2",
|
|
102
|
+
"cypress-wait-until": "^3.0.2",
|
|
103
|
+
"docdash": "^1.2.0",
|
|
104
|
+
"es6-promise": "^4.2.8",
|
|
105
|
+
"eslint": "^8.57.1",
|
|
106
|
+
"eslint-config-prettier": "^8.10.2",
|
|
107
|
+
"eslint-plugin-css-modules": "^2.11.0",
|
|
108
|
+
"eslint-plugin-eqeqeq-fix": "^1.0.3",
|
|
109
|
+
"eslint-plugin-html": "^7.1.0",
|
|
110
|
+
"eslint-plugin-json": "^3.1.0",
|
|
111
|
+
"eslint-plugin-prettier": "^4.2.5",
|
|
112
|
+
"html-webpack-plugin": "^4.5.2",
|
|
113
|
+
"husky": "^8.0.3",
|
|
114
|
+
"jest": "^29.7.0",
|
|
115
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
116
|
+
"jest-html-reporters": "^3.1.7",
|
|
117
|
+
"jest-sonar": "^0.2.16",
|
|
118
|
+
"joi": "^17.13.3",
|
|
119
|
+
"jsdoc": "^4.0.5",
|
|
120
|
+
"jsdoc-babel": "^0.5.0",
|
|
121
|
+
"jsdoc-export-default-interop": "^0.3.1",
|
|
122
|
+
"lint-staged": "^13.3.0",
|
|
123
|
+
"mini-css-extract-plugin": "^1.6.2",
|
|
124
|
+
"patch-package": "^8.0.1",
|
|
125
|
+
"prettier": "^2.8.8",
|
|
126
|
+
"rollup": "^4.57.1",
|
|
127
|
+
"rollup-plugin-dts": "^6.3.0",
|
|
128
|
+
"sass": "^1.95.0",
|
|
129
|
+
"sass-loader": "^10.5.2",
|
|
130
|
+
"ts-jest": "^29.4.6",
|
|
131
|
+
"ts-loader": "^8.4.0",
|
|
132
|
+
"uglifyjs-webpack-plugin": "^2.2.0",
|
|
133
|
+
"url-loader": "^4.1.1",
|
|
134
|
+
"webpack": "^4.47.0",
|
|
135
|
+
"webpack-cli": "^3.3.12",
|
|
136
|
+
"webpack-dev-server": "^3.11.3",
|
|
137
|
+
"webworkify-webpack": "^2.1.5"
|
|
138
|
+
},
|
|
139
|
+
"dependencies": {
|
|
140
|
+
"@azure/storage-blob": "^12.29.1",
|
|
141
|
+
"@mapbox/mapbox-gl-rtl-text": "^0.2.3",
|
|
142
|
+
"@splidejs/splide": "^4.1.4",
|
|
143
|
+
"@turf/along": "^6.5.0",
|
|
144
|
+
"@turf/bbox": "^6.5.0",
|
|
145
|
+
"@turf/bbox-polygon": "^6.5.0",
|
|
146
|
+
"@turf/boolean-contains": "^6.5.0",
|
|
147
|
+
"@turf/boolean-disjoint": "^6.5.0",
|
|
148
|
+
"@turf/boolean-point-in-polygon": "^6.5.0",
|
|
149
|
+
"@turf/buffer": "^6.5.0",
|
|
150
|
+
"@turf/center": "^6.5.0",
|
|
151
|
+
"@turf/centroid": "^6.5.0",
|
|
152
|
+
"@turf/distance": "^6.5.0",
|
|
153
|
+
"@turf/helpers": "^6.5.0",
|
|
154
|
+
"body-scroll-lock": "^4.0.0-beta.0",
|
|
155
|
+
"jquery": "^4.0.0",
|
|
156
|
+
"js-yaml": "^4.3.1",
|
|
157
|
+
"lodash.capitalize": "^4.2.1",
|
|
158
|
+
"maplibre-gl": "5.17.0",
|
|
159
|
+
"mime-types": "^2.1.35",
|
|
160
|
+
"select2": "^4.1.0-rc.0",
|
|
161
|
+
"three": "^0.169.0",
|
|
162
|
+
"typescript": "^5.9.3",
|
|
163
|
+
"uuid": "^9.0.1",
|
|
164
|
+
"xss": "^1.0.15"
|
|
165
|
+
},
|
|
166
|
+
"husky": {
|
|
167
|
+
"hooks": {
|
|
168
|
+
"pre-commit": "lint-staged"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"lint-staged": {
|
|
172
|
+
"*.{js,html,json}": [
|
|
173
|
+
"eslint --fix",
|
|
174
|
+
"prettier --write"
|
|
175
|
+
],
|
|
176
|
+
"*.{md,html,css,json}": "prettier --write"
|
|
177
|
+
},
|
|
178
|
+
"cypress-cucumber-preprocessor": {
|
|
179
|
+
"nonGlobalStepDefinitions": true,
|
|
180
|
+
"stepDefinitions": [
|
|
181
|
+
"./cypress/e2e/**/*.js"
|
|
182
|
+
],
|
|
183
|
+
"omitFiltered": true,
|
|
184
|
+
"html": {
|
|
185
|
+
"enabled": true,
|
|
186
|
+
"output": "cypress/results/cucumber-report.html"
|
|
187
|
+
},
|
|
188
|
+
"json": {
|
|
189
|
+
"enabled": true,
|
|
190
|
+
"output": "cypress/results/cucumber-report.json"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|