package.json
{
"name": "@qiwi/card-info",
"version": "1.0.0",
"description": "Library for getting card info by its PAN",
"main": "dist/index.js",
"scripts": {
"jest": "jest -w 2",
"lint": "standard-flow src/**/*.js test/**/*.js",
"flow": "flow",
"fetch_flow_defs": "flow-typed install credit-card-type@6.x.x",
"test": "npm run lint && npm run flow && npm run jest",
"flow_coverage": "flow-coverage-report -i 'src/**/*.js' -t html -t json -t text --threshold 90",
"build": "BABEL_ENV=production babel src --out-dir dist",
"test_with_push": "npm test && npm run codeclimate_push && npm run coveralls_push",
"codeclimate_push": "codeclimate-test-reporter < ./coverage/lcov.info",
"coveralls_push": "cat ./coverage/lcov.info | coveralls",
"minor": "npm test && npm run build && standard-version --release-as minor && npm run postversion",
"major": "npm test && npm run build && standard-version --release-as major && npm run postversion",
"release": "npm test && npm run build && standard-version && npm run postversion",
"postversion": "npm run push && npm publish",
"push": "git push --follow-tags origin master",
"doc": "documentation build src/** -f html -o docs",
"docs": "npm run doc",
"postupdate": "npm i && npm audit fix && npm run build && npm run test"
},
"repository": {
"type": "git",
"url": "https://github.com/qiwi/card-info.git"
},
"keywords": [
"card type",
"card detect",
"credit debit card checker",
"pan info",
"bin info"
],
"author": "Anton Golub <a.golub@qiwi.com>",
"license": "MIT",
"dependencies": {
"credit-card-type": "^8.3.0",
"luhn-alg": "^1.0.1"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-flow-strip-types": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/polyfill": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-flow": "^7.8.3",
"babel-core": "^7.0.0-bridge.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-minify": "^0.5.1",
"codeclimate-test-reporter": "^0.5.1",
"coveralls": "^3.0.9",
"flow-bin": "^0.119.0",
"flow-coverage-report": "^0.6.1",
"flow-remove-types": "^2.119.0",
"flow-typed": "^3.0.0",
"jest": "^25.1.0",
"jest-fetch-mock": "^3.0.1",
"lodash": "^4.17.15",
"standard-flow": "^1.0.0",
"standard-version": "^7.1.0"
},
"jest": {
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"<rootDir>/src/interface.js"
],
"collectCoverageFrom": [
"<rootDir>/src/**/*.js"
],
"testPathIgnorePatterns": [
"<rootDir>/test/setupJest.js"
],
"testMatch": [
"<rootDir>/test/**/*.js"
],
"setupFiles": [
"<rootDir>/test/setupJest.js"
]
},
"files": [
"README.md",
"CHANGELOG.md",
"dist/"
],
"standard-flow": {
"parser": "babel-eslint",
"globals": [
"it",
"expect",
"describe",
"afterAll",
"beforeEach",
"fetch"
],
"ignore": [],
"plugins": [
"flowtype"
],
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": true
}
}
}
}