Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify files to publish #356

Merged
merged 1 commit into from
Mar 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Thanks in advance for contributing to MapillaryJS. Please follow the conventions
Facebook has adopted the [Contributor Covenant](https://www.contributor-covenant.org/) as its Code of Conduct, and we expect project participants to adhere to it. Please read [the full text](.CODE_OF_CONDUCT.md) so that you can understand what actions will and will not be tolerated.

## Contribution Prerequisites
- You have [Node](https://nodejs.org) installed at v10.0.0+ and [Yarn](https://classic.yarnpkg.com) at v1.2.0+.
- You have [Node](https://nodejs.org) installed at v14.16.0+ and [Yarn](https://classic.yarnpkg.com) at v1.2.0+.
- You are familiar with [Git](https://git-scm.com/).

## Sending a Pull Request
Expand Down
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"
]
}