Skip to content

Commit

Permalink
build: 3.0.0
Browse files Browse the repository at this point in the history
* build: 3.0.0
  • Loading branch information
CarlosCarmona authored Jan 8, 2021
1 parent d054077 commit 97b7da4
Show file tree
Hide file tree
Showing 12 changed files with 1,270 additions and 185 deletions.
22 changes: 6 additions & 16 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,22 @@
"browser": true,
"node": true
},
"extends": "eslint:recommended",
"extends": ["plugin:prettier/recommended"],
"globals": {
"Promise": true,
"global": true
},
"parserOptions": {
"ecmaVersion": 2017,
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"indent": ["error", 2, {"SwitchCase":1}],
"indent": ["error", 2, { "SwitchCase": 1 }],
"default-case": "error",
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
]
"linebreak-style": ["error", "unix"],
"semi": ["error", "always"]
}
}
}
33 changes: 1 addition & 32 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,31 +1,23 @@
### Node template
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

Expand All @@ -35,29 +27,6 @@ build/Release
# Dependency directory
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
node_modules
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm
.npmignore

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

#WebStorm
.idea/
Expand Down
12 changes: 12 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
node_modules
.all-contributorsrc
.eslintignore
.gitignore
.prettierignore
LICENSE
*.png
*.txt
TODO
docs/functions.md
*.md
test.log
10 changes: 10 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"printWidth": 120,
"singleQuote": true,
"useTabs": false,
"tabWidth": 2,
"semi": true,
"bracketSpacing": true,
"trailingComma": "none",
"arrowParens": "avoid"
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 Antonio Genaro
Copyright (c) 2021 Runnerty Tech S.L

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
<p align="center">
<a href="http://runnerty.io">
<img height="257" src="https://runnerty.io/assets/header/logo-stroked.png">
</a>
<p align="center">A new way for processes managing</p>
</p>

[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Dependency Status][david-badge]][david-badge-url]
<a href="#badge">
<img alt="code style: prettier" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg">
</a>

# XML/JSON Parser executor for [Runnerty]:

### Installation:
Through NPM

```bash
npm i @runnerty/executor-parse-xml-json
```

You can also add modules to your project with [runnerty-cli]

```bash
npx runnerty-cli add @runnerty/executor-parse-xml-json
```

This command installs the module in your project, adds example configuration in your `config.json` and creates an example plan of use.

If you have installed [runnerty-cli] globally you can include the module with this command:

```bash
rty add @runnerty/executor-parse-xml-json
```

### Configuration sample:
```json
{
Expand Down Expand Up @@ -88,3 +121,11 @@ Options definitions for `json_options` and `xml_options` params can be found her
[json_options]: https://github.com/Leonidas-from-XIV/node-xml2js#options
[xml_options]: https://github.com/Leonidas-from-XIV/node-xml2js#options-for-the-builder-class
[Runnerty]: http://www.runnerty.io
[downloads-image]: https://img.shields.io/npm/dm/@runnerty/executor-parse-xml-json.svg
[npm-url]: https://www.npmjs.com/package/@runnerty/executor-parse-xml-json
[npm-image]: https://img.shields.io/npm/v/@runnerty/executor-parse-xml-json.svg
[david-badge]: https://david-dm.org/runnerty/executor-parse-xml-json.svg
[david-badge-url]: https://david-dm.org/runnerty/executor-parse-xml-json
[config.json]: http://docs.runnerty.io/config/
[plan.json]: http://docs.runnerty.io/plan/
[runnerty-cli]: https://www.npmjs.com/package/runnerty-cli
Loading

0 comments on commit 97b7da4

Please sign in to comment.