Skip to content

Commit

Permalink
chore: specify published files
Browse files Browse the repository at this point in the history
Move types to dependencies for clarity.
Add advisory engines field.
  • Loading branch information
oscarlorentzon committed Mar 27, 2021
1 parent 1b40a6f commit 7ff3c39
Showing 1 changed file with 32 additions and 18 deletions.
50 changes: 32 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "mapillary-js",
"version": "3.1.0",
"description": "A WebGL interactive street imagery library",
"license": "MIT",
"main": "dist/mapillary.js",
"module": "dist/mapillary.module.js",
"style": "dist/mapillary.css",
"types": "dist/mapillary.d.ts",
"type": "module",
"license": "MIT",
"keywords": [
"3d",
"computational-geometry",
Expand All @@ -20,13 +20,30 @@
"viewer",
"webgl"
],
"repository": "mapillary/mapillary-js",
"homepage": "https://github.com/mapillary/mapillary-js",
"repository": "github:mapillary/mapillary-js",
"homepage": "https://mapillary.github.io/mapillary-js",
"bugs": {
"url": "https://github.com/mapillary/mapillary-js/issues"
},
"engines": {
"node": ">=14.16.0"
},
"browserslist": [
"last 2 versions"
],
"dependencies": {
"@mapbox/unitbezier": "0.0.0",
"@types/earcut": "^2.1.1",
"@types/falcor": "^0.1.22",
"@types/falcor-http-datasource": "^0.1.19",
"@types/latlon-geohash": "^1.1.0",
"@types/node": "^14.14.31",
"@types/pako": "^1.0.1",
"@types/pbf": "^3.0.2",
"@types/polylabel": "^1.0.5",
"@types/rbush": "^3.0.0",
"@types/three": "^0.125.3",
"@types/virtual-dom": "^2.1.0",
"earcut": "^2.2.2",
"falcor": "^0.1.17",
"falcor-http-datasource": "^0.1.3",
Expand All @@ -45,18 +62,7 @@
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.1.1",
"@rollup/plugin-virtual": "^2.0.3",
"@types/earcut": "^2.1.1",
"@types/falcor": "^0.1.22",
"@types/falcor-http-datasource": "^0.1.19",
"@types/jest": "^26.0.20",
"@types/latlon-geohash": "^1.1.0",
"@types/node": "^14.14.31",
"@types/pako": "^1.0.1",
"@types/pbf": "^3.0.2",
"@types/polylabel": "^1.0.5",
"@types/rbush": "^3.0.0",
"@types/three": "^0.125.3",
"@types/virtual-dom": "^2.1.0",
"autoprefixer": "^10.2.4",
"concurrently": "^6.0.0",
"express": "^4.17.1",
Expand All @@ -73,9 +79,6 @@
"typedoc-default-themes": "^0.12.7",
"typescript": "^4.2.2"
},
"browserslist": [
"last 2 versions"
],
"scripts": {
"build": "yarn build-styles && yarn build-src",
"build-docs": "typedoc --options ./config/typedoc.json",
Expand All @@ -100,5 +103,16 @@
"start": "yarn start-init && concurrently --kill-others-on-fail -n 'compile,bundle,serve' 'yarn compile-watch' 'yarn bundle-watch' 'yarn serve'",
"start-init": "yarn clean-build && yarn clean-dist && yarn build-styles && yarn compile-incremental",
"test": "yarn clean-build && yarn compile-test && jest"
}
},
"files": [
"dist/",
"src/",
"styles/",
"types/",
"CHANGELOG.md",
"LICENCE",
"README.md",
"package.json",
"tsconfig.json"
]
}

0 comments on commit 7ff3c39

Please sign in to comment.