wip: monorepro

This commit is contained in:
nanov 2019-10-11 10:46:37 +03:00
parent 0f6dcf9eb2
commit 82b226eec2
57 changed files with 66 additions and 86 deletions

4
.env
View File

@ -1,4 +0,0 @@
SERVER_PORT=3003
LOG_LEVEL=info
LOG_ENABLED=true

View File

@ -1,35 +0,0 @@
{
"extends": "airbnb-base",
"env": {
"node": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "script",
"ecmaFeatures": {
"modules": false
}
},
"rules": {
"max-len": 0,
"linebreak-style": 0,
"no-plusplus": [
2,
{
"allowForLoopAfterthoughts": true
}
],
"no-continue": 0,
"indent": [2, "tab"],
"no-tabs": 0,
"strict": [2, "safe"],
"curly": [2, "multi", "consistent"],
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"no-underscore-dangle": 0,
"no-param-reassign": 0,
"generator-star-spacing": 0,
"jsx-a11y/href-no-hash": "off"
}
}

4
.eslintrc.js Normal file
View File

@ -0,0 +1,4 @@
module.exports = {
root: true,
extends: "ecollect-base"
}

8
lerna.json Normal file
View File

@ -0,0 +1,8 @@
{
"packages": [
"packages/*"
],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "independent"
}

View File

@ -1,50 +1,14 @@
{ {
"name": "ebics-client", "name": "ebics-client-root",
"version": "0.0.7", "private": true,
"description": "Node.js ISO 20022 Compliant EBICS Client", "workspaces": [
"main": "index.js", "packages/*"
"scripts": { ],
"test": "echo \"Error: no test specified\" && exit 1" "devDependencies": {
},
"repository": {
"type": "git",
"url": "https://github.com/eCollect/node-ebics-client"
},
"keywords": [
"EBICS",
"ISO20022",
"nodejs",
"api"
],
"author": "eCollect Sofia Tech Team",
"contributors": [
{
"name": "Vasyl Stashuk",
"url": "https://github.com/vasyas"
},
{
"name": "Yago",
"url": "https://github.com/yagop"
}
],
"license": "MIT",
"dependencies": {
"bn.js": "^4.11.8",
"handlebars": "^4.0.11",
"js2xmlparser": "^3.0.0",
"moment": "^2.22.1",
"node-rsa": "^0.4.2",
"request": "^2.87.0",
"uuid": "^3.3.2",
"xml-crypto": "^0.10.1",
"xmldom": "^0.1.27",
"xpath": "0.0.27"
},
"devDependencies": {
"chai": "^4.2.0", "chai": "^4.2.0",
"eslint": "^4.19.1", "lerna": "^3.16.4",
"eslint-config-airbnb-base": "^12.1.0", "eslint": "^6.5.1",
"eslint-plugin-import": "^2.12.0", "eslint-config-ecollect-base": "^0.1.2",
"mocha": "^6.1.4" "eslint-plugin-import": "^2.18.2"
} }
} }

View File

@ -0,0 +1,43 @@
{
"name": "ebics-client",
"version": "0.0.7",
"description": "Node.js ISO 20022 Compliant EBICS Client",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/eCollect/node-ebics-client"
},
"keywords": [
"EBICS",
"ISO20022",
"nodejs",
"api"
],
"author": "eCollect Sofia Tech Team",
"contributors": [
{
"name": "Vasyl Stashuk",
"url": "https://github.com/vasyas"
},
{
"name": "Yago",
"url": "https://github.com/yagop"
}
],
"license": "MIT",
"dependencies": {
"bn.js": "^4.11.8",
"handlebars": "^4.0.11",
"js2xmlparser": "^3.0.0",
"moment": "^2.22.1",
"node-rsa": "^0.4.2",
"request": "^2.87.0",
"uuid": "^3.3.2",
"xml-crypto": "^0.10.1",
"xmldom": "^0.1.27",
"xpath": "0.0.27"
}
}