diff --git a/package.json b/package.json
index 8c5a7f45d6..72fd5953df 100644
--- a/package.json
+++ b/package.json
@@ -39,7 +39,7 @@
"zone.js": "~0.6.26"
},
"devDependencies": {
- "@ionic/app-scripts": "0.0.48-201612291559",
+ "@ionic/app-scripts": "1.0.0",
"@ionic/commit-hooks": "1.0.3",
"@types/connect": "3.4.30",
"@types/del": "2.2.31",
@@ -138,4 +138,4 @@
"pre-push#master": [
"test"
]
-}
\ No newline at end of file
+}
diff --git a/scripts/README.md b/scripts/README.md
index afe189ddcc..835b7354ba 100644
--- a/scripts/README.md
+++ b/scripts/README.md
@@ -35,10 +35,15 @@ Run `gulp build` or `gulp watch` to watch for changes.
The following commands take longer to run because they use AoT compilation. They should really only be used to validate that our components work with AoT, and fix them if not.
-1. Run `gulp e2e.prod` to bundle all e2e tests, or pass a folder for a specific test. For example, `gulp e2e.prod --f=alert/basic` will build the test in `src/components/alert/test/basic`.
-2. Run `gulp e2e.watchProd` with a folder passed to watch a test. For example, `gulp e2e.watchProd --f=select/single-value` will watch the test in `src/components/select/test/single-value`.
+1. Run `gulp e2e.prod` to bundle all e2e tests. Folder is optional, see the flags section below.
+2. Run `gulp e2e.watchProd` with a folder passed to watch a test. Folder is required, see the flags section below.
3. Navigate to `http://localhost:8000/dist/e2e`
+##### Flags
+
+- `--f | -folder` will run the command with a test folder. For example, `gulp e2e.watchProd --f=select/single-value` will watch the test in `src/components/select/test/single-value`.
+- `--debug` will run the `ionic-app-scripts` command with debug output printed.
+
### Building & Running API Demos
@@ -51,10 +56,15 @@ The following commands take longer to run because they use AoT compilation. They
The following commands take longer to run because they use AoT compilation. They should really only be used to validate that our components work with AoT, and fix them if not.
-1. Run `gulp demos.prod` to bundle all demos tests, or pass a folder for a specific test. For example, `gulp demos.prod --f=alert` will build the test in `demos/alert/`.
-2. Run `gulp demos.watchProd` with a folder passed to watch a test. For example, `gulp demos.watchProd --f=select` will watch the test in `demos/select/`.
+1. Run `gulp demos.prod` to bundle all demos tests. Folder is optional, see the flags section below.
+2. Run `gulp demos.watchProd` with a folder passed to watch a test. Folder is required, see the flags section below.
3. Navigate to `http://localhost:8000/dist/demos`
+##### Flags
+
+- `--f | -folder` will run the command with a test folder. For example, `gulp demos.watchProd --f=alert` will build the test in `demos/alert/`.
+- `--debug` will run the `ionic-app-scripts` command with debug output printed.
+
### Building API Docs
diff --git a/scripts/demos/demos.template.dev.html b/scripts/demos/demos.template.dev.html
index d3e3acd1b0..78e5775974 100644
--- a/scripts/demos/demos.template.dev.html
+++ b/scripts/demos/demos.template.dev.html
@@ -22,7 +22,7 @@
'@angular/http': '/node_modules/@angular/http/bundles/http.umd.js',
'@angular/platform-browser': '/node_modules/@angular/platform-browser/bundles/platform-browser.umd.js',
'@angular/platform-browser-dynamic': '/node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js',
- 'ionic-angular': location.protocol + '//' + location.host,
+ 'ionic-angular': location.protocol + '//' + location.host + '/dist/ionic-angular',
'rxjs': '/node_modules/rxjs'
},
packages: {
diff --git a/scripts/e2e/copy.config.js b/scripts/e2e/copy.config.js
new file mode 100644
index 0000000000..769ba9d6ea
--- /dev/null
+++ b/scripts/e2e/copy.config.js
@@ -0,0 +1,7 @@
+// we don't want to run copy for the demos, so just override the config for now
+module.exports = {
+ copyAssets: { },
+ copyIndexContent: { },
+ copyFonts: { },
+ copyPolyfills: { }
+}
\ No newline at end of file
diff --git a/scripts/e2e/e2e.template.dev.html b/scripts/e2e/e2e.template.dev.html
index 49ab8419a3..321cf7acc5 100644
--- a/scripts/e2e/e2e.template.dev.html
+++ b/scripts/e2e/e2e.template.dev.html
@@ -48,7 +48,7 @@
'@angular/http': '/node_modules/@angular/http/bundles/http.umd.js',
'@angular/platform-browser': '/node_modules/@angular/platform-browser/bundles/platform-browser.umd.js',
'@angular/platform-browser-dynamic': '/node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js',
- 'ionic-angular': location.protocol + '//' + location.host,
+ 'ionic-angular': location.protocol + '//' + location.host + '/ionic-angular',
'rxjs': '/node_modules/rxjs'
},
packages: {
diff --git a/scripts/e2e/e2e.template.prod.html b/scripts/e2e/e2e.template.prod.html
index 1c5a9893f6..657bd5ee96 100644
--- a/scripts/e2e/e2e.template.prod.html
+++ b/scripts/e2e/e2e.template.prod.html
@@ -6,8 +6,8 @@
-
-
+
+
-
-
+
+