Move tsconfig files to root, and made webpack config build

This commit is contained in:
Dolan Miu
2017-12-29 01:11:59 +00:00
parent 90dc1103f6
commit f84af9a44b
6 changed files with 23 additions and 23 deletions

View File

@ -1,18 +0,0 @@
{
"compilerOptions": {
"target": "es6",
"strictNullChecks": true,
"sourceMap": true,
"removeComments": true,
"preserveConstEnums": true,
"outDir": "../build-tests",
"sourceRoot": "./",
"rootDir": "./",
"module": "commonjs",
"noUnusedLocals": true
},
"include": [
"**/*.spec.ts",
"**/*.d.ts"
]
}

View File

@ -1,4 +1,5 @@
export class Utility {
// tslint:disable-next-line:no-any
public static jsonify(obj: object): any {
const stringifiedJson = JSON.stringify(obj);
return JSON.parse(stringifiedJson);

View File

@ -1,26 +0,0 @@
{
"compilerOptions": {
"target": "es6",
"strictNullChecks": true,
"sourceMap": true,
"removeComments": true,
"preserveConstEnums": true,
"outDir": "../build",
"sourceRoot": "./",
"rootDir": "./",
"module": "commonjs",
"declaration": true,
"noUnusedLocals": true,
"baseUrl": "./",
"paths" : {
"/*": [
"./*"
]
}
},
"exclude": [
"tests",
"**/*.spec.ts",
"**/_*"
]
}

View File

@ -1,40 +0,0 @@
{
"extends": "tslint:latest",
"rules": {
"curly": true,
"one-variable-per-declaration": [
true
],
"no-any": true,
"no-consecutive-blank-lines": [
true
],
"no-require-imports": true,
"member-access": [
true
],
"indent": [
true,
"spaces"
],
"object-literal-sort-keys": false,
"object-literal-shorthand": false,
"typedef": [
true,
"call-signature",
"parameter",
"property-declaration"
],
"max-line-length": [
false
],
"max-classes-per-file": [
false
],
"no-unused-variable": [
true
],
"no-implicit-dependencies": false,
"no-submodule-imports": false
}
}