@swishapp/browser
Version:
JS library to integrate Swish into a browser environment.
59 lines (58 loc) • 1.5 kB
JSON
{
"name": "@swishapp/browser",
"version": "0.34.0",
"description": "JS library to integrate Swish into a browser environment.",
"author": "Swish",
"license": "UNLICENSED",
"homepage": "https://developers.swish.app/libraries/browser",
"type": "module",
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsc -p tsconfig.build.json && node esbuild.js",
"clean": "rimraf dist",
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "concurrently 'node esbuild.js --watch' 'tsc -p tsconfig.build.json --watch'",
"predev": "npm run clean",
"prepublishOnly": "npm run clean && npm run build",
"graphql-codegen": "graphql-codegen"
},
"dependencies": {
"@shopify/storefront-api-client": "1.0.8",
"@swishapp/api-client": "0.20.0"
},
"devDependencies": {
"@shopify/api-codegen-preset": "1.1.8",
"concurrently": "9.2.0",
"esbuild": "0.25.6",
"graphql-config": "5.1.5",
"rimraf": "6.0.1",
"typescript": "5.8.3"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"module": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"default": "./dist/index.js"
}
},
"files": [
"dist/**/*.*",
"README.md"
],
"keywords": [
"swish",
"shopify",
"js"
]
}