mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
* 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
@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
-
npm run devallows you to modify the components and have live reloading, just like another ionic app. -
When everything looks good, run
npm run validateto 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.