UNPKG

woocommerce-rest-ts-api

Version:

WooCommerce REST API - Type Script Library

126 lines 3.39 kB
{ "name": "woocommerce-rest-ts-api", "version": "7.1.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": { ".": { "types": "./dist/src/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" } }, "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 src/", "lint-and-fix": "eslint src/ --fix", "prepublishOnly": "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" }, "lint-staged": { "*.{ts,js,json}": [ "eslint --fix", "prettier --write" ] }, "dependencies": { "axios": "^1.10.0", "dynamic.envs": "^1.0.4", "oauth-1.0a": "^2.2.6", "url-parse": "^1.5.10" }, "devDependencies": { "typescript": "^5.8.3", "@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": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "commitizen": "^4.3.1", "cz-conventional-changelog": "^3.3.0", "del-cli": "^6.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-config-standard": "^17.1.0", "eslint-plugin-import": "^2.32.0", "eslint-plugin-jest": "^27.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": "14.0.5", "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", "tsup": "^8.5.0" }, "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 } }, "keywords": [ "wordpress", "woocommerce", "rest", "promise", "node", "typescript", "api" ] }