This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.09 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
{
"name": "@cocart/cocart-rest-api",
"version": "1.1.0",
"description": "CoCart - JavaScript Library",
"author": "Sebastien Dumont",
"license": "MIT",
"keywords": [
"wordpress",
"woocommerce",
"rest",
"cocart",
"promise",
"node"
],
"homepage": "https://github.com/co-cart/cocart-js-lib",
"repository": {
"type": "git",
"url": "git+https://github.com/co-cart/cocart-js-lib.git"
},
"bugs": {
"url": "https://github.com/co-cart/cocart-js-lib/issues"
},
"main": "index",
"types": "index.d.ts",
"exports": {
"import": "./index.mjs",
"require": "./index.js"
},
"files": [
"index.js",
"index.mjs",
"index.d.ts"
],
"dependencies": {
"axios": "^0.26.0",
"create-hmac": "^1.1.7",
"oauth-1.0a": "^2.2.6",
"url-parse": "^1.4.7"
},
"devDependencies": {
"@babel/cli": "7.17.6",
"@babel/core": "7.17.9",
"@babel/plugin-transform-modules-commonjs": "7.17.9",
"@babel/preset-env": "7.16.11",
"babel-jest": "27.5.1",
"del-cli": "4.0.1",
"eslint": "8.14.0",
"eslint-config-prettier": "8.3.0",
"eslint-config-standard": "16.0.3",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jest": "25.2.4",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-promise": "5.2.0",
"eslint-plugin-standard": "5.0.0",
"husky": "7.0.4",
"jest": "27.5.1",
"lint-staged": "11.2.6",
"nock": "13.2.4",
"prettier": "2.6.2"
},
"scripts": {
"build": "del index.js && babel index.mjs --out-dir .",
"test": "jest",
"format": "prettier --write \"*.mjs\" \"test.js\"",
"lint": "eslint *.mjs",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A",
"postversion": "git push && git push --tags"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,mjs}": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"engines": {
"node": ">=8.0.0"
}
}