2022-05-24 20:16:49 +00:00
|
|
|
{
|
2022-05-26 12:16:30 +00:00
|
|
|
"name": "@saleor/app-sdk",
|
2022-11-05 09:36:19 +00:00
|
|
|
"version": "0.19.0",
|
2022-05-26 12:16:30 +00:00
|
|
|
"description": "SDK for building great Saleor Apps",
|
2022-05-24 20:16:49 +00:00
|
|
|
"types": "index.d.ts",
|
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
|
|
|
"prepublishOnly": "pnpm build",
|
2022-09-21 09:25:01 +00:00
|
|
|
"watch": "tsup --watch",
|
|
|
|
"build": "tsup && clear-package-json package.json -o dist/package.json --fields publishConfig",
|
2022-09-05 14:38:57 +00:00
|
|
|
"clean": "rm -rf ./dist/*",
|
2022-08-08 12:57:00 +00:00
|
|
|
"test": "vitest",
|
2022-09-16 09:01:02 +00:00
|
|
|
"test:ci": "CI=true vitest --coverage",
|
2022-07-20 14:27:07 +00:00
|
|
|
"prepare": "husky install",
|
2022-08-11 12:03:51 +00:00
|
|
|
"lint": "prettier --loglevel warn --write . && eslint --fix .",
|
2022-08-30 08:18:03 +00:00
|
|
|
"release": "release-it"
|
2022-05-24 20:16:49 +00:00
|
|
|
},
|
|
|
|
"keywords": [],
|
|
|
|
"author": "",
|
|
|
|
"license": "ISC",
|
2022-09-13 10:00:02 +00:00
|
|
|
"peerDependencies": {
|
2022-11-03 12:05:28 +00:00
|
|
|
"next": "^12",
|
2022-09-13 10:00:02 +00:00
|
|
|
"react": ">=17",
|
2022-11-03 12:05:28 +00:00
|
|
|
"react-dom": ">=17"
|
2022-09-13 10:00:02 +00:00
|
|
|
},
|
2022-05-24 20:16:49 +00:00
|
|
|
"dependencies": {
|
2022-08-26 07:24:56 +00:00
|
|
|
"debug": "^4.3.4",
|
2022-05-24 20:16:49 +00:00
|
|
|
"fast-glob": "^3.2.11",
|
2022-09-12 12:58:47 +00:00
|
|
|
"graphql": "^16.6.0",
|
|
|
|
"jose": "^4.9.2",
|
2022-10-17 10:08:26 +00:00
|
|
|
"node-fetch": "^2.6.7",
|
2022-11-03 12:05:28 +00:00
|
|
|
"raw-body": "^2.5.1",
|
2022-09-21 09:25:01 +00:00
|
|
|
"retes": "^0.33.0",
|
2022-08-26 07:24:56 +00:00
|
|
|
"uuid": "^8.3.2"
|
2022-05-24 20:16:49 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-08-26 07:24:56 +00:00
|
|
|
"@testing-library/dom": "^8.17.1",
|
2022-09-13 10:00:02 +00:00
|
|
|
"@testing-library/react": "^13.4.0",
|
2022-08-26 07:24:56 +00:00
|
|
|
"@types/debug": "^4.1.7",
|
2022-09-12 12:58:47 +00:00
|
|
|
"@types/node": "^18.7.15",
|
2022-09-07 15:33:48 +00:00
|
|
|
"@types/node-fetch": "^2.6.2",
|
2022-11-03 12:05:28 +00:00
|
|
|
"@types/react": "18.0.21",
|
|
|
|
"@types/react-dom": "^18.0.5",
|
2022-08-26 07:24:56 +00:00
|
|
|
"@types/uuid": "^8.3.4",
|
2022-09-12 12:58:47 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.36.1",
|
|
|
|
"@typescript-eslint/parser": "^5.36.1",
|
|
|
|
"@vitejs/plugin-react": "^2.1.0",
|
2022-11-03 12:05:28 +00:00
|
|
|
"@vitest/coverage-c8": "^0.23.2",
|
2022-07-20 10:44:10 +00:00
|
|
|
"clean-publish": "^4.0.1",
|
2022-09-12 12:58:47 +00:00
|
|
|
"eslint": "8.23.0",
|
2022-07-20 10:44:10 +00:00
|
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
|
|
"eslint-config-prettier": "^8.5.0",
|
2022-09-12 12:58:47 +00:00
|
|
|
"eslint-import-resolver-typescript": "^3.5.0",
|
2022-07-20 10:44:10 +00:00
|
|
|
"eslint-plugin-import": "^2.26.0",
|
2022-08-10 08:59:48 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
2022-09-12 12:58:47 +00:00
|
|
|
"eslint-plugin-react": "^7.31.6",
|
2022-07-20 10:44:10 +00:00
|
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
2022-09-12 12:58:47 +00:00
|
|
|
"eslint-plugin-simple-import-sort": "^8.0.0",
|
2022-07-20 14:27:07 +00:00
|
|
|
"husky": "^8.0.1",
|
2022-08-26 07:24:56 +00:00
|
|
|
"jsdom": "^20.0.0",
|
2022-11-03 12:05:28 +00:00
|
|
|
"next": "^12.3.0",
|
|
|
|
"node-mocks-http": "^1.11.0",
|
2022-08-10 08:59:48 +00:00
|
|
|
"prettier": "2.7.1",
|
2022-11-03 12:05:28 +00:00
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-dom": "18.2.0",
|
2022-09-07 15:33:48 +00:00
|
|
|
"release-it": "^15.4.1",
|
2022-08-10 08:59:48 +00:00
|
|
|
"tsm": "^2.2.2",
|
2022-09-12 12:58:47 +00:00
|
|
|
"tsup": "^6.2.3",
|
|
|
|
"typescript": "^4.8.2",
|
|
|
|
"vite": "^3.1.0",
|
2022-11-03 12:05:28 +00:00
|
|
|
"vitest": "^0.23.1"
|
2022-05-26 12:14:13 +00:00
|
|
|
},
|
2022-07-20 14:27:07 +00:00
|
|
|
"lint-staged": {
|
|
|
|
"*.{js,ts,tsx}": "eslint --cache --fix",
|
|
|
|
"*.{js,ts,tsx,css,md,json}": "prettier --write"
|
|
|
|
},
|
2022-05-26 12:14:13 +00:00
|
|
|
"exports": {
|
|
|
|
"./package.json": "./package.json",
|
2022-05-30 14:14:54 +00:00
|
|
|
"./const": {
|
|
|
|
"types": "./const.d.ts",
|
|
|
|
"import": "./const.mjs",
|
|
|
|
"require": "./const.js"
|
|
|
|
},
|
2022-08-30 07:17:11 +00:00
|
|
|
"./APL": {
|
|
|
|
"types": "./APL/index.d.ts",
|
|
|
|
"import": "./APL/index.mjs",
|
|
|
|
"require": "./APL/index.js"
|
2022-08-25 08:44:45 +00:00
|
|
|
},
|
2022-10-12 11:28:00 +00:00
|
|
|
"./settings-manager": {
|
|
|
|
"types": "./settings-manager/index.d.ts",
|
|
|
|
"import": "./settings-manager/index.mjs",
|
|
|
|
"require": "./settings-manager/index.js"
|
|
|
|
},
|
2022-05-26 12:14:13 +00:00
|
|
|
"./middleware": {
|
2022-08-30 07:17:11 +00:00
|
|
|
"types": "./middleware/index.d.ts",
|
|
|
|
"import": "./middleware/index.mjs",
|
|
|
|
"require": "./middleware/index.js"
|
2022-05-26 12:14:13 +00:00
|
|
|
},
|
2022-07-07 11:17:19 +00:00
|
|
|
"./urls": {
|
|
|
|
"types": "./urls.d.ts",
|
|
|
|
"import": "./urls.mjs",
|
|
|
|
"require": "./urls.js"
|
|
|
|
},
|
2022-08-11 12:03:51 +00:00
|
|
|
"./app-bridge": {
|
|
|
|
"types": "./app-bridge/index.d.ts",
|
|
|
|
"import": "./app-bridge/index.mjs",
|
|
|
|
"require": "./app-bridge/index.js"
|
|
|
|
},
|
2022-10-05 11:12:19 +00:00
|
|
|
"./util": {
|
|
|
|
"types": "./util/index.d.ts",
|
|
|
|
"import": "./util/index.mjs",
|
|
|
|
"require": "./util/index.js"
|
|
|
|
},
|
2022-09-21 09:25:01 +00:00
|
|
|
"./handlers/next": {
|
|
|
|
"types": "./handlers/next/index.d.ts",
|
|
|
|
"import": "./handlers/next/index.mjs",
|
|
|
|
"require": "./handlers/next/index.js"
|
|
|
|
},
|
2022-10-26 08:54:18 +00:00
|
|
|
"./saleor-app": {
|
|
|
|
"types": "./saleor-app.d.ts",
|
|
|
|
"import": "./saleor-app.mjs",
|
|
|
|
"require": "./saleor-app.js"
|
|
|
|
},
|
|
|
|
"./infer-webhooks": {
|
|
|
|
"types": "./infer-webhooks.d.ts",
|
|
|
|
"import": "./infer-webhooks.mjs",
|
|
|
|
"require": "./infer-webhooks.js"
|
2022-05-26 12:14:13 +00:00
|
|
|
}
|
2022-05-26 12:54:36 +00:00
|
|
|
},
|
|
|
|
"publishConfig": {
|
2022-09-05 14:27:14 +00:00
|
|
|
"access": "public",
|
2022-05-26 12:54:36 +00:00
|
|
|
"directory": "dist"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/saleor/saleor-app-sdk.git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/saleor/saleor-app-sdk/issues"
|
|
|
|
},
|
|
|
|
"homepage": "https://github.com/saleor/saleor-app-sdk#readme"
|
2022-08-29 17:00:02 +00:00
|
|
|
}
|