mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-11-30 10:47:41 +08:00
e920905037
* 暂存 * update code * update code * remove readonly prop * Feat/mock (#77) * remove readonly prop * merge code * fix: env error * chore: upgrade indexdb version to v2 * feat: copy mock url * feat: preview mock * feat: mock data auto sync apidata * feat: mock data auto sync apidata * fix: some thing * update code * fix: some thing
72 lines
2.4 KiB
JSON
72 lines
2.4 KiB
JSON
{
|
|
"name": "eoapi",
|
|
"version": "1.2.0",
|
|
"main": "out/app/electron-main/main.js",
|
|
"description": "A lightweight, extensible API tool",
|
|
"homepage": "https://github.com/eolinker/eoapi.git",
|
|
"author": "eoapi",
|
|
"private": true,
|
|
"workspaces": [
|
|
"src/workbench/browser",
|
|
"src/app/electron-browser/IndexedDB"
|
|
],
|
|
"scripts": {
|
|
"postinstall": "electron-builder install-app-deps",
|
|
"start": "npm-run-all -p start:workbench electron:serve",
|
|
"serve:web": "cd src/workbench/browser && npm run ng:serve",
|
|
"start:workbench": "cd src/workbench/browser && yarn start",
|
|
"build:workbench": "cd src/workbench/browser && yarn build",
|
|
"test:workbench": "cd src/workbench/browser && yarn test",
|
|
"electron:serve": "wait-on tcp:4200 && npm run electron:dev",
|
|
"electron:dev:static": "npm run electron:tsc && electron .",
|
|
"electron:dev": "npm run electron:tsc && electron . --development",
|
|
"build": "npm-run-all -s build:workbench electron:tsc && electron-builder build",
|
|
"build:static": "npm run electron:tsc && electron-builder build",
|
|
"release": "npm-run-all -s build:workbench electron:tsc && electron-builder --publish=always",
|
|
"test": "npm-run-all --serial test:*",
|
|
"electron:tsc": "tsc -p tsconfig.json",
|
|
"copyfile:out": "copyfiles -u 1 src/**/*.json src/app/common/images/** out"
|
|
},
|
|
"dependencies": {
|
|
"@bqy/node-module-alias": "^1.0.1",
|
|
"@electron/remote": "2.0.8",
|
|
"content-disposition": "^0.5.4",
|
|
"copyfiles": "2.4.1",
|
|
"crypto-js": "^4.1.1",
|
|
"electron-log": "^4.4.7",
|
|
"electron-updater": "^5.0.1",
|
|
"express": "4.18.1",
|
|
"fix-path": "3.0.0",
|
|
"form-data": "^4.0.0",
|
|
"http-proxy-middleware": "3.0.0-beta.0",
|
|
"iconv-lite": "^0.6.3",
|
|
"npm": "6.14.17",
|
|
"portfinder": "1.0.28",
|
|
"resolve": "^1.22.0",
|
|
"rxjs": "7.5.5",
|
|
"xml2js": "^0.4.23"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "17.0.32",
|
|
"@typescript-eslint/eslint-plugin": "5.23.0",
|
|
"@typescript-eslint/parser": "5.23.0",
|
|
"dmg-builder": "23.0.9",
|
|
"electron": "19.0.1",
|
|
"electron-builder": "23.0.9",
|
|
"electron-notarize": "1.2.1",
|
|
"electron-reload": "1.5.0",
|
|
"eslint": "8.15.0",
|
|
"eslint-plugin-import": "2.26.0",
|
|
"eslint-plugin-jsdoc": "39.2.9",
|
|
"eslint-plugin-prefer-arrow": "1.2.3",
|
|
"npm-run-all": "4.1.5",
|
|
"ts-node": "10.7.0",
|
|
"typescript": "~4.6.4",
|
|
"wait-on": "6.0.1"
|
|
},
|
|
"__npminstall_done": false,
|
|
"node-module-alias": {
|
|
"eo": "./out"
|
|
}
|
|
}
|