woocommerce-rest-ts-api
Version:
WooCommerce REST API - Type Script Library
180 lines (179 loc) • 5.17 kB
JSON
{
"name": "woocommerce-rest-ts-api",
"version": "8.0.0",
"description": "WooCommerce REST API - Type Script Library",
"author": "Yuri Lima",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"packageManager": "pnpm@11.5.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/src/index.d.ts",
"files": [
"./dist/**/*"
],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"sideEffects": false,
"scripts": {
"build": "pnpm run prepack && pnpm --filter woo-mcp-server build",
"typecheck": "tsc --noEmit -p tsconfig.json && pnpm --filter woo-mcp-server typecheck",
"dep:update": "pnpm dlx npm-check-updates && pnpm dlx npm-check-updates --doctor -u && pnpm dlx npm-check-updates -u",
"test": "jest && pnpm --filter woo-mcp-server test",
"test:mcp": "pnpm --filter woo-mcp-server test",
"data:generate": "ts-node ./src/test/generate-data.ts",
"format": "prettier --write \"**/*.ts\"",
"lint": "eslint src/",
"lint-and-fix": "eslint src/ --fix",
"prepublishOnly": "pnpm run prepack",
"clean": "rm -rf ./dist",
"build:types": "pnpm exec tsc --emitDeclarationOnly --declaration",
"build:cjs:esm": "esbuild ./src/index.ts --bundle --platform=node --target=es2022 --format=cjs --outfile=dist/index.js --sourcemap --external:axios --external:oauth-1.0a --external:url-parse && esbuild ./src/index.ts --bundle --platform=node --target=es2022 --format=esm --outfile=dist/index.mjs --sourcemap --external:axios --external:oauth-1.0a --external:url-parse",
"prepack": "pnpm run clean && pnpm run build:cjs:esm && pnpm run build:types",
"semantic-release": "semantic-release",
"publish:packages": "bash ./scripts/publish-packages.sh",
"publish:packages:dry": "DRY_RUN=1 bash ./scripts/publish-packages.sh",
"commit": "cz"
},
"lint-staged": {
"*.{ts,js,json}": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"axios": "^1.18.0",
"oauth-1.0a": "^2.2.6",
"url-parse": "^1.5.10"
},
"devDependencies": {
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.3",
"@types/jest": "^30.0.0",
"@types/luxon": "^3.6.2",
"@types/randomstring": "^1.3.0",
"@types/url-parse": "^1.4.11",
"@typescript-eslint/eslint-plugin": "^8.19.0",
"@typescript-eslint/parser": "^8.19.0",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"del-cli": "^6.0.0",
"esbuild": "^0.28.1",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-prettier": "^5.5.1",
"eslint-plugin-promise": "^6.6.0",
"jest": "^30.0.3",
"lint-staged": "16.1.2",
"luxon": "^3.6.1",
"nock": "13.5.6",
"npm-check-updates": "^18.0.1",
"prettier": "3.6.1",
"randomstring": "^1.3.1",
"semantic-release": "^24.2.5",
"ts-jest": "^29.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.3"
},
"homepage": "https://yurilima.com.br/",
"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
}
},
"overrides": {
"handlebars": "^4.7.9",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"glob": "^11.0.1",
"minimatch": "^10.0.1",
"esbuild": "^0.28.1",
"rollup": "^4.40.2",
"tar": "^7.5.15",
"tmp": "^0.2.6",
"flatted": "^3.4.2",
"js-yaml": "^4.1.1",
"yaml": "^2.8.1",
"brace-expansion": "^2.0.3",
"diff": "^7.0.0",
"@babel/core": "^7.26.10",
"ip-address": "^10.1.1",
"npm": {
"tar": "^7.5.15",
"glob": "^10.4.5",
"minimatch": "^10.0.1"
},
"commitizen": {
"lodash": "^4.17.21"
},
"inquirer": {
"tmp": "^0.2.6"
},
"@typescript-eslint/typescript-estree": {
"minimatch": "^10.0.1"
},
"eslint": {
"minimatch": "^10.0.1"
},
"jest-config": {
"glob": "^11.0.1",
"minimatch": "^10.0.1"
},
"tsup": {
"esbuild": "^0.28.1",
"rollup": "^4.40.2"
},
"bundle-require": {
"esbuild": "^0.28.1"
},
"picomatch": "^4.0.4",
"fast-uri": "^3.1.3"
},
"keywords": [
"wordpress",
"woocommerce",
"rest",
"promise",
"node",
"typescript",
"api"
]
}