postcat/package.json
Scarqin a51feb0311
feat/ui-component (#188)
* feat: update extension UI
* fix(components): [manage-access] a tag rename to span
* feat: update e2e

Co-authored-by: buqiyuan <1743369777@qq.com>
Co-authored-by: 夜鹰 <17kungfuboy@gmail.com>
2022-12-30 23:46:51 +08:00

129 lines
4.3 KiB
JSON

{
"name": "postcat",
"souceLocale": "zh-Hans",
"version": "0.0.1-beta",
"main": "out/app/electron-main/main.js",
"description": "A lightweight, extensible API tool",
"homepage": "https://github.com/eolinker/postcat.git",
"author": "Postcat",
"private": true,
"workspaces": [
"src/workbench/*"
],
"scripts": {
"prepare": "husky install && electron-builder install-app-deps && node ./scripts/afterInstall.js && npx patch-package",
"start": "npm-run-all -p start:web electron:dev",
"start:web": "yarn workspace postcat-web run start",
"start:electron": "npm-run-all -p web:start:direct electron:dev",
"build": "npx patch-package && npm-run-all -s build:web clear:electron:tsc electron:tsc && electron-builder build",
"build:static": "npm run clear:electron:tsc&&npm run electron:tsc && electron-builder build",
"build:web": "yarn workspace postcat-web run build",
"docker:build:web": "yarn workspace postcat-web run build:docker:web",
"electron:static": "npm run electron:tsc && electron .",
"release": "npm-run-all -s build:web electron:tsc && electron-builder --publish=always",
"release:m1": "npm-run-all -s build:web electron:tsc && electron-builder -m=dmg --arm64 -p onTagOrDraft",
"test": "npm-run-all --serial test:*",
"e2e": "yarn build:prod && npx playwright test -c e2e/playwright.config.ts e2e/",
"clear:electron:tsc": "tsc --build --clean",
"electron:tsc": "tsc -p tsconfig.json",
"electron:dev": "npm run electron:tsc && electron . --development",
"web:start:direct": "yarn workspace postcat-web run start:direct",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s -r -0",
"lint:lint-staged": "lint-staged",
"wininstaller": "cd build && build-nim-nozip.bat",
"wininstaller2": "node scripts/beforeNSISBuild.js && cd build && build-nim-nozip.bat",
"pack:win": "npm run electron:build && npm run wininstaller"
},
"dependencies": {
"@bqy/node-module-alias": "^1.0.1",
"@electron/remote": "2.0.8",
"@grpc/grpc-js": "1.7.3",
"@grpc/proto-loader": "0.7.3",
"@koa/cors": "3.3.0",
"axios": "0.27.2",
"content-disposition": "^0.5.4",
"cors": "2.8.5",
"crypto-js": "4.1.1",
"electron-log": "^4.4.8",
"electron-store": "8.0.2",
"electron-updater": "^5.0.5",
"express": "4.18.1",
"fix-path": "3.0.0",
"form-data": "^4.0.0",
"http-server": "14.1.1",
"iconv-lite": "^0.6.3",
"jquery": "3.6.1",
"jsdom": "20.0.1",
"koa": "2.13.4",
"koa-body": "5.0.0",
"npm": "6.14.17",
"pm2": "5.2.0",
"portfinder": "1.0.28",
"resolve": "^1.22.1",
"socket.io": "4.5.3",
"ws": "8.8.1",
"xml2js": "0.4.23"
},
"devDependencies": {
"@commitlint/cli": "~17.3.0",
"@commitlint/config-conventional": "~17.3.0",
"@types/node": "18.0.0",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"electron": "21.3.0",
"electron-builder": "23.6.0",
"electron-notarize": "1.2.1",
"electron-reload": "1.5.0",
"eslint": "^8.23.0",
"eslint-config-prettier": "~8.5.0",
"eslint-plugin-deprecation": "~1.3.2",
"eslint-plugin-import": "~2.26.0",
"eslint-plugin-jsdoc": "~39.3.6",
"eslint-plugin-prefer-arrow": "~1.2.3",
"eslint-plugin-prettier": "~4.2.1",
"husky": "8.0.2",
"lint-staged": "~12.5.0",
"npm-run-all": "4.1.5",
"postcss-html": "1.5.0",
"postcss-scss": "4.0.6",
"prettier": "^2.7.1",
"style-loader": "3.3.1",
"stylelint": "^14.10.0",
"stylelint-config-html": "1.1.0",
"stylelint-config-prettier": "9.0.4",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "29.0.0",
"stylelint-config-standard-scss": "6.1.0",
"stylelint-declaration-block-no-ignored-properties": "^2.5.0",
"stylelint-order": "5.0.0",
"ts-node": "10.8.1",
"typescript": "~4.7.4",
"wait-on": "6.0.1"
},
"__npminstall_done": false,
"node-module-alias": {
"eo": "./out"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix",
"prettier --write"
],
"*.json": [
"prettier --write"
],
"*.html": [
"eslint --fix",
"prettier --write",
"stylelint --fix"
],
"*.{scss,less,styl,html}": [
"stylelint --fix",
"prettier --write"
],
"*.md": [
"prettier --write"
]
}
}