-
Notifications
You must be signed in to change notification settings - Fork 75
/
package.json
83 lines (83 loc) · 2.06 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
{
"name": "@woocommerce/woocommerce-rest-api",
"version": "1.0.1",
"description": "WooCommerce REST API - JavaScript Library",
"author": "Automattic",
"license": "MIT",
"keywords": [
"wordpress",
"woocommerce",
"rest",
"promise",
"node"
],
"homepage": "https://github.com/woocommerce/woocommerce-rest-api-js-lib",
"repository": {
"type": "git",
"url": "git+https://github.com/woocommerce/woocommerce-rest-api-js-lib.git"
},
"bugs": {
"url": "https://github.com/woocommerce/woocommerce-rest-api-js-lib/issues"
},
"main": "index",
"types": "index.d.ts",
"files": [
"index.js",
"index.mjs",
"index.d.ts"
],
"dependencies": {
"axios": "^1.6.0",
"create-hmac": "^1.1.7",
"oauth-1.0a": "^2.2.6",
"url-parse": "^1.4.7"
},
"devDependencies": {
"@babel/cli": "7.6.0",
"@babel/core": "7.6.0",
"@babel/plugin-transform-modules-commonjs": "7.6.0",
"@babel/preset-env": "7.6.0",
"babel-jest": "24.9.0",
"del-cli": "3.0.0",
"eslint": "6.4.0",
"eslint-config-prettier": "6.3.0",
"eslint-config-standard": "14.1.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jest": "22.17.0",
"eslint-plugin-node": "10.0.0",
"eslint-plugin-prettier": "3.1.1",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1",
"husky": "3.0.5",
"jest": "24.9.0",
"lint-staged": "9.3.0",
"nock": "11.3.5",
"prettier": "1.18.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"
}
}