Files
ionic-framework/packages/core
Cam Wiegert db475cd153 test(e2e): port e2e tests to @ionic/core (#13438)
* feat(e2e-tests) simplify e2e test structure

* test(badge) add basic e2e test

* test(button) update e2e test to new structure

* test(card) add basic e2e test

* test(checkbox) add basic e2e test

* chore(e2e-test) update path to e2e module in run-e2e

* fix(button) update toolbar e2e deps

* fix(e2e-test) update path in snapshot script

* feat(e2e-test) move e2e scripts into scripts/e2e

* test(chip) add basic e2e test

* test(content) add basic e2e test

* test(datetime) add basic e2e test

* style(e2e-test) use consistent title/header in e2e test pages

* test(fab) add basic e2e test

* fix(e2e-test) don't run e2e script when required

* test(grid) add basic e2e test

* test(icon) add basic e2e test

* test(input) add basic e2e test

* style(e2e-test) use consistent e2e test header titles

* test(list) add basic e2e test

* test(menu) add basic e2e test

* test(modal) add basic e2e test

* feat(e2e-test) add navigate export to e2e module

* feat(e2e-test) add present method to Page class

* test(popover) add basic e2e test

* test(menu) add present left menu e2e test

* test(radio) add basic e2e test

* test(range) add  basic e2e test

* test(searchbar) add basic e2e test

* test(segment) add basic e2e test

* test(select) add basic e2e test

* test(modal) add shows modal e2e test

* test(slides) add basic e2e test

* test(spinner) add basic/color e2e tests

* test(tabs) add basic e2e test

* test(toast) add basic e2e test

* test(toggle) add basic e2e test

* test(toolbar) add basic e2e test

* docs(e2e-test) update e2e readme to reflect simplest test

* test(card) update basic e2e test

* chore(e2e-test) remove run-e2e script

* test(components): move remaining component tests to index files

* chore(package): add mocha to devDependencies

* test(infinite-scroll) add basic e2e test

* test(item-sliding) add basic e2e test

* test(item) add basic/buttons e2e tests

* test(nav) add basic e2e test

* test(reorder) add basic e2e test

* test(split-pane) add basic e2e test

* chore() update declarations file

* refactor(toast): reduce border-radius

* chore(components): update components.d.ts
2017-11-16 12:19:23 -06:00
..
2017-08-03 08:44:14 -05:00
2017-09-17 23:04:02 +02:00
2017-11-09 17:37:11 +01:00

@ionic/core

This contains the core stencil components for ionic based applications.

Let's get started

1. Install global dependencies

  • stencil
  • np
  • jest
  • tsc
  • tslint
npm i -g stencil np jest tsc tslint

2. Clone your ionic fork

git@github.com:ionic-team/ionic.git
cd ionic

3. Run npm install

npm install
cd packages/core
npm install

Notice that ionic-core lives in packages/core.

4. Run npm run dev

Make sure you are inside packages/core

How to contribute

  1. npm run dev allows you to modify the components and have live reloading, just like another ionic app.

  2. When everything looks good, run npm run validate to verify the tests linter and production build passes.

More commands

  • npm run build: build ionic-core for production.
  • npm run dev: live reloading server for ionic developement,
  • npm run test: runs unit tests.
  • npm run clean: cleans dist folder.
  • npm run lint: runs typescript linter.
  • npm run lint-fix: tries to auto-fix linter issues.
  • npm run validate: runs tests, linter and production build.
  • npm run deploy: publishes a new version to NPM.