Skip to content

Commit

Permalink
Merge pull request #344 from amplify-education/move_code_to_src_dir
Browse files Browse the repository at this point in the history
Move code to the src directory
  • Loading branch information
aoskotsky-amplify committed May 15, 2020
2 parents 8dfa46a + 9264bc6 commit 19a37f7
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 13 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions test/unit-tests/index.test.ts
Expand Up @@ -3,10 +3,10 @@ import * as AWS from "aws-sdk-mock";
import chai = require("chai");
import spies = require("chai-spies");
import "mocha";
import DomainConfig = require("../../DomainConfig");
import DomainInfo = require("../../DomainInfo");
import Globals from "../../Globals";
import ServerlessCustomDomain = require("../../index");
import DomainConfig = require("../../src/DomainConfig");
import DomainInfo = require("../../src/DomainInfo");
import Globals from "../../src/Globals";
import ServerlessCustomDomain = require("../../src/index");

const expect = chai.expect;
chai.use(spies);
Expand Down
8 changes: 2 additions & 6 deletions tsconfig.json
Expand Up @@ -2,17 +2,13 @@
"compilerOptions": {
"module": "commonjs",
"moduleResolution": "node",
"rootDir": ".",
"rootDir": "src",
"target": "es6",
"sourceMap": false,
"outDir": "dist",
"types": ["node"]
},
"include": [
"**/*.ts"
],
"exclude": [
"node_modules",
"test"
"src/**/*.ts"
]
}
4 changes: 1 addition & 3 deletions tsconfig.tests.json
Expand Up @@ -9,9 +9,7 @@
"types": ["mocha", "node"]
},
"include": [
"src/**/*.ts",
"test/**/*.ts"
],
"exclude": [
"node_modules"
]
}

0 comments on commit 19a37f7

Please sign in to comment.