-
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.
Merge pull request #8 from smartive/develop
release 2017-07-27
- Loading branch information
Showing
20 changed files
with
318 additions
and
192 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 @@ | ||
package-lock=false |
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,21 +1,25 @@ | ||
language: node_js | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
|
||
notifications: | ||
email: false | ||
|
||
node_js: | ||
- '6' | ||
- '5' | ||
- '4.2' | ||
- '8' | ||
- '6' | ||
|
||
script: npm run citest | ||
after_script: npm install coveralls@^2.11.9 && cat ./coverage/lcov.info | coveralls | ||
before_script: | ||
- npm prune | ||
|
||
before_deploy: | ||
- npm run bootstrap | ||
- tsc --outDir . | ||
after_success: | ||
- npm install coveralls@^2.11.9 && cat ./coverage/lcov.info | coveralls | ||
- npm i | ||
- npm run build | ||
- npm run semantic-release | ||
|
||
deploy: | ||
provider: npm | ||
email: [email protected] | ||
api_key: | ||
secure: NoAP3zXpaw7efTltwCT5v//pWSTsCk1pvMVR02gFimdOI4kc9yr45GUAemmMBKDMPyxqwS2rJHl1A6Wps+P6gz2oMAFyioiK5TZI0qQNTVu9ggD7d1hlCr5Is1WZckblU863YckES6u+HoO0eXFC3iGZnh+1BldbTPR1PA9LWFJPGsZzJsDQRpxOWY6TLKRPlE53QmdclcIc//o4vVCldrCAdKojGlOVKhc03IaWt4i+onCszP81rUYkTTPdE2ODwQZrlbn1D01ojPu8UvPM4REKB90P+C9J/9PL1LR95UjHNPr2+nsa5dmbI2IQhAEudvAKOyBJV27DfZ2AcNNQyXc1e3OnH7zhP3Y19rceTzk0DOXnXKrQbzZEZ9ICnPfxv5PaQ+vOFJB4XkyrrF7LBWqNMRiYywt+vCBRelU7RUepXtO5wcj4TJmXUyB2fESL4W90HtPh1AZNvRPL2dH2DZF3tE2XSnG0MSHbwcrO+9ZUFZ2xBxCNM4WW5VCzH5H9z+ieLYqQmDwjBCgQp52Nw5UnJSmHk72Tlbbzphg4e7e40xH00AIVfLQiBHzEMOyRfZbtvS7cI/1SSMpP/sU+9rFUl5GiavupPVbFnzDUNBltXOk6HSaFtlarafO2llUcAGgxRithYLpjGbD1/4ZU+5NyOR4AFBejj0oq1cDAn7Y= | ||
on: | ||
tags: true | ||
repo: smartive/proc-that-elastic-loader | ||
branches: | ||
except: | ||
- /^v\d+\.\d+\.\d+$/ |
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"name": "proc-that-elastic-loader", | ||
"version": "0.4.0", | ||
"version": "0.0.0-development", | ||
"description": "Loader for proc-that. Loads processed items into an elasticsearch index.", | ||
"main": "index.js", | ||
"scripts": { | ||
"clean": "rimraf build", | ||
"bootstrap": "npm install && typings 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", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post" | ||
}, | ||
"keywords": [ | ||
"etl", | ||
|
@@ -21,31 +21,31 @@ | |
"elasticsearch" | ||
], | ||
"engines": { | ||
"node": ">=4.2" | ||
"node": ">=6" | ||
}, | ||
"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": { | ||
"chai": "^3.5.0", | ||
"chai-as-promised": "^5.3.0", | ||
"del-cli": "^0.2.0", | ||
"istanbul": "^0.4.4", | ||
"mocha": "^2.5.3", | ||
"mocha-lcov-reporter": "^1.2.0", | ||
"rimraf": "^2.5.3", | ||
"sinon": "^1.17.4", | ||
"sinon-chai": "^2.8.0", | ||
"typescript": "^1.8.10", | ||
"typings": "^1.3.1" | ||
"@types/jest": "^20.0.5", | ||
"del-cli": "^1.1.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", | ||
"semantic-release": "^6.3.6" | ||
}, | ||
"dependencies": { | ||
"elasticsearch": "^11.0.1", | ||
"elasticsearch": "^13.2.0", | ||
"proc-that": "^0.4.0", | ||
"rxjs": "^5.0.0-beta.10" | ||
"@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.