Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
Diego Juliao edited this page Apr 6, 2019 · 4 revisions

Development tips

We recommend to use TDD to feature development, it easier and with almost no configuration.

Run the test in watch mode with npm run sticky:test

To implement your feature in the demo, you need to do some configuration, to use a local build of the directive instead of the package hosted on NPM, you should put these lines on your file /tsconfig.json

"compilerOptions": {
  "paths": {
    "ngx-sticky-directive": [
      "./dist/sticky-directive"
    ]
  }
}

But first you should make the build of the directive with npm run sticky:build.

Do not forget remove the lines after you finish

Clone this wiki locally