UNPKG

shopify-admin-api

Version:

Shopify Admin API is a NodeJS library built to help developers easily authenticate and make calls against the Shopify API. It was inspired by and borrows heavily from ShopifySharp.

140 lines 6.54 kB
{ "name": "shopify-admin-api", "version": "2.17.1", "description": "Shopify Admin API is a NodeJS library built to help developers easily authenticate and make calls against the Shopify API. It was inspired by and borrows heavily from ShopifySharp.", "main": "dist/cjs/index.js", "browser": "dist/esm/index.js", "types": "dist/types/index.d.ts", "module": "dist/esm/index.js", "source": "src/index.ts", "repository": { "type": "git", "url": "git+https://github.com/ArtCodeStudio/shopify-admin-api.git" }, "keywords": [ "shopify", "shopify-api", "typescript", "ecommerce", "api", "nodejs" ], "author": "Joshua Harms <joshua@nozzlegear.com>", "contributors": [ { "name": "Joshua Harms", "email": "joshua@nozzlegear.com", "url": "https://nozzlegear.com/" }, { "name": "Pascal Garber", "email": "pascal@artandcode.studio", "url": "https://artandcode.studio/" }, { "name": "Moritz Raguschat", "email": "moritz@artandcode.studio", "url": "https://artandcode.studio/" } ], "license": "MIT", "bugs": { "url": "https://github.com/ArtCodeStudio/shopify-admin-api/issues" }, "homepage": "https://github.com/ArtCodeStudio/shopify-admin-api#readme", "dependencies": { "@yarnpkg/pnpify": "^3.1.1-rc.5", "crypto-js": "^4.1.1", "jsuri": "^1.3.1", "node-fetch": "^2.6.6", "p-queue": "^6.6.2", "tap-bail": "^1.0.0", "url-join": "^4.0.1" }, "devDependencies": { "@tsconfig/node16": "^1.0.2", "@types/crypto-js": "^4.0.2", "@types/jsuri": "^1.3.30", "@types/node": "^16.11.10", "@types/node-fetch": "^3.0.3", "@types/url-join": "^4.0.1", "alsatian": "^3.2.1", "barrelsby": "^2.3.0", "concurrently": "^6.4.0", "dotenv": "^10.0.0", "glob": "^7.2.0", "logspect": "^1.3.1", "mkdirp": "^1.0.4", "rimraf": "^3.0.2", "tap-spec": "^5.0.0", "ts-node": "^10.4.0", "tslint": "^6.1.3", "typescript": "4.4.4" }, "scripts": { "addTests": "ts-node .tasks/add-test-scripts.ts", "prepublishOnly": "npm run barrel && npm run build", "clean": "rimraf dist", "build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:types", "build:cjs": "tsc --project ./tsconfig.cjs.json", "build:esm": "tsc --project ./tsconfig.esm.json", "build:tests": "tsc --project ./tsconfig.tests.json", "build:types": "tsc --project ./tsconfig.types.json", "watch": "npm run clean && tsc --watch", "barrel:enums": "barrelsby -d src/enums --delete", "barrel:interfaces": "barrelsby -d src/interfaces --delete", "barrel:options": "barrelsby -d src/options --delete", "barrel:services": "barrelsby -d src/services --delete", "barrel:infrastructure": "barrelsby -d src/infrastructure --delete", "barrel": "concurrently --raw \"npm run barrel:enums\" \"npm run barrel:interfaces\" \"npm run barrel:options\" \"npm run barrel:services\" \"npm run barrel:infrastructure\"", "pretest": "npm run build:cjs", "pretest:raw": "npm run build:cjs", "test": "npm run build:tests && npm run test:no-build", "test:raw": "alsatian -T ./tests/dist/*.js", "test:no-build": "alsatian -T ./tests/dist/*.js | tap-bail | tap-spec", "test:application_credits": "alsatian -T ./tests/dist/application_credits.js | tap-spec", "test:articles": "alsatian -T ./tests/dist/articles.js | tap-spec", "test:authorization": "alsatian -T ./tests/dist/authorization.js | tap-spec", "test:blogs": "alsatian -T ./tests/dist/blogs.js | tap-spec", "test:charges": "alsatian -T ./tests/dist/charges.js | tap-spec", "test:custom_collections": "alsatian -T ./tests/dist/custom_collections.js | tap-spec", "test:customers": "alsatian -T ./tests/dist/customers.js | tap-spec", "test:discounts": "alsatian -T ./tests/dist/discounts.js | tap-spec", "test:gift_cards": "alsatian -T ./tests/dist/gift_cards.js | tap-spec", "test:orders": "alsatian -T ./tests/dist/orders.js | tap-spec", "test:price_rules": "alsatian -T ./tests/dist/price_rules.js | tap-spec", "test:products": "alsatian -T ./tests/dist/products.js | tap-spec", "test:recurring_charges": "alsatian -T ./tests/dist/recurring_charges.js | tap-spec", "test:redirects": "alsatian -T ./tests/dist/redirects.js | tap-spec", "test:script_tags": "alsatian -T ./tests/dist/script_tags.js | tap-spec", "test:shopify_error": "alsatian -T ./tests/dist/shopify_error.js | tap-spec", "test:shops": "alsatian -T ./tests/dist/shops.js | tap-spec", "test:smart_collections": "alsatian -T ./tests/dist/smart_collections.js | tap-spec", "test:usage_charges": "alsatian -T ./tests/dist/usage_charges.js | tap-spec", "test:webhooks": "alsatian -T ./tests/dist/webhooks.js | tap-spec", "test:application_credits:raw": "alsatian -T ./tests/dist/application_credits.js", "test:articles:raw": "alsatian -T ./tests/dist/articles.js", "test:authorization:raw": "alsatian -T ./tests/dist/authorization.js", "test:blogs:raw": "alsatian -T ./tests/dist/blogs.js", "test:charges:raw": "alsatian -T ./tests/dist/charges.js", "test:custom_collections:raw": "alsatian -T ./tests/dist/custom_collections.js", "test:discounts:raw": "alsatian -T ./tests/dist/discounts.js", "test:gift_cards:raw": "alsatian -T ./tests/dist/gift_cards.js", "test:orders:raw": "alsatian -T ./tests/dist/orders.js", "test:price_rules:raw": "alsatian -T ./tests/dist/price_rules.js", "test:products:raw": "alsatian -T ./tests/dist/products.js", "test:recurring_charges:raw": "alsatian -T ./tests/dist/recurring_charges.js", "test:redirects:raw": "alsatian -T ./tests/dist/redirects.js", "test:script_tags:raw": "alsatian -T ./tests/dist/script_tags.js", "test:shopify_error:raw": "alsatian -T ./tests/dist/shopify_error.js", "test:shops:raw": "alsatian -T ./tests/dist/shops.js", "test:smart_collections:raw": "alsatian -T ./tests/dist/smart_collections.js", "test:usage_charges:raw": "alsatian -T ./tests/dist/usage_charges.js", "test:webhooks:raw": "alsatian -T ./tests/dist/webhooks.js", "test:customers:raw": "alsatian -T ./tests/dist/customers.js", "test:data": "alsatian -T ./tests/dist/data.js | tap-spec", "test:data:raw": "alsatian -T ./tests/dist/data.js", "test:test_utils": "alsatian -T ./tests/dist/test_utils.js | tap-spec", "test:test_utils:raw": "alsatian -T ./tests/dist/test_utils.js" } }