azure-maps-control 2.2.0 → 3.0.0-preview.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "azure-maps-control",
3
3
  "author": "Microsoft Corporation",
4
- "version": "2.2.0",
4
+ "version": "3.0.0-preview.1",
5
5
  "description": "Map SDK for Azure Maps",
6
6
  "keywords": [
7
7
  "azure",
@@ -14,15 +14,15 @@
14
14
  ],
15
15
  "scripts": {
16
16
  "build": "node ./bin/build.js",
17
+ "build-snrOnly": "node ./bin/build.js --snrOnly",
17
18
  "docs": "(if exist \"./docs/\" rmdir \"./docs/\" /S /Q) && tsc --declaration --declarationDir ./docs --emitDeclarationOnly --stripInternal",
18
19
  "lessc": "node_modules/.bin/lessc",
19
- "pretest": "npm run updatePackageVersionForTests -- --isPreTest true",
20
- "posttest": "npm run updatePackageVersionForTests -- --isPreTest false",
21
- "test": "set \"TS_NODE_PROJECT=./test/tsconfig.json\" && mocha --reporter cypress-multi-reporters --reporter-options configFile=mochaReporters.json --parallel --exit --timeout 30000 --require ts-node/register test/**/*.ts",
22
- "coverage": "nyc --reporter cobertura --reporter text -t coverage npm run test",
23
- "pretest-filter": "npm run updatePackageVersionForTests -- --isPreTest true",
24
- "posttest-filter": "npm run updatePackageVersionForTests -- --isPreTest false",
25
- "test-filter": "set \"TS_NODE_PROJECT=./test/tsconfig.json\" && mocha --parallel --exit --timeout 30000 --require ts-node/register",
20
+ "test": "npm run test:unit && npm run test:func",
21
+ "test:unit": "jest -c test/unit/jest.config.js",
22
+ "test:func": "jest -c test/func/jest.config.js",
23
+ "pretest:func": "npm run updatePackageVersionForTests -- --isPreTest true",
24
+ "posttest:func": "npm run updatePackageVersionForTests -- --isPreTest false",
25
+ "coverage": "npm run test:unit -- --collectCoverage && npm run test:func",
26
26
  "thirdPartyNotices": "node ./bin/thirdPartyNotices.js",
27
27
  "lint": "eslint -c .eslintrc.json --ext .ts,.js src/",
28
28
  "updateEnvVariables": "node ./bin/updateEnvVariables.js",
@@ -37,32 +37,32 @@
37
37
  "@mapbox/mapbox-gl-rtl-text": "^0.2.3",
38
38
  "@microsoft/applicationinsights-web": "^2.5.9",
39
39
  "@turf/intersect": "^6.3.0",
40
+ "@types/jest": "^27.5.1",
40
41
  "@types/jwt-decode": "^2.2.0",
41
42
  "@types/lodash": "4.14.136",
42
43
  "@types/mapbox-gl": "^1.13.0",
43
- "@types/mocha": "^5.2.7",
44
44
  "@types/puppeteer": "^1.20.7",
45
45
  "@typescript-eslint/eslint-plugin": "^5.33.0",
46
46
  "@typescript-eslint/parser": "^5.33.0",
47
47
  "adal-angular": "^1.0.18",
48
48
  "atob": "^2.1.2",
49
- "azuremaps-maplibre-gl": "^1.14.0-rc4",
50
- "cypress-multi-reporters": "^1.5.0",
49
+ "azuremaps-maplibre-gl": "^3.0.0-pre.3",
50
+ "canvas": "^2.10.1",
51
51
  "es-abstract": "^1.17.1",
52
52
  "eslint": "^8.22.0",
53
53
  "eslint-plugin-security": "^1.5.0",
54
54
  "estree-walker": "^1.0.1",
55
55
  "fs-extra": "^8.1.0",
56
+ "gl": "^5.0.3",
56
57
  "glob": "^7.1.6",
57
58
  "grunt": "^1.3.0",
59
+ "jest": "^27.5.1",
60
+ "jest-trx-results-processor": "^3.0.1",
58
61
  "jwt-decode": "^2.2.0",
59
62
  "less": "^3.12.2",
60
63
  "less-plugin-clean-css": "^1.5.1",
61
64
  "lodash": "4.17.15",
62
- "mocha": "^9.0.3",
63
- "mocha-trx-reporter": "^3.3.1",
64
65
  "node-fetch": "^2.6.1",
65
- "nyc": "^15.1.0",
66
66
  "puppeteer": "^10.2.0",
67
67
  "rollup": "^1.32.1",
68
68
  "rollup-plugin-commonjs": "^10.1.0",
@@ -71,6 +71,7 @@
71
71
  "rollup-plugin-sourcemaps": "^0.6.3",
72
72
  "rollup-plugin-uglify": "^6.0.4",
73
73
  "simplify-ts": "^1.0.2",
74
+ "ts-jest": "^27.1.5",
74
75
  "ts-node": "^8.10.2",
75
76
  "typescript": "^3.7.2",
76
77
  "utf-8-validate": "^5.0.2",
@@ -84,16 +85,5 @@
84
85
  "thirdpartynotices.txt"
85
86
  ],
86
87
  "types": "./typings/index.d.ts",
87
- "main": "./dist/atlas.min.js",
88
- "nyc": {
89
- "all": true,
90
- "exclude": [
91
- "bin",
92
- "dist",
93
- "test",
94
- "examples"
95
- ],
96
- "check-coverage": false,
97
- "exclude-after-remap": false
98
- }
88
+ "main": "./dist/atlas.min.js"
99
89
  }
Binary file