-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
143 lines (143 loc) · 4.43 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"ManifestComments": [
"Only add dependencies that you want shipped to the end user, for everything else, use devDependencies, including things that will be bundled by webpack.",
"NW.js requires a name and a main, everything else is optional.",
"The build section is used by nwjs-builder-phoenix, see it's documentation for more info",
"Though for development, we point to localhost, the dist version points directly to files on disk. You can change this by:",
[
"1. Add a web server dependency (like express)",
"2. Create a server.js file to run a local webserver on port 8965",
"3. Point build.overriddenProperties.node-main to 'node server.js'. This will run before the NW.js window is launched.",
"4. Point the build.overriddenProperties.main to 'http://localhost:8965'",
"5. Point the build.overriddenProperties.node-remote to 'http://localhost:8965'. To allow NW.js API and Node.js access from the DOM.",
"6. Remove 'node-remote' from build.strippedProperties"
],
"To turn spell checking off, remove the chromium-args from this file"
],
"name": "nw-angular",
"version": "1.2.0",
"node-main": "api/backend.js",
"main": "http://localhost:8964",
"node-remote": "http://localhost:8964",
"window": {
"width": 960,
"height": 600,
"min_width": 700,
"min_height": 500,
"icon": "assets/icon.png"
},
"scripts": {
"ng": "ng",
"start": "concurrently \"npm run start:web\" \"wait-on http://localhost:8964 && nw .\"",
"start:web": "ng serve --port=8964",
"build": "npm run build:clean && npm run build:ng && npm run build:nw",
"build:clean": "rimraf ./dist-ng ./dist",
"build:ng": "ng build --prod --output-path ./dist-ng",
"build:nw": "build --tasks mac-x64 --mirror https://dl.nwjs.io/ .",
"build:win": "npm run build:ng && build --tasks win-x86 --mirror https://dl.nwjs.io/ .",
"run:win": "dist\\nw-angular-1.1.0-win-x86\\nw-angular.exe",
"generate": "ng generate",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"better-sqlite3": "^7.0.1",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"express-session": "^1.17.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.900.6",
"@angular/animations": "~9.0.6",
"@angular/cli": "~9.0.6",
"@angular/common": "~9.0.6",
"@angular/compiler": "~9.0.6",
"@angular/compiler-cli": "~9.0.6",
"@angular/core": "~9.0.6",
"@angular/forms": "~9.0.6",
"@angular/language-service": "~9.0.6",
"@angular/platform-browser": "~9.0.6",
"@angular/platform-browser-dynamic": "~9.0.6",
"@angular/router": "~9.0.6",
"@types/jasmine": "~3.5.9",
"@types/jasminewd2": "~2.0.8",
"@types/node": "~13.9.1",
"codelyzer": "^5.2.1",
"concurrently": "^5.1.0",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.4.1",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~2.1.1",
"karma-jasmine": "~3.1.1",
"karma-jasmine-html-reporter": "^1.5.2",
"nw": "0.46.0-sdk",
"nwjs-builder-phoenix": "^1.15.0",
"nwjs-types": "^1.0.0",
"protractor": "~5.4.3",
"rimraf": "^3.0.2",
"rxjs": "~6.5.4",
"ts-node": "~8.6.2",
"tslib": "^1.11.1",
"tslint": "~6.1.0",
"typescript": "3.7.x",
"wait-on": "^4.0.1",
"zone.js": "~0.10.3"
},
"chromium-args": "--enable-spell-checking",
"build": {
"nwVersion": "v0.46.0",
"nwFlavor": "sdk",
"targets": [
"zip",
"nsis7z"
],
"files": [
"**/*"
],
"excludes": [
"e2e/**/*",
"src/**/*",
".editorconfig",
".gitignore",
"angular.json",
"browserslist",
"karma.conf.js",
"package-lock.json",
"screenshot.png",
"tsconfig.app.json",
"tsconfig.json",
"tsconfig.spec.json",
"tslint.json"
],
"strippedProperties": [
"ManifestComments",
"node-remote",
"scripts",
"devDependencies",
"build"
],
"overriddenProperties": {
"main": "dist-ng/index.html",
"node-remote": ""
},
"win": {
"icon": "assets/icon-256.ico"
},
"mac": {
"icon": "assets/icon.icns"
},
"nsis": {
"icon": "assets/icon-256.ico",
"unIcon": "assets/icon.ico",
"languages": [
"English"
],
"diffUpdaters": false,
"hashCalculation": true
}
}
}