mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00

* wip * wip * wip * wip * CSS variable cleanup added css variable example * reverted example * wip * name fixes for tabbar and item * wip - alpha support * wip - all the things * wip * wip * PR cleanup * cleanup to ion-color * switched to double quotes * PR cleanup Added TODO for color-mod comments * reverted ios variable for transition. * style cleanup added -ion prefix to all css variables updated default.css to mirror SASS values cleanup/update to oceanic css * removed 'dark' theme files cleanup from scss-lint report
@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 dev
allows you to modify the components and have live reloading, just like another ionic app. -
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.