Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion demo/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class App {
name: string;
constructor(){
this.name = 'Angular2 Electron!';

setTimeout(() => {
this.name = 'Angular2 Electron!!!';
},1000);
Expand Down
2 changes: 1 addition & 1 deletion demo/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'reflect-metadata';
import 'zone.js/dist/zone';
import 'zone.js/dist/zone-node';
import {bootstrap} from '../dist/main';

import {App} from './component';
Expand Down
17 changes: 10 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
"main": "index.js",
"scripts": {
"clean": "rimraf dist",
"typings-install": "typings install",
"setup": "npm install --no-optional && npm run typings-install",
"setup": "npm install --no-optional",
"setup-demo": "npm install --no-optional angular2@2.0.0-beta.12 es6-promise@^3.1.2 es6-shim@0.35.0 reflect-metadata@0.1.2 rxjs@5.0.0-beta.2 zone.js@^0.6.6",
"build": "npm run clean && tsc",
"build_demo": "tsc typings/browser.d.ts demo/main.ts demo/app_ui.ts --module commonjs -t es5 --experimentalDecorators --emitDecoratorMetadata",
"build_demo": "tsc demo/main.ts demo/app_ui.ts --module commonjs -t es5 --experimentalDecorators --emitDecoratorMetadata",
"test": "echo Not supported yet",
"demo": "npm run build && npm run build_demo && electron ./demo",
"start": "npm run demo"
Expand All @@ -29,14 +28,18 @@
},
"homepage": "https://github.com/angular/angular-electron#readme",
"devDependencies": {
"electron-prebuilt": "^0.37.2",
"typescript": "^1.8.9",
"rimraf": "^2.5.2"
"@types/core-js": "^0.9.34",
"@types/electron": "^1.4.25",
"@types/node": "^6.0.46",
"electron": "^1.4.5",
"rimraf": "^2.5.2",
"typescript": "^2.0.7"
},
"peerDependencies": {
"angular2": "2.0.0-beta.12"
},
"dependencies": {
"parse5": "^1.5.1"
"parse5": "^1.5.1",
"zone.js": "^0.6.26"
}
}
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"moduleResolution": "node"
},
"files": [
"typings/browser.d.ts",
"./src/renderer.ts",
"./src/main.ts"
]
Expand Down
9 changes: 0 additions & 9 deletions typings.json

This file was deleted.