-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 3.24 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"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 [email protected]",
"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 <[email protected]>",
"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
}
}
}
}