2022-01-17 14:50:31 +08:00
|
|
|
{
|
|
|
|
"name": "eoapi",
|
2022-04-21 14:19:59 +08:00
|
|
|
"version": "0.0.3-beta",
|
2022-04-18 23:15:02 +08:00
|
|
|
"main": "src/app/electron-main/main.js",
|
2022-04-20 20:49:11 +08:00
|
|
|
"description": "A lightweight, extensible API tool",
|
|
|
|
"homepage": "https://github.com/eolinker/eoapi.git",
|
|
|
|
"author": "eoapi",
|
2022-01-17 14:50:31 +08:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2022-04-22 00:38:00 +08:00
|
|
|
"postinstall": "npm-run-all --serial install:*",
|
2022-04-17 09:39:20 +08:00
|
|
|
"start": "npm-run-all -p startall electron:serve",
|
2022-04-27 16:56:55 +08:00
|
|
|
"serve:web": "cd src/workbench/browser && npm run ng:serve",
|
2022-04-17 09:39:20 +08:00
|
|
|
"startall": "npm-run-all -p start:*",
|
2022-04-18 23:15:02 +08:00
|
|
|
"install:workbench": "cd src/workbench/browser&&npm install",
|
|
|
|
"start:workbench": "cd src/workbench/browser&&npm start",
|
|
|
|
"build:workbench": "cd src/workbench/browser&&npm run build",
|
2022-04-21 17:51:37 +08:00
|
|
|
"test:workbench": "cd src/workbench/browser&&npm run test",
|
2022-04-17 09:39:20 +08:00
|
|
|
"install:node-electron": "electron-builder install-app-deps",
|
|
|
|
"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",
|
2022-05-18 10:51:22 +08:00
|
|
|
"build": "npm-run-all -p build:* && npm run electron:tsc && electron-builder build",
|
|
|
|
"release": "npm run build && electron-builder --publish=always",
|
2022-04-20 00:06:39 +08:00
|
|
|
"test": "npm-run-all --serial test:*",
|
2022-04-17 09:39:20 +08:00
|
|
|
"electron:tsc": "tsc -p tsconfig.json"
|
2022-01-17 14:50:31 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-04-17 09:47:13 +08:00
|
|
|
"@electron/remote": "2.0.8",
|
2022-04-28 16:35:36 +08:00
|
|
|
"content-disposition": "^0.5.4",
|
2022-04-17 09:47:13 +08:00
|
|
|
"cross-spawn": "^7.0.3",
|
2022-04-28 16:35:36 +08:00
|
|
|
"crypto-js": "^4.1.1",
|
2022-05-11 23:06:09 +08:00
|
|
|
"dexie": "3.2.2",
|
|
|
|
"electron-log": "^4.4.7",
|
|
|
|
"electron-updater": "^5.0.1",
|
2022-04-17 09:47:13 +08:00
|
|
|
"form-data": "^4.0.0",
|
2022-04-22 13:55:35 +08:00
|
|
|
"iconv-lite": "^0.6.3",
|
2022-04-28 16:35:36 +08:00
|
|
|
"ky": "0.30.0",
|
|
|
|
"resolve": "^1.22.0",
|
|
|
|
"rxjs": "7.5.5",
|
2022-04-22 13:55:35 +08:00
|
|
|
"xml2js": "^0.4.23"
|
2022-01-17 14:50:31 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-04-17 09:47:13 +08:00
|
|
|
"@types/cross-spawn": "6.0.2",
|
2022-05-11 23:06:09 +08:00
|
|
|
"@types/node": "17.0.32",
|
|
|
|
"@typescript-eslint/eslint-plugin": "5.23.0",
|
|
|
|
"@typescript-eslint/parser": "5.23.0",
|
|
|
|
"electron": "18.2.2",
|
2022-04-20 00:06:39 +08:00
|
|
|
"electron-builder": "23.0.3",
|
2022-01-17 14:50:31 +08:00
|
|
|
"electron-reload": "1.5.0",
|
2022-05-11 23:06:09 +08:00
|
|
|
"eslint": "8.15.0",
|
|
|
|
"eslint-plugin-import": "2.26.0",
|
|
|
|
"eslint-plugin-jsdoc": "39.2.9",
|
2022-04-17 09:47:13 +08:00
|
|
|
"eslint-plugin-prefer-arrow": "1.2.3",
|
2022-01-17 14:50:31 +08:00
|
|
|
"npm-run-all": "4.1.5",
|
2022-03-10 11:00:23 +08:00
|
|
|
"ts-node": "10.7.0",
|
2022-05-11 23:06:09 +08:00
|
|
|
"typescript": "~4.6.4",
|
2022-04-17 09:47:13 +08:00
|
|
|
"wait-on": "6.0.1"
|
2022-01-17 14:50:31 +08:00
|
|
|
},
|
2022-05-18 10:51:22 +08:00
|
|
|
"__npminstall_done": false,
|
|
|
|
"build": {
|
|
|
|
"appId": "com.foo.bar",
|
|
|
|
"productName": "Foo Bar",
|
|
|
|
"copyright": "Copyright © 2022 eolink",
|
|
|
|
"directories": {
|
|
|
|
"output": "release"
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"dist/",
|
|
|
|
"index.html",
|
|
|
|
"main.js",
|
|
|
|
"package.json"
|
|
|
|
],
|
|
|
|
"mac": {
|
|
|
|
"category": "public.app-category.utilities",
|
|
|
|
"icon": "resources/app.icns",
|
|
|
|
"artifactName": "eoapi_mac_${version}.${ext}",
|
|
|
|
"target": [
|
|
|
|
"dmg",
|
|
|
|
"zip"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"publish": [
|
|
|
|
{
|
|
|
|
"provider": "github",
|
|
|
|
"owner": "eolinker",
|
|
|
|
"repo": "eoapi"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|