Skip to content

Commit

Permalink
move find-unknown-fields into tools dir, separate package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Jul 8, 2019
1 parent ee79740 commit f03ae83
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"vbb-translate-ids": "^3.1.0"
},
"devDependencies": {
"ajv": "^6.10.0",
"db-stations": "^2.3.0",
"is-coordinates": "^2.0.2",
"is-roughly-equal": "^0.1.0",
Expand All @@ -65,7 +64,6 @@
},
"scripts": {
"test": "env NODE_ENV=dev node test/index.js",
"find-unknown-fields": "node find-unknown-fields/index.js",
"prepublishOnly": "npm test | tap-spec",
"install": "node lib/generate-install-id.js >id.json"
}
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

const Ajv = require('ajv')
const omit = require('lodash/omit')
const createClient = require('..')
const vbbProfile = require('../p/vbb')
const bvgProfile = require('../p/bvg')
const dbProfile = require('../p/db')
const createClient = require('../..')
const vbbProfile = require('../../p/vbb')
const bvgProfile = require('../../p/bvg')
const dbProfile = require('../../p/db')
const journeysSchema = require('./journeys.schema.json')
const departuresSchema = require('./departures.schema.json')
// todo: https://github.com/epoberezkin/ajv#formats
Expand Down
File renamed without changes.
9 changes: 9 additions & 0 deletions tools/find-unknown-fields/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"private": true,
"name": "find-unknown-fields",
"version": "1.0.0",
"main": "index.js",
"dependencies": {
"ajv": "^6.10.1"
}
}

0 comments on commit f03ae83

Please sign in to comment.