forked from mollie/mollie-api-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 3.41 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "@mollie/api-client",
"version": "3.1.0",
"license": "BSD-3-Clause",
"description": "Official Mollie API client for Node",
"repository": {
"type": "git",
"url": "https://github.com/mollie/mollie-api-node"
},
"keywords": [
"mollie",
"payment",
"service",
"provider",
"api",
"client",
"payments",
"gateway"
],
"main": "dist/mollie.cjs.js",
"module": "dist/mollie.esm.js",
"jsnext:main": "dist/mollie.esm.js",
"types": "dist/types/src/types.d.ts",
"engines": {
"node": ">=6.14"
},
"scripts": {
"prepublish": "yarn build",
"commit": "git-cz",
"prepush": "yarn test",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:unit:cov": "jest ./tests/unit --coverage",
"build": "yarn build:library && yarn build:declarations",
"build:library": "rollup --config rollup.config.js",
"build:declarations": "tsc src/types.ts --declaration --declarationDir dist/types --emitDeclarationOnly --allowSyntheticDefaultImports --resolveJsonModule",
"lint:prettier": "prettier --write \"{src,tests,examples}/**/*.{js,ts}\"",
"lint:eslint": "eslint --ext .ts,.js src/",
"lint:eslint:fix": "eslint --ext .ts,.js --fix src/",
"lint": "yarn lint:eslint:fix && yarn lint:prettier"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^2.1.0",
"axios": "^0.19.0",
"lodash": "^4.17.15",
"qs": "^6.7.0"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-typescript": "^7.3.3",
"@mollie/eslint-config-typescript": "^1.3.2",
"@types/jest": "^24.0.16",
"@types/lodash": "^4.14.136",
"@types/node": "^12.6.9",
"@types/qs": "^6.5.3",
"axios-mock-adapter": "^1.17.0",
"babel-jest": "^24.8.0",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
"dotenv": "^8.0.0",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-prettier": "^3.1.0",
"husky": "^3.0.2",
"jest": "^24.8.0",
"lint-staged": "^9.2.1",
"prettier": "^1.18.2",
"rollup": "^1.18.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-copy-glob": "^0.3.1",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"typescript": "^3.5.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.ts": [
"prettier --write \"src/**/*.{js,ts}\"",
"eslint --ext .js,.ts --fix src/",
"git add src/"
],
"tests/**/*.ts": [
"prettier --write \"tests/**/*.(js|ts)\"",
"eslint --ext .js,.ts --fix tests/",
"git add tests/"
],
"examples/**/*.js": [
"prettier --write \"examples/**/*.(js|ts)\"",
"eslint --ext .js,.ts --fix examples/",
"git add examples/"
]
},
"jest": {
"moduleDirectories": [
"node_modules",
"dist",
"src"
],
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "babel-jest",
"^.+\\.pem$": "<rootDir>/tests/unit/__stubs__/fileTransformer.js"
},
"testMatch": [
"<rootDir>/tests/**/*.test.ts"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"files": [
"dist/**/*"
],
"resolutions": {
"@babel/core": "^7.3.3",
"babel-core": "7.0.0-bridge.0"
}
}