Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions plugin/postcat-export-postman/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "postcat-export-postman",
"title": "Push to EoLink",
"version": "1.0.0",
"description": "postcat extension for push api data to other program",
"main": "dist/index.js",
"logo": "https://s3.bmp.ovh/imgs/2022/05/18/d8d200e3dc050831.png",
"scripts": {
"build": "rollup -c rollup.config.js",
"build:watch": "rollup -w -c rollup.config.js"
},
"dependencies": { "rollup": "^2.70.2" },
"features": {
"syncAPI": {
"action": "exportPostmanData",
"label": "EoLink",
"description": "Push API data to eolink.",
"icon": "https://raw.githubusercontent.com/eolinker/postcat-foo/main/assets/logo.png",
"extestion": ""
}
},
"contributes": {
"configuration": {
"type": "object",
"title": "Push",
"properties": {
"eolink.remoteServer.token": {
"type": "string",
"required": false,
"default": "XXXXXXXX",
"label": "Token",
"description": ""
}
}
}
}
}
34 changes: 34 additions & 0 deletions plugin/postcat-export-postman/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions plugin/postcat-export-postman/rollup.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/** @type import('rollup').RollupOptions */
const nodeCjs = {
input: './index.js',
output: [
{
file: 'dist/index.js',
format: 'umd',
name: 'index',
sourcemap: 'inline',
},
],
};

const bundles = [nodeCjs];

export default bundles;