| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- {
- "name": "startup",
- "version": "0.1.19",
- "author": "珠海纵横软件有限公司",
- "description": "纵横Z+ 造价工作平台",
- "license": null,
- "main": "./dist/electron/main.js",
- "scripts": {
- "build": "node .electron-vue/build.js && electron-builder",
- "build:dir": "node .electron-vue/build.js && electron-builder --dir",
- "build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js",
- "build:web": "cross-env BUILD_TARGET=web node .electron-vue/build.js",
- "dev": "node .electron-vue/dev-runner.js",
- "lint": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter src",
- "lint:fix": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter --fix src",
- "pack": "npm run pack:main && npm run pack:renderer",
- "pack:main": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js",
- "pack:renderer": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js",
- "postinstall": "npm run lint:fix",
- "rebuild-ffi": "cd ./node_modules/ffi/ && node-gyp rebuild --target=2.0.4 --arch=ia32 --target_arch=ia32 --dist-url=https://atom.io/download/electron && cd ../ref && node-gyp rebuild --target=2.0.4 --arch=ia32 --target_arch=ia32 --dist-url=https://atom.io/download/electron "
- },
- "build": {
- "productName": "纵横Z+造价工作平台",
- "appId": "org.smartcost.startup",
- "copyright": "Copyright © 2018 珠海纵横软件有限公司",
- "directories": {
- "output": "build"
- },
- "asar": false,
- "files": [
- "dist/electron/**/*"
- ],
- "publish": [
- {
- "provider": "generic",
- "url": "http://d2.smartcost.com.cn/startup/"
- }
- ],
- "win": {
- "icon": "build/icons/smartcost.ico",
- "target": [
- "nsis"
- ],
- "artifactName": "${productName}_setup_${version}.${ext}"
- },
- "nsis": {
- "oneClick": false,
- "perMachine": true,
- "include": "build/nsisfile/installer.nsh",
- "allowToChangeInstallationDirectory": true,
- "createDesktopShortcut": true,
- "deleteAppDataOnUninstall": true,
- "installerIcon": "build/icons/setup.ico",
- "uninstallerIcon": "build/icons/uninst.ico",
- "guid": "startup"
- },
- "extraResources": [
- {
- "from": "data",
- "to": "../data"
- }
- ]
- },
- "dependencies": {
- "vue": "^2.5.16",
- "axios": "^0.18.0",
- "vue-electron": "^1.0.6",
- "vue-router": "^3.0.1",
- "vuex": "^3.0.1",
- "fs-extra": "^6.0.1",
- "compressing": "^1.2.4",
- "electron-dl": "^1.12.0",
- "electron-updater": "^4.0.0",
- "element-ui": "^2.4.1",
- "ffi": "^2.2.0",
- "glob": "^7.1.2",
- "lodash-id": "^0.14.0",
- "lowdb": "^1.0.0",
- "regedit": "^3.0.0",
- "usb": "^1.3.2"
- },
- "devDependencies": {
- "ajv": "^6.5.0",
- "babel-core": "^6.26.3",
- "babel-loader": "^7.1.4",
- "babel-plugin-transform-runtime": "^6.23.0",
- "babel-preset-env": "^1.7.0",
- "babel-preset-stage-0": "^6.24.1",
- "babel-register": "^6.26.0",
- "babili-webpack-plugin": "^0.1.2",
- "cfonts": "^2.1.2",
- "chalk": "^2.4.1",
- "copy-webpack-plugin": "^4.5.1",
- "cross-env": "^5.1.6",
- "css-loader": "^0.28.11",
- "del": "^3.0.0",
- "devtron": "^1.4.0",
- "electron": "^2.0.4",
- "electron-debug": "^1.5.0",
- "electron-devtools-installer": "^2.2.4",
- "electron-builder": "^20.19.2",
- "electron-rebuild": "^1.7.3",
- "babel-eslint": "^8.2.3",
- "eslint": "^4.19.1",
- "eslint-friendly-formatter": "^4.0.1",
- "eslint-loader": "^2.0.0",
- "eslint-plugin-html": "^4.0.3",
- "eslint-config-standard": "^11.0.0",
- "eslint-plugin-import": "^2.12.0",
- "eslint-plugin-node": "^6.0.1",
- "eslint-plugin-promise": "^3.8.0",
- "eslint-plugin-standard": "^3.1.0",
- "mini-css-extract-plugin": "0.4.0",
- "file-loader": "^1.1.11",
- "html-webpack-plugin": "^3.2.0",
- "multispinner": "^0.2.1",
- "node-loader": "^0.6.0",
- "node-sass": "^4.9.2",
- "sass-loader": "^7.0.3",
- "style-loader": "^0.21.0",
- "url-loader": "^1.0.1",
- "vue-html-loader": "^1.2.4",
- "vue-loader": "^15.2.4",
- "vue-style-loader": "^4.1.0",
- "vue-template-compiler": "^2.5.16",
- "webpack-cli": "^3.0.8",
- "webpack": "^4.15.1",
- "webpack-dev-server": "^3.1.4",
- "webpack-hot-middleware": "^2.22.2",
- "webpack-merge": "^4.1.3"
- }
- }
|