diff --git a/processor/package.json b/processor/package.json index f968c21..9bd532f 100644 --- a/processor/package.json +++ b/processor/package.json @@ -1,14 +1,69 @@ { - "name": "processor", - "private": true, - "version": "0.0.0", - "type": "module", + "name": "pay-adyen-connect", + "version": "0.0.1", + "description": "Adyen Connector within Connect", + "main": "dist/server/server.js", "scripts": { - "start": "node src/index.js" + "build:client": "vite build", + "build:client:dev": "vite build --mode dev && vite build", + "build:server": "tsc -p tsconfig.server.json", + "build": "npm run build:server && npm run build:client", + "build:dev": "npm run build:server && npm run build:client:dev", + "dev": "ts-node --project tsconfig.server.json src/server/main.ts | pino-pretty", + "start": "SERVER_PORT=8080 node dist/server/main.js", + "watch": "nodemon --watch \"src/**\" --ext \"ts,json,js,html,css\" --ignore \"src/**/*.spec.ts\" --exec \"npm run dev\"", + "lint": "prettier --check \"src/**/*.{ts,js,json}\" && eslint --ext .ts src", + "lint:fix": "prettier --write \"src/**/*.{ts,js,json}\" && eslint --fix --ext .ts src", + "test": "jest --detectOpenHandles" }, + "keywords": [], + "author": "", + "license": "ISC", "dependencies": { - "@commercetools-backend/loggers": "^22.15.1", - "body-parser": "^1.20.2", - "express": "^4.18.2" + "@adyen/api-library": "14.2.0", + "@commercetools/connect-payments-sdk": "0.0.1", + "@commercetools/payments-sdk": "file:../payments-sdk", + "@commercetools/platform-sdk": "6.0.0", + "@commercetools/sdk-client-v2": "2.2.0", + "@fastify/cors": "8.4.0", + "@fastify/formbody": "7.4.0", + "@fastify/http-proxy": "9.2.1", + "@fastify/request-context": "5.0.0", + "@fastify/static": "6.11.2", + "@fastify/type-provider-typebox": "3.5.0", + "@sinclair/typebox": "0.31.14", + "dotenv": "16.3.1", + "fastify": "4.25.1", + "fastify-plugin": "4.5.1", + "pino": "8.16.2", + "pino-std-serializers": "6.2.2" + }, + "devDependencies": { + "@adyen/adyen-web": "5.51.0", + "@jest/globals": "29.7.0", + "@types/jest": "29.5.6", + "@types/node": "20.6.3", + "@types/systemjs": "6.13.4", + "@typescript-eslint/eslint-plugin": "6.8.0", + "@typescript-eslint/parser": "6.8.0", + "eslint": "8.51.0", + "eslint-config-prettier": "9.0.0", + "eslint-plugin-import": "2.28.1", + "eslint-plugin-jest": "27.4.3", + "eslint-plugin-prettier": "5.0.1", + "eslint-plugin-unused-imports": "3.0.0", + "jest": "29.7.0", + "lit": "3.0.0", + "msw": "1.3.2", + "node-fetch": "3.3.2", + "nodemon": "3.0.1", + "pino-pretty": "10.2.0", + "prettier": "3.0.3", + "systemjs": "6.14.2", + "ts-jest": "29.1.1", + "ts-node": "10.9.1", + "typescript": "5.2.2", + "vite": "4.4.9", + "vite-plugin-css-injected-by-js": "3.3.0" } }