-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from jat255/fix_ontrac
Fix Ontrac tracker and update package structure
- Loading branch information
Showing
31 changed files
with
339 additions
and
351 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.gitignore | ||
.env | ||
node_modules/**/* | ||
node_modules/* | ||
node_modules | ||
client/**/* | ||
client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"name": "packagemate-server", | ||
"version": "1.2.2", | ||
"description": "A self-hosted package tracking app", | ||
"main": "index.js", | ||
"scripts": { | ||
"start": "node index.js", | ||
"start-watch": "nodemon index.js", | ||
"dev": "concurrently \"yarn run start-watch\" \"cd client && yarn start\"", | ||
"debug-usps-tracker": "node -e 'require(\"dotenv\").config(); require(\"./3rd-party/trackers\").usps(process.env.TEST_TRACKING_NUMBER).then(res => console.log(res))'", | ||
"debug-usps-parser": "node -e 'require(\"dotenv\").config(); require(\"./3rd-party/trackers\").usps(process.env.TEST_TRACKING_NUMBER).then(res => console.log(require(\"./3rd-party/parsers\").usps([res])))'", | ||
"debug-fedex-tracker": "node -e 'require(\"dotenv\").config(); require(\"./3rd-party/trackers\").fedex(process.env.TEST_TRACKING_NUMBER).then(res => console.log(res))'", | ||
"debug-fedex-parser": "node -e 'require(\"dotenv\").config(); require(\"./3rd-party/trackers\").fedex(process.env.TEST_TRACKING_NUMBER).then(res => console.log(require(\"./3rd-party/parsers\").fedex([res])))'", | ||
"debug-amazon-tracker": "node -e 'require(\"dotenv\").config(); require(\"./3rd-party/trackers\").amazon(process.env.TEST_TRACKING_NUMBER).then(res => console.log(res))'", | ||
"debug-amazon-parser": "node -e 'require(\"dotenv\").config(); require(\"./3rd-party/trackers\").amazon(process.env.TEST_TRACKING_NUMBER).then(res => console.log(require(\"./3rd-party/parsers\").amazon([res])))'", | ||
"debug-ups-tracker": "node -e 'require(\"dotenv\").config(); require(\"./3rd-party/trackers\").ups(process.env.TEST_TRACKING_NUMBER).then(res => console.log(res))'", | ||
"debug-ups-parser": "node -e 'require(\"dotenv\").config(); require(\"./3rd-party/trackers\").ups(process.env.TEST_TRACKING_NUMBER).then(res => console.log(require(\"./3rd-party/parsers\").ups([res])))'", | ||
"debug-ontrac-tracker": "node -e 'require(\"dotenv\").config(); require(\"./3rd-party/trackers\").ontrac(process.env.TEST_TRACKING_NUMBER).then(res => console.log(res))'", | ||
"debug-ontrac-parser": "node -e 'require(\"dotenv\").config(); require(\"./3rd-party/trackers\").ontrac(process.env.TEST_TRACKING_NUMBER).then(res => console.log(require(\"./3rd-party/parsers\").ontrac([res])))'" | ||
}, | ||
"author": "Joshua Taillon", | ||
"license": "MIT", | ||
"dependencies": { | ||
"axios": ">=0.21.1", | ||
"body-parser": "^1.18.3", | ||
"dotenv": "^8.2.0", | ||
"express": "^4.17.1", | ||
"ini": ">=1.3.6", | ||
"jsdom": "^16.4.0", | ||
"mongoose": "^6.5.2", | ||
"mquery": ">=3.2.3", | ||
"playwright": "^1.8.0", | ||
"timezonecomplete": "^5.11.2", | ||
"yarn": "^1.22.5" | ||
}, | ||
"devDependencies": { | ||
"concurrently": "^5.3.0", | ||
"nodemon": "^2.0.4" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.gitignore | ||
.env | ||
node_modules/**/* | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from 'react'; | ||
import packageJson from '../../package.json'; | ||
|
||
const Footer = () => ( | ||
<footer className="footer"> | ||
<p>PackageMate v{packageJson.version}</p> | ||
</footer> | ||
); | ||
|
||
export default Footer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.