Skip to content

Commit

Permalink
turn sat-api to a monolith repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Scisco committed Jul 11, 2018
1 parent 782304c commit f04a5c2
Show file tree
Hide file tree
Showing 5 changed files with 112 additions and 142 deletions.
6 changes: 6 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**/node_modules/**
**/dist/**
**/webpack.config.js
**/.nyc_output/**
**/coverage/**
tmp/**
88 changes: 88 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"root": true,
"extends": "airbnb",
"plugins": ["eslint-plugin-jsdoc"],
"parser": "babel-eslint",
"env": {
"node": true,
"mocha": true
},
"rules": {
"indent": [ "error", 2 ],
"require-jsdoc": "off",
"valid-jsdoc": [ "error", {
"prefer": {
"arg": "param",
"return": "returns"
},
"preferType": {
"Boolean": "boolean",
"Number": "number",
"String": "string",
"object": "Object",
"array": "Array",
"date": "Date",
"regexp": "RegExp",
"Regexp": "RegExp",
"promise": "Promise"
},
"requireReturn": true
}],
"jsdoc/check-param-names": "error",
"jsdoc/check-tag-names": "error",
"jsdoc/check-types": "off",
"jsdoc/newline-after-description": "error",
"jsdoc/require-description-complete-sentence": "off",
"jsdoc/require-example": "off",
"jsdoc/require-hyphen-before-param-description": "error",
"jsdoc/require-param": "error",
"jsdoc/require-param-description": "error",
"jsdoc/require-param-name": "error",
"jsdoc/require-param-type": "error",
"jsdoc/require-returns-description": "error",
"jsdoc/require-returns-type": "error",
"generator-star-spacing": "off",
"import/no-extraneous-dependencies": "off",
"import/newline-after-import": "off",
"class-methods-use-this": "off",
"no-warning-comments": "off",
"no-unused-vars": [
"error",
{ "argsIgnorePattern": "^_" }
],
"no-useless-escape": "off",
"spaced-comment": "off",
"require-yield": "off",
"prefer-template": "warn",
"no-underscore-dangle": "off",
"comma-dangle": [
"warn",
"never"
],
"strict": "off",
"guard-for-in": "off",
"object-shorthand": "off",
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
],
"brace-style": [
2,
"stroustrup"
],
"max-len": [
2,
{
"code": 100,
"ignorePattern": "(https?:|JSON\\.parse|[Uu]rl =)"
}
],
"arrow-parens": ["error", "always"],
"prefer-destructuring": "off",
"function-paren-newline": ["error", "consistent"]
}
}
8 changes: 8 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"lerna": "2.11.0",
"version": "1.0.0",
"npmClient": "yarn",
"packages": [
"packages/*"
]
}
86 changes: 10 additions & 76 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,90 +1,24 @@
{
"name": "sat-api",
"version": "1.0.0b5",
"version": "1.0.0",
"description": "One API to search public Satellites metadata",
"main": "index.js",
"repository": "https://github.com/sat-utils/sat-api",
"author": "Alireza Jazayeri <[email protected]>, Matthew Hanson <[email protected]>",
"license": "MIT",
"scripts": {
"build": "webpack --progress",
"watch": "webpack -w --progress"
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true
},
"extends": "standard",
"rules": {
"semi": [
2,
"always"
],
"space-before-function-paren": "off",
"spaced-comment": "off",
"no-extra-semi": 2,
"brace-style": [
"error",
"stroustrup"
],
"semi-spacing": [
2,
{
"before": false,
"after": true
}
]
}
},
"babel": {
"presets": [
"es2015"
],
"plugins": [
"transform-async-to-generator"
]
"test": "lerna run test"
},
"dependencies": {
"@turf/bbox": "^6.0.1",
"aws-sdk": "^2.57.0",
"bluebird": "^3.5.1",
"dev-null": "^0.1.1",
"elasticsearch": "^14.2.2",
"elasticsearch-streams": "^0.0.10",
"elasticsearch-writable-stream": "^2.0.1",
"electron": "^1.6.10",
"epsg": "^0.3.0",
"fast-csv": "^2.4.0",
"geojson-validation": "^0.2.0",
"got": "^7.0.0",
"kes": "^2.2.2",
"lambda-proxy-utils": "^1.2.4",
"lodash.get": "^4.4.2",
"lodash.padstart": "^4.6.1",
"lodash.range": "^3.2.0",
"moment": "^2.18.1",
"proj4": "^2.4.3",
"pump": "^2.0.0",
"sat-api-lib": "^1.0.0b5",
"through2": "0",
"turf-kinks": "^3.0.12"
"kes": "^2.2.2"
},
"devDependencies": {
"babel-core": "^6.24.1",
"babel-loader": "^7.0.0",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-polyfill": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"eslint": "^3.19.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-import": "^2.3.0",
"eslint-plugin-node": "^4.2.2",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"json-loader": "^0.5.4",
"prepend-loader": "^0.0.2",
"tap": "^10.3.3",
"webpack": "^2.6.0"
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jsdoc": "^3.5.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"lerna": "^2.11.0"
}
}
66 changes: 0 additions & 66 deletions webpack.config.js

This file was deleted.

0 comments on commit f04a5c2

Please sign in to comment.