UNPKG

abowire

Version:

This is the official **Abowire Javascript SDK**, which makes it easy to connect to the Abowire **GraphQL API** and includes all the required dependencies you need.

107 lines (106 loc) 2.7 kB
{ "name": "abowire", "version": "v2.31.6", "private": false, "type": "module", "main": "dist/index.js", "module": "dist/index.js", "browser": { "./index.js": "dist/browser.js" }, "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "rm -fr dist && npm run generate-types && tsc -noEmit --emitDeclarationOnly false && node esbuild.js && tsc", "start": "npm run generate-types && tsc && node esbuild.js -w", "format": "prettier --write \"**/*.{js,json,jsx,ts,tsx}\"", "format:check": "npm run format -- --check", "lint": "eslint '*/**/*.{js,ts,tsx}'", "lint:fix": "eslint '*/**/*.{js,ts,tsx}' --quiet --fix", "lint:staged": "lint-staged", "test": "jest", "generate-types": "rm -fr gen && graphql-codegen" }, "ava": { "extensions": [ "ts" ], "files": [ "**/*.test.ts" ], "require": [ "ts-node/register" ], "verbose": true, "timeout": "1m" }, "author": "Abowire GmbH <tech@abowire.com>", "homepage": "https://abowire.dev", "keywords": [ "Abowire", "Abowire.js", "Subscriptions" ], "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "testRegex": ".test.ts$", "transform": { ".+\\.(t|j)s$": "ts-jest" }, "testEnvironment": "jsdom", "collectCoverage": true, "globals": { "GRAPHQL_ENDPOINT_URL": "", "CHECKOUT_URL": "" }, "setupFilesAfterEnv": [ "<rootDir>/src/testing/setup.ts" ], "moduleNameMapper": { "\\.css$": "<rootDir>/src/testing/style.mock.ts" } }, "lint-staged": { "*.{js,json,jsx,ts,tsx}": [ "prettier --write" ], "*.{js,jsx,ts,tsx}": [ "eslint '*/**/*.{js,ts,tsx}' --quiet --fix" ] }, "devDependencies": { "@babel/core": "7.18.10", "@babel/preset-env": "7.18.10", "@graphql-codegen/cli": "3.3.1", "@graphql-codegen/client-preset": "3.0.1", "@graphql-typed-document-node/core": "3.2.0", "@types/base-64": "1.0.0", "@types/jest": "27.4.0", "@types/jsonwebtoken": "8.5.8", "@types/react": "18.2.20", "@typescript-eslint/eslint-plugin": "5.3.0", "@typescript-eslint/parser": "5.3.0", "dotenv": "16.0.1", "esbuild": "0.20.2", "esbuild-plugin-replace": "1.2.0", "esbuild-serve": "1.0.1", "eslint": "8.1.0", "eslint-config-prettier": "8.3.0", "eslint-plugin-prettier": "4.0.0", "jsonwebtoken": "9.0.0" }, "dependencies": { "@krakenjs/zoid": "10.3.1", "@urql/core": "5.0.3", "dom-create-element-query-selector": "1.0.5", "keycloak-js": "25.0.4", "web-dialog": "0.0.11", "yup": "0.32.11" } }