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

gbfs validator script fix #188

Merged
merged 4 commits into from
Jun 5, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions gbfs-validator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ first install our [Node.js npm package](https://www.npmjs.com/package/gbfs-valid
npm install gbfs-validator
```

## Supported GBFS Versions
- 3.1-RC
- 3.0
- 2.3
- 2.2
- 2.1
- 2.0
- 1.1
- 1.0

## Example Code
```javascript
const GBFS = require('gbfs-validator');
Expand Down
4 changes: 2 additions & 2 deletions gbfs-validator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gbfs-validator",
"version": "1.0.10",
"version": "1.0.12",
"author": "MobilityData",
"main": "index.js",
"license": "MIT",
Expand All @@ -20,7 +20,7 @@
},
"scripts": {
"test": "jest",
"postinstall": "git submodule update --init --recursive"
"prepare": "git submodule update --init --recursive"
},
"dependencies": {
"ajv": "^8.9.0",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"start": "yarn run dev",
"lint": "eslint --ext .js,.vue website/src",
"build": "yarn workspace website build",
"build:website": "cd website && yarn run build"
"build:website": "cd website && yarn run build",
"postinstall": "git submodule update --init --recursive"
},
"devDependencies": {
"eslint": "^8.41.0",
Expand Down
Loading