|
5 | 5 | "scripts": {
|
6 | 6 | "a11y-test": "jest a11y/ --runInBand --force-exit",
|
7 | 7 | "build": "craco build",
|
| 8 | + "check:i18n": "node node_modules/@opentripplanner/scripts/lib/run-validate-i18n.js lib i18n/en-US.yml i18n/fr.yml", |
8 | 9 | "unit": "jest __tests__/",
|
9 | 10 | "lint": "lint-staged",
|
10 | 11 | "lint-all": "eslint lib __tests__ a11y --quiet",
|
11 | 12 | "postinstall": "patch-package && husky install",
|
12 | 13 | "prepublishOnly": "pinst --disable",
|
13 | 14 | "postpublish": "pinst --enable",
|
14 | 15 | "prestart": "yarn",
|
15 |
| - "test": "yarn run lint && yarn run typecheck && yarn run unit", |
| 16 | + "test": "yarn run lint && yarn run typecheck && yarn check:i18n && yarn run unit", |
16 | 17 | "typecheck": "yarn tsc",
|
17 | 18 | "semantic-release": "semantic-release",
|
18 | 19 | "start": "craco start",
|
|
41 | 42 | "@opentripplanner/geocoder": "^1.2.1",
|
42 | 43 | "@opentripplanner/humanize-distance": "^1.2.0",
|
43 | 44 | "@opentripplanner/icons": "^1.2.0",
|
44 |
| - "@opentripplanner/route-viewer-overlay": "^1.4.0", |
45 | 45 | "@opentripplanner/itinerary-body": "^3.0.4",
|
46 | 46 | "@opentripplanner/location-field": "1.12.2",
|
47 | 47 | "@opentripplanner/location-icon": "^1.4.0",
|
48 | 48 | "@opentripplanner/park-and-ride-overlay": "^1.2.4",
|
49 | 49 | "@opentripplanner/printable-itinerary": "^2.0.1",
|
| 50 | + "@opentripplanner/route-viewer-overlay": "^1.4.0", |
50 | 51 | "@opentripplanner/stop-viewer-overlay": "^1.1.1",
|
51 | 52 | "@opentripplanner/stops-overlay": "^4.0.0",
|
52 | 53 | "@opentripplanner/transit-vehicle-overlay": "^2.3.1",
|
|
124 | 125 | "@babel/preset-typescript": "^7.15.0",
|
125 | 126 | "@craco/craco": "^6.3.0",
|
126 | 127 | "@jackwilsdon/craco-use-babelrc": "^1.0.0",
|
| 128 | + "@opentripplanner/scripts": "^1.0.1", |
127 | 129 | "@opentripplanner/types": "^1.2.0",
|
128 | 130 | "@percy/cli": "^1.0.0-beta.76",
|
129 | 131 | "@percy/puppeteer": "^2.0.0",
|
|
0 commit comments