build script is added
This commit is contained in:
parent
d78e015ba0
commit
0f3f64f32f
11
package.json
11
package.json
|
@ -12,12 +12,12 @@
|
|||
"start:daesang:renderer": "cross-env UCAP_ENV_RUNTIME=ELECTRON ng serve -c renderer-daesang-development",
|
||||
"start:browser": "cross-env UCAP_ENV_RUNTIME=BROWSER ng serve -c browser-development -o",
|
||||
"build": "npm-run-all -p build:renderer build:main:production",
|
||||
"build:daesang": "npm-run-all -p build:daesang:renderer build:daesang:main:production",
|
||||
"build:renderer": "cross-env NODE_ENV=production ng build -c renderer-development --base-href ./",
|
||||
"build:daesang:renderer": "cross-env NODE_ENV=production ng build -c renderer-daesang-development --base-href ./",
|
||||
"build:browser": "cross-env UCAP_ENV_RUNTIME=BROWSER ng build -c browser-development --base-href ./NextMessenger_POC",
|
||||
"build:main:development": "cross-env NODE_ENV=development TS_NODE_PROJECT='./config/tsconfig.webpack.json' parallel-webpack --config=config/main.webpack.config.ts",
|
||||
"build:main:production": "cross-env NODE_ENV=production TS_NODE_PROJECT='./config/tsconfig.webpack.json' NODE_OPTIONS='--max_old_space_size=4096' parallel-webpack --config=config/main.webpack.config.ts",
|
||||
"build:daesang": "npm-run-all -p build:daesang:renderer build:daesang:main:production",
|
||||
"build:daesang:renderer": "cross-env NODE_ENV=production ng build -c renderer-daesang-development --base-href ./",
|
||||
"build:daesang:main:development": "cross-env NODE_ENV=development TS_NODE_PROJECT='./config/tsconfig.webpack.json' parallel-webpack --config=config/main.webpack.config.ts",
|
||||
"build:daesang:main:production": "cross-env NODE_ENV=production TS_NODE_PROJECT='./config/tsconfig.webpack.json' NODE_OPTIONS='--max_old_space_size=4096' parallel-webpack --config=config/main.webpack.config.ts",
|
||||
"run:daesang": "npm-run-all -p run:daesang:renderer run:daesang:main",
|
||||
|
@ -25,6 +25,7 @@
|
|||
"run:daesang:renderer": "cross-env UCAP_ENV_RUNTIME=ELECTRON ng serve -c renderer-daesang-production",
|
||||
"electron:local": "electron .",
|
||||
"electron:windows": "npm run build && electron-builder build --windows",
|
||||
"electron:windows:daesang": "npm run build:daesang && electron-builder build --windows",
|
||||
"electron:mac": "npm run build && electron-builder build --mac",
|
||||
"electron:linux": "npm run build && electron-builder build --linux",
|
||||
"test": "ng test",
|
||||
|
@ -34,9 +35,12 @@
|
|||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/core": "~8.2.12",
|
||||
"electron-log": "^3.0.9",
|
||||
"electron-updater": "^4.2.0",
|
||||
"electron-window-state": "^5.0.3",
|
||||
"fs-extra": "^8.1.0",
|
||||
"rxjs": "^6.5.2",
|
||||
"semver": "^6.3.0",
|
||||
"tslib": "^1.10.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -98,10 +102,8 @@
|
|||
"electron-builder": "^21.2.0",
|
||||
"electron-debug": "^3.0.1",
|
||||
"electron-devtools-installer": "^2.2.4",
|
||||
"electron-log": "^3.0.9",
|
||||
"electron-reload": "^1.5.0",
|
||||
"electron-store": "^5.1.0",
|
||||
"electron-updater": "^4.2.0",
|
||||
"file-saver": "^2.0.2",
|
||||
"filesize": "^4.1.2",
|
||||
"hammerjs": "^2.0.8",
|
||||
|
@ -122,7 +124,6 @@
|
|||
"parallel-webpack": "^2.4.0",
|
||||
"protractor": "~5.4.0",
|
||||
"queueing-subject": "^0.3.4",
|
||||
"semver": "^6.3.0",
|
||||
"ts-node": "~7.0.0",
|
||||
"tsickle": "^0.37.0",
|
||||
"tslib": "^1.10.0",
|
||||
|
|
Loading…
Reference in New Issue
Block a user