Skip to content

Commit

Permalink
gbfs validator script fix (#188)
Browse files Browse the repository at this point in the history
gbfs-validator package fix
  • Loading branch information
Alessandro100 committed Jun 5, 2024
1 parent bd81b27 commit cef2f44
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
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

0 comments on commit cef2f44

Please sign in to comment.