-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Christoph Bühler
committed
Jul 27, 2017
1 parent
3ce7973
commit d003cfa
Showing
16 changed files
with
287 additions
and
158 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,12 +1,19 @@ | ||
node_modules | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
|
||
# Dependency directory | ||
node_modules | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Typescript stuff | ||
typings | ||
build | ||
docs | ||
coverage | ||
|
||
package-lock.json |
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,29 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es6", | ||
"module": "commonjs", | ||
"moduleResolution": "node", | ||
"removeComments": false, | ||
"outDir": "../build", | ||
"rootDir": "../src", | ||
"declaration": true, | ||
"sourceMap": false, | ||
"importHelpers": true, | ||
"strictNullChecks": true, | ||
"experimentalDecorators": true, | ||
"emitDecoratorMetadata": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"lib": [ | ||
"es2015", | ||
"dom" | ||
] | ||
}, | ||
"include": [ | ||
"../src/**/*" | ||
], | ||
"exclude": [ | ||
"../node_modules", | ||
"../build" | ||
] | ||
} |
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,6 @@ | ||
{ | ||
"extends": "./tsconfig.base.json", | ||
"compilerOptions": { | ||
"outDir": "../" | ||
} | ||
} |
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,19 @@ | ||
{ | ||
"collectCoverage": true, | ||
"mapCoverage": true, | ||
"transform": { | ||
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js" | ||
}, | ||
"testMatch": [ | ||
"**/test/**/*.spec.ts" | ||
], | ||
"testPathIgnorePatterns": [ | ||
"/node_modules/" | ||
], | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"tsx", | ||
"js", | ||
"json" | ||
] | ||
} |
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 |
---|---|---|
|
@@ -4,13 +4,12 @@ | |
"description": "Loader for proc-that. Loads processed items into an elasticsearch index.", | ||
"main": "index.js", | ||
"scripts": { | ||
"clean": "rimraf build", | ||
"bootstrap": "npm install", | ||
"pretest": "npm run bootstrap && npm run clean && tsc", | ||
"test": "mocha --ui bdd --recursive ./build", | ||
"precitest": "npm run bootstrap && npm run clean && tsc", | ||
"citest": "istanbul cover -x \"**/*.spec.*\" _mocha --report lcovonly -- --ui bdd --recursive ./build", | ||
"develop": "npm run clean && tsc -w --sourceMap --pretty" | ||
"clean": "del-cli ./build ./coverage", | ||
"build": "npm run clean && tsc -p ./config/tsconfig.build.json", | ||
"develop": "npm run clean && tsc -p .", | ||
"lint": "tslint -c ./tslint.json -p ./config/tsconfig.build.json", | ||
"test": "npm run lint && npm run clean && jest -c ./jest.json", | ||
"test:watch": "npm run clean && jest -c ./jest.json --watch" | ||
}, | ||
"keywords": [ | ||
"etl", | ||
|
@@ -25,32 +24,26 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:smartive/proc-that-elastic-loader.git" | ||
"url": "https://github.com/smartive/proc-that-elastic-loader.git" | ||
}, | ||
"bugs": "https://github.com/smartive/proc-that-elastic-loader/issues", | ||
"author": "Christoph Bühler <[email protected]>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/chai": "^4.0.1", | ||
"@types/chai-as-promised": "^0.0.31", | ||
"@types/mocha": "^2.2.41", | ||
"@types/node": "^8.0.16", | ||
"@types/sinon": "^2.3.3", | ||
"@types/sinon-chai": "^2.7.28", | ||
"chai": "^4.1.0", | ||
"chai-as-promised": "^7.1.1", | ||
"@types/jest": "^20.0.5", | ||
"del-cli": "^1.1.0", | ||
"istanbul": "^0.4.4", | ||
"mocha": "^3.4.1", | ||
"mocha-lcov-reporter": "^1.2.0", | ||
"rimraf": "^2.5.3", | ||
"sinon": "^2.4.0", | ||
"sinon-chai": "^2.8.0", | ||
"jest": "^20.0.4", | ||
"ts-jest": "^20.0.7", | ||
"tslint": "^5.5.0", | ||
"tslint-config-airbnb": "^5.2.1", | ||
"tsutils": "^2.8.0", | ||
"typescript": "^2.4.2" | ||
}, | ||
"dependencies": { | ||
"elasticsearch": "^13.2.0", | ||
"proc-that": "^0.4.0", | ||
"rxjs": "^5.4.2" | ||
"@types/node": "^8.0.17", | ||
"rxjs": "^5.4.2", | ||
"tslib": "^1.7.1" | ||
} | ||
} |
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 @@ | ||
export * from './ElasticLoader'; |
Oops, something went wrong.