tis-cli前端项目快速搭建命令行工具
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

46 lines
2.0 KiB

{
"name": "s207",
"version": "1.0.0",
"main": "app/main/index.js",
"scripts": {
"start": "concurrently \"npm run start:web-main\" \"npm run start:web-sub_app_example\" \"wait-on http://localhost:8080 && wait-on http://localhost:7101 && npm run start:main\" ",
"start:legacy": "concurrently \"npm run start:render\" \"wait-on http://localhost:8080 && npm run start:main\" ",
"start:electron": "electron .",
"start:render": "cd app/renderer/src/main && npm run serve",
"start:web-main": "cd web/main && npm run serve",
"start:web-sub_app_example": "cd web/sub_app_example && npm run serve",
"install:all": "concurrently \"yarn\" \"cd web/main && yarn\" \"cd web/sub_app_example && yarn\" ",
"build": "cd app/renderer/src/main && npm run build",
"pack:mac": "npm run build && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false NPM_CONFIG_ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/ electron-builder build --mac",
"pack:linux": "npm run build && NPM_CONFIG_ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/ electron-builder build --linux",
"pack:wi": "npm run build && cross-env NPM_CONFIG_ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/ electron-builder build --win --ia32",
"pack:win": "cross-env NPM_CONFIG_ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/ electron-builder build --win --ia32",
"postinstall": "electron-builder install-app-deps"
},
"author": "Gold Developer <developer@china.com>",
"license": "UNLICENSED",
"homepage": "./",
"devDependencies": {
"concurrently": "^5.3.0",
"cross-env": "^7.0.3",
"electron": "^11.0.3",
"electron-builder": "^22.9.1",
"wait-on": "^5.2.0"
},
"dependencies": {
"electron-store": "^6.0.1",
"unzipper": "^0.10.11"
},
"build": {
"appId": "com.china.S207",
"productName": "S207",
"files": "app",
"extraFiles": [
"app/renderer/**/src"
],
"directories": {
"buildResources": "resource",
"output": "release"
}
}
}