mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
27 lines
749 B
Markdown
27 lines
749 B
Markdown
|
|
#### Test it out!
|
|
|
|
- Run `gulp watch` to build, serve, and watch Ionic & playground
|
|
- Run `gulp karma-watch` while gulp watch is running to watch tests. Unit tests run on compiled files in dist.
|
|
- All test files must be suffixed with `_spec.js`.
|
|
|
|
#### Examples
|
|
|
|
- `npm install -g jspm`
|
|
- `jspm install`
|
|
- `python -m SimpleHTTPServer .`
|
|
- `open http://localhost:8000/playground/basic-example/`
|
|
- Follow the structure found in playground/basic-example to
|
|
easily create more examples.
|
|
|
|
#### Problems already
|
|
|
|
- If we have a `.spec.js` file as a sibling of a js file,
|
|
System will make that an export and ignore the `.js` file.
|
|
There's probably a setting in System.js somewhere to fix this.
|
|
|
|
#### Build
|
|
|
|
- JSCS
|
|
- JSHint (or TypeScript variant)
|