|
73 | 73 | "jsdom": "^13.0.0",
|
74 | 74 | "json-stringify-pretty-compact": "^2.0.0",
|
75 | 75 | "jsonwebtoken": "^8.3.0",
|
| 76 | + "list-npm-contents": "^1.0.2", |
76 | 77 | "lodash.template": "^4.5.0",
|
77 | 78 | "mapbox-gl-styles": "^2.0.2",
|
78 | 79 | "mock-geolocation": "^1.0.11",
|
79 | 80 | "node-notifier": "^5.4.3",
|
80 | 81 | "npm-font-open-sans": "^1.1.0",
|
| 82 | + "npm-packlist": "^2.1.1", |
81 | 83 | "npm-run-all": "^4.1.5",
|
82 | 84 | "nyc": "^13.3.0",
|
83 | 85 | "pirates": "^4.0.1",
|
|
138 | 140 | "start-tests": "run-p build-token watch-css watch-query start-server",
|
139 | 141 | "start-bench": "run-p build-token watch-benchmarks start-server",
|
140 | 142 | "start-release": "run-s build-token build-prod-min build-css print-release-url start-server",
|
| 143 | + "diff-tarball": "build/run-node build/diff-tarball && echo \"Please confirm the above is correct [y/n]? \"; read answer; if [ \"$answer\" = \"${answer#[Yy]}\" ]; then false; fi", |
141 | 144 | "lint": "eslint --cache --ignore-path .gitignore src test bench debug/*.html",
|
142 | 145 | "lint-docs": "documentation lint src/index.js",
|
143 | 146 | "lint-css": "stylelint 'src/css/mapbox-gl.css'",
|
|
154 | 157 | "test-expressions": "build/run-node test/expression.test.js",
|
155 | 158 | "test-flow": "build/run-node build/generate-flow-typed-style-spec && flow .",
|
156 | 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",
|
157 |
| - "prepublishOnly": "run-s build-flow-types build-dev build-prod-min build-prod build-csp build-css build-style-spec test-build", |
| 160 | + "prepublishOnly": "run-s build-flow-types build-dev build-prod-min build-prod build-csp build-css build-style-spec test-build diff-tarball", |
158 | 161 | "print-release-url": "node build/print-release-url.js",
|
159 | 162 | "codegen": "build/run-node build/generate-style-code.js && build/run-node build/generate-struct-arrays.js"
|
160 | 163 | },
|
161 | 164 | "files": [
|
162 | 165 | "build/",
|
163 |
| - "dist/", |
164 |
| - "flow-typed/", |
| 166 | + "dist/mapbox-gl*", |
| 167 | + "dist/style-spec/", |
| 168 | + "flow-typed/*.js", |
165 | 169 | "src/",
|
166 | 170 | ".flowconfig"
|
167 | 171 | ]
|
|
0 commit comments