Skip to content

Commit

Permalink
relative dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jr-k committed Feb 18, 2022
1 parent c12a373 commit ff89670
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@santeacademie/bigbrowser",
"version": "2.5",
"version": "2.6",
"description": "Better browser for your own good",
"main": "build/index.js",
"types": "build/types/index.d.ts",
Expand Down
5 changes: 3 additions & 2 deletions src/lib/controller/Pipedrive/ReachCounter/ReachCounter.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import TamperController from '../../../core/controller/TamperController';
import TamperRequest from '../../../core/router/TamperRequest';
import $ from 'jquery';

import TamperController from '@core/controller/TamperController';
import TamperRequest from '@core/router/TamperRequest';

class ReachCounter extends TamperController {
loaded = false;
hashTryReachField = 'a9a1a17c4397010006c2aa550dca0cab13ed3419';
Expand Down
2 changes: 1 addition & 1 deletion src/lib/core/controller/TamperController.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import TamperRequest from '../router/TamperRequest';
import TamperRequest from '@core/router/TamperRequest';

abstract class TamperController {
constructor() {}
Expand Down
7 changes: 4 additions & 3 deletions src/lib/core/router/TamperRouter.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import routes from '../../config/routes.json';
import TamperController from '../controller/TamperController';
import {Router, Result} from 'uri-template-router';
import TamperRequest from './TamperRequest';

import routes from '@config/routes.json';
import TamperController from '@core/controller/TamperController';
import TamperRequest from '@core/router/TamperRequest';

type TamperControllers = {
[key: string]: TamperController;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import TamperRouter from './core/router/TamperRouter';
import TamperRouter from '@core/router/TamperRouter';

class App {
router: TamperRouter;
Expand Down
6 changes: 6 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"declaration": true,
"emitDeclarationOnly": true,
"suppressImplicitAnyIndexErrors": true,
"baseUrl": "src/lib",
"paths": {
"@config/*": ["config/*"],
"@controller/*": ["controller/*"],
"@core/*": ["core/*"]
},
"lib": [
"es2018",
"dom"
Expand Down

0 comments on commit ff89670

Please sign in to comment.