seer-getvalue
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "seer-getvalue", | ||
"version": "1.0.1", | ||
"description": "seerline get value", | ||
"main": "index.js", | ||
"version": "1.0.2", | ||
"description": "get value for seerline stock data structure fields ", | ||
"main": "./lib/index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"clean": "rimraf lib", | ||
"test": "cross-env BABEL_ENV=commonjs mocha --require babel-core/register --recursive", | ||
"test:watch": "npm test -- --watch", | ||
"test:examples": "node examples/", | ||
"cover": "cross-env BABEL_ENV=commonjs istanbul cover _mocha -- --require babel-core/register --recursive", | ||
"lint": "eslint src test", | ||
"build": "cross-env BABEL_ENV=commonjs babel src --out-dir lib", | ||
"prepublish": "npm run clean && npm run lint && npm run test && npm run build" | ||
}, | ||
"files": [ | ||
"lib", | ||
"src" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Micjoyce/seer-getvalue.git" | ||
}, | ||
"keywords": [ | ||
"seer", | ||
"stock", | ||
"getvalue" | ||
], | ||
"author": { | ||
@@ -19,18 +39,22 @@ "name": "Seerline Team", | ||
], | ||
"keywords": [ | ||
"seer", | ||
"stock", | ||
"getvalue" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Micjoyce/seer-getvalue.git" | ||
}, | ||
"dependencies": { | ||
}, | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/Micjoyce/seer-getvalue/issues", | ||
"email": "support@rocket.chat" | ||
"url": "https://github.com/Micjoyce/seer-getvalue/issues" | ||
}, | ||
"license": "MIT" | ||
"homepage": "https://github.com/Micjoyce/seer-getvalue#readme", | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-eslint": "^8.2.1", | ||
"babel-preset-env": "^1.6.1", | ||
"chai": "^4.1.2", | ||
"cross-env": "^5.1.3", | ||
"eslint": "^4.17.0", | ||
"eslint-config-airbnb": "^16.1.0", | ||
"eslint-plugin-import": "^2.8.0", | ||
"eslint-plugin-jsx-a11y": "^6.0.3", | ||
"eslint-plugin-react": "^7.6.1", | ||
"istanbul": "^1.1.0-alpha.1", | ||
"mocha": "^5.0.0", | ||
"rimraf": "^2.6.2" | ||
} | ||
} |
@@ -1,12 +0,29 @@ | ||
# Get value for seer stock data | ||
# Why? [![Build Status](https://travis-ci.org/Travelport-Ukraine/npm-module-boilerplate.svg?branch=master)](https://travis-ci.org/Travelport-Ukraine/npm-module-boilerplate) | ||
:page_with_curl: Boilerplate for npm/node module. Write with ES6 - have compatibility with all node versions. | ||
```javascript | ||
import getValue from 'seer-getvalue'; | ||
This boilerplate is for people who want write code using all ES6 features ( and stage-2 ) but also want/need backward compatibility with old node versions. | ||
getValue({ | ||
key: 'MIN', | ||
data: [[20160912, 3027, 3060, 3006, 3045, 2899975, 88119035]], | ||
punit: 2, | ||
}, 'nowvol', 0); | ||
# Node version | ||
``` | ||
This boilerplate uses `babel-preset-env`. Supported `node` version can be defined in `.babelrc`. | ||
# Features | ||
* Build with [Babel](https://babeljs.io). (ES6 -> ES5) | ||
* Test with [mocha](https://mochajs.org). | ||
* Cover with [istanbul](https://github.com/gotwarlost/istanbul). | ||
* Check with [eslint](eslint.org). | ||
* Deploy with [Travis](travis-ci.org). | ||
# Commands | ||
- `npm run clean` - Remove `lib/` directory | ||
- `npm test` - Run tests. Tests can be written with ES6 (WOW!) | ||
- `npm test:watch` - You can even re-run tests on file changes! | ||
- `npm run cover` - Yes. You can even cover ES6 code. | ||
- `npm run lint` - We recommend using [airbnb-config](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb). It's fantastic. | ||
- `npm run test:examples` - We recommend writing examples on pure JS for better understanding module usage. | ||
- `npm run build` - Do some magic with ES6 to create ES5 code. | ||
- `npm run prepublish` - Hook for npm. Do all the checks before publishing you module. | ||
# Installation | ||
Just clone this repo and remove `.git` folder. | ||
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
21185
5
725
1
30
13
1