136 lines
4.3 KiB
JSON
136 lines
4.3 KiB
JSON
{
|
|
"name": "nw-vue",
|
|
"version": "1.0.0",
|
|
"main": "http://localhost:8964",
|
|
"node-remote": "http://localhost:8964",
|
|
"node-main": "",
|
|
"window": {
|
|
"width": 960,
|
|
"height": 600,
|
|
"min_width": 700,
|
|
"min_height": 500,
|
|
"icon": "src/assets/vue.png"
|
|
},
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "concurrently \"npm run serve\" \"wait-on http://localhost:8964 && nw .\"",
|
|
"serve": "vue-cli-service serve --port=8964",
|
|
"build": "npm run build:clean && npm run build:vue && npm run build:nw",
|
|
"build:clean": "rimraf ./dist-vue ./dist",
|
|
"build:vue": "vue-cli-service build --modern --dest ./dist-vue",
|
|
"build:nw": "build --concurrent --tasks win-x86,linux-x86,linux-x64,mac-x64 --mirror https://dl.nwjs.io/ .",
|
|
"build:win": "npm run build:win:clean && npm run build:vue && build --tasks win-x86 --mirror https://dl.nwjs.io/ .",
|
|
"build:lin": "npm run build:lin:clean && npm run build:vue && build --tasks linux-x64 --mirror https://dl.nwjs.io/ .",
|
|
"build:win:clean": "rimraf ./dist-vue ./dist/nw-vue-1.0.0-win-x86 ./dist/nw-vue-1.0.0-win-x86.zip ./dist/nw-vue-1.0.0-win-x86.7z ./dist/nw-vue-1.0.0-win-x86-Setup.exe",
|
|
"build:lin:clean": "rimraf ./dist-vue ./dist/nw-vue-1.0.0-linux-x64 ./dist/nw-vue-1.0.0-linux-x64.zip",
|
|
"run:win": "dist\\nw-vue-1.0.0-win-x86\\nw-vue.exe",
|
|
"run:lin": "./dist/nw-vue-1.0.0-linux-x64/nw-vue",
|
|
"regression": "rd /s /q node_modules & rd /s /q node_modules & rd /s /q node_modules & npm install && npm run lint && npm test && npm run build:win && npm run run:win",
|
|
"lint": "vue-cli-service lint --no-fix",
|
|
"fix": "vue-cli-service lint --fix",
|
|
"test": "npm run test:unit",
|
|
"test:e2e": "vue-cli-service test:e2e",
|
|
"test:unit": "jest --config jest.config.js --coverage --runInBand"
|
|
},
|
|
"dependencies": {
|
|
"express": "^4.17.1"
|
|
},
|
|
"devDependencies": {
|
|
"@vue/cli-plugin-babel": "^4.0.5",
|
|
"@vue/cli-plugin-e2e-nightwatch": "^4.0.5",
|
|
"@vue/cli-plugin-eslint": "^4.0.5",
|
|
"@vue/cli-plugin-unit-jest": "^4.0.5",
|
|
"@vue/cli-service": "^4.0.5",
|
|
"@vue/test-utils": "1.0.0-beta.29",
|
|
"babel-core": "7.0.0-bridge.0",
|
|
"babel-eslint": "^10.0.3",
|
|
"babel-jest": "^24.9.0",
|
|
"babel-plugin-dynamic-import-node": "^2.3.0",
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
"babel-preset-env": "^1.7.0",
|
|
"babel-preset-stage-2": "^6.24.1",
|
|
"babel-preset-vue-app": "^2.0.0",
|
|
"concurrently": "^5.0.0",
|
|
"core-js": "^3.3.5",
|
|
"eslint": "^6.6.0",
|
|
"eslint-config-tjw-base": "^1.0.0",
|
|
"eslint-config-tjw-vue": "^1.0.0",
|
|
"eslint-plugin-jest": "^23.0.2",
|
|
"eslint-plugin-vue": "^5.2.3",
|
|
"jest": "^24.9.0",
|
|
"jest-environment-jsdom": "^24.9.0",
|
|
"jest-environment-jsdom-global": "^1.2.0",
|
|
"jest-transform-stub": "^2.0.0",
|
|
"nw": "0.42.0-sdk",
|
|
"nw-vue-devtools": "^1.3.0",
|
|
"nwjs-builder-phoenix": "^1.15.0",
|
|
"nwjs-types": "^1.0.0",
|
|
"rimraf": "^3.0.0",
|
|
"vue": "^2.6.10",
|
|
"vue-jest": "^3.0.5",
|
|
"vue-template-compiler": "^2.6.10",
|
|
"wait-on": "^3.3.0"
|
|
},
|
|
"chromium-args": "--load-extension='./node_modules/nw-vue-devtools/extension'",
|
|
"build": {
|
|
"nwVersion": "v0.42.0",
|
|
"nwFlavor": "normal",
|
|
"targets": [
|
|
"zip",
|
|
"nsis7z"
|
|
],
|
|
"files": [
|
|
"**/*"
|
|
],
|
|
"excludes": [
|
|
"e2e/**/*",
|
|
"src/**/*",
|
|
"tests/**/*",
|
|
"public/**/*",
|
|
"dist-vue/**/*.js.map",
|
|
"dist-vue/**/*.css.map",
|
|
"dist-vue/**/*-legacy*",
|
|
".browserslistrc",
|
|
".eslintrc",
|
|
".gitignore",
|
|
".editorconfig",
|
|
"babel.config.js",
|
|
"cypress.json",
|
|
"jest.config.js",
|
|
"nightwatch.conf.js",
|
|
"nightwatch.json",
|
|
"package-lock.json",
|
|
"screenshot.png",
|
|
"selenium-debug.log",
|
|
"postcss.config.js",
|
|
"vue.config.js"
|
|
],
|
|
"strippedProperties": [
|
|
"chromium-args",
|
|
"scripts",
|
|
"devDependencies",
|
|
"build"
|
|
],
|
|
"overriddenProperties": {
|
|
"main": "http://localhost:8965",
|
|
"node-remote": "http://localhost:8965",
|
|
"node-main": "server.js"
|
|
},
|
|
"win": {
|
|
"icon": "public/icon-256.ico"
|
|
},
|
|
"mac": {
|
|
"icon": "public/icon.icns"
|
|
},
|
|
"nsis": {
|
|
"icon": "public/icon-256.ico",
|
|
"unIcon": "public/icon.ico",
|
|
"languages": [
|
|
"English"
|
|
],
|
|
"diffUpdaters": false,
|
|
"hashCalculation": true
|
|
}
|
|
}
|
|
}
|