-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
128 lines (128 loc) · 3.42 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
{
"name": "woocommerce-rest-ts-api",
"version": "7.0.2",
"description": "WooCommerce REST API - Type Script Library",
"author": "Yuri Lima",
"license": "MIT",
"engines": {
"node": ">=14.0.0"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/src/index.d.ts",
"files": [
"./dist/**/*"
],
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/src/index.d.ts"
}
},
"scripts": {
"build": "npm run prepack",
"dep:update": "ncu && ncu --doctor -u && ncu -u",
"test": "jest",
"data:generate": "ts-node ./src/test/generate-data.ts",
"format": "prettier --write \"**/*.ts\"",
"lint": "eslint . --ext .ts",
"lint-and-fix": "eslint . --ext .ts --fix",
"prepublishOnly": "npm run dep:update && npm run format && npm run lint-and-fix",
"clean": "rm -rf ./dist",
"build:types": "npx tsc --emitDeclarationOnly --declaration",
"build:cjs:esm": "npx tsup ./src/index.ts --format cjs,esm --sourcemap",
"prepack": "npm run clean && npm run build:cjs:esm && npm run build:types",
"semantic-release": "semantic-release",
"commit": "cz",
"postinstall": "tsc --outDir ./build"
},
"lint-staged": {
"*.{ts,js,json}": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"axios": "^1.5.1",
"dynamic.envs": "^1.0.4",
"oauth-1.0a": "^2.2.6",
"typescript": "^5.2.2",
"url-parse": "^1.5.10"
},
"devDependencies": {
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.7",
"@types/jest": "^29.5.0",
"@types/luxon": "^3.3.0",
"@types/randomstring": "^1.1.8",
"@types/url-parse": "^1.4.8",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"del-cli": "^5.0.0",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.5.0",
"lint-staged": "13.2.1",
"luxon": "^3.3.0",
"nock": "13.3.0",
"npm-check-updates": "^16.10.7",
"prettier": "2.8.7",
"randomstring": "^1.2.3",
"semantic-release": "^21.0.1",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"tsup": "^6.7.0"
},
"homepage": "https://yurilima.uk/",
"repository": {
"type": "git",
"url": "https://github.com/Yuri-Lima/woocommerce-rest-api-ts-lib"
},
"bugs": {
"url": "https://github.com/Yuri-Lima/woocommerce-rest-api-ts-lib/issues"
},
"release": {
"branches": [
"updates",
"master",
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
"@semantic-release/npm",
"@semantic-release/git"
]
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"private": false,
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog",
"disableScopeLowerCase": true
}
},
"keywords": [
"wordpress",
"woocommerce",
"rest",
"promise",
"node",
"typescript",
"api"
]
}