Package Exports
- @ionic/core
- @ionic/core/dist/collection/global/ionic-global
- @ionic/core/dist/collection/utils/helpers
- @ionic/core/dist/collection/utils/overlays
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ionic/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@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 tslint2. Clone your ionic fork
git@github.com:ionic-team/ionic.git
cd ionic3. Run npm install
npm install
cd packages/core
npm installNotice 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.