|
5 | 5 | "main": "dist/mapbox-gl.js",
|
6 | 6 | "style": "dist/mapbox-gl.css",
|
7 | 7 | "license": "SEE LICENSE IN LICENSE.txt",
|
| 8 | + "type": "module", |
8 | 9 | "repository": {
|
9 | 10 | "type": "git",
|
10 | 11 | "url": "git://github.com/mapbox/mapbox-gl-js.git"
|
|
39 | 40 | },
|
40 | 41 | "devDependencies": {
|
41 | 42 | "@babel/core": "^7.9.0",
|
42 |
| - "@mapbox/flow-remove-types": "^1.3.0-await.upstream.2", |
| 43 | + "@mapbox/flow-remove-types": "^2.0.0", |
43 | 44 | "@mapbox/gazetteer": "^4.0.4",
|
44 | 45 | "@mapbox/mapbox-gl-rtl-text": "^0.2.1",
|
45 | 46 | "@mapbox/mvt-fixtures": "^3.6.0",
|
46 | 47 | "@octokit/auth-app": "^2.4.7",
|
47 | 48 | "@octokit/rest": "^18.0.0",
|
48 |
| - "@rollup/plugin-strip": "^1.3.1", |
| 49 | + "@rollup/plugin-commonjs": "^17.1.0", |
| 50 | + "@rollup/plugin-json": "^4.1.0", |
| 51 | + "@rollup/plugin-node-resolve": "^11.1.1", |
| 52 | + "@rollup/plugin-replace": "^2.3.4", |
| 53 | + "@rollup/plugin-strip": "^2.0.0", |
49 | 54 | "address": "^1.1.2",
|
50 | 55 | "babel-eslint": "^10.0.1",
|
51 | 56 | "babelify": "^10.0.0",
|
|
66 | 71 | "eslint-plugin-import": "^2.16.0",
|
67 | 72 | "eslint-plugin-jsdoc": "^17.1.2",
|
68 | 73 | "eslint-plugin-react": "^7.12.4",
|
69 |
| - "esm": "~3.0.84", |
70 | 74 | "flow-bin": "^0.100.0",
|
71 | 75 | "gl": "^4.5.3",
|
72 | 76 | "glob": "^7.1.4",
|
|
86 | 90 | "nyc": "^13.3.0",
|
87 | 91 | "pirates": "^4.0.1",
|
88 | 92 | "pixelmatch": "^5.1.0",
|
89 |
| - "postcss-cli": "^6.1.2", |
90 |
| - "postcss-inline-svg": "^3.1.1", |
| 93 | + "postcss": "^8.2.4", |
| 94 | + "postcss-cli": "^8.3.1", |
| 95 | + "postcss-inline-svg": "^5.0.0", |
91 | 96 | "pretty-bytes": "^5.1.0",
|
92 | 97 | "puppeteer": "^1.18.0",
|
93 | 98 | "qrcode-terminal": "^0.12.0",
|
94 | 99 | "react": "^16.8.6",
|
95 | 100 | "react-dom": "^16.8.6",
|
96 | 101 | "request": "^2.88.0",
|
97 |
| - "rollup": "^1.23.1", |
98 |
| - "rollup-plugin-commonjs": "^10.1.0", |
99 |
| - "rollup-plugin-json": "^4.0.0", |
100 |
| - "rollup-plugin-node-resolve": "^5.2.0", |
101 |
| - "rollup-plugin-replace": "^2.2.0", |
102 |
| - "rollup-plugin-sourcemaps": "^0.4.2", |
103 |
| - "rollup-plugin-terser": "^5.1.2", |
| 102 | + "rollup": "^2.38.4", |
| 103 | + "rollup-plugin-sourcemaps": "^0.6.3", |
| 104 | + "rollup-plugin-terser": "^7.0.2", |
104 | 105 | "rollup-plugin-unassert": "^0.3.0",
|
105 | 106 | "selenium-webdriver": "^4.0.0-alpha.5",
|
106 | 107 | "shuffle-seed": "^1.1.6",
|
|
118 | 119 | "./src/util/window.js": "./src/util/browser/window.js",
|
119 | 120 | "./src/util/web_worker.js": "./src/util/browser/web_worker.js"
|
120 | 121 | },
|
121 |
| - "esm": true, |
122 | 122 | "scripts": {
|
123 | 123 | "build-dev": "rollup -c --environment BUILD:dev",
|
124 | 124 | "watch-dev": "rollup -c --environment BUILD:dev --watch",
|
|
150 | 150 | "test-unit": "build/run-tap --reporter classic --no-coverage test/unit",
|
151 | 151 | "test-build": "build/run-tap --no-coverage test/build/**/*.test.js",
|
152 | 152 | "test-browser": "build/run-tap --reporter spec --no-coverage test/browser/**/*.test.js",
|
153 |
| - "watch-render": "SUITE_NAME=render testem -f test/integration/testem.js", |
154 |
| - "watch-query": "SUITE_NAME=query testem -f test/integration/testem.js", |
155 |
| - "test-render": "SUITE_NAME=render CI=true testem ci -f test/integration/testem.js", |
156 |
| - "test-query": "SUITE_NAME=query CI=true testem ci -f test/integration/testem.js", |
| 153 | + "watch-render": "SUITE_NAME=render testem -f test/integration/testem/testem.js", |
| 154 | + "watch-query": "SUITE_NAME=query testem -f test/integration/testem/testem.js", |
| 155 | + "test-render": "SUITE_NAME=render CI=true testem ci -f test/integration/testem/testem.js", |
| 156 | + "test-query": "SUITE_NAME=query CI=true testem ci -f test/integration/testem/testem.js", |
157 | 157 | "test-expressions": "build/run-node test/expression.test.js",
|
158 | 158 | "test-flow": "build/run-node build/generate-flow-typed-style-spec && flow .",
|
159 | 159 | "test-cov": "nyc --require=@mapbox/flow-remove-types/register --reporter=text-summary --reporter=lcov --cache run-s test-unit test-expressions test-query test-render",
|
|
0 commit comments