There are a few npm packages that are fundamental to NativeScript development and good to understand.
JSC. This can be useful for projects that may experience any issue with the v8 engine.
This provides TypeScript definitions for all iOS and Android APIs available to do NativeScript development with.
This provides loaders, helpers and base configs for all fundamental NativeScript development to debug, run, build and release your apps.
CLI (Command Line Interface) used for creating/running/building/deploying NativeScript apps. Often installed globally along with a proper Environment Setup via
npm install -g nativescript.
There are also quite a number of plugins maintained and developed by the NativeScript TSC which you can find documented here
We always recommend using
~ (tilda) with any NativeScript package versions in your projects as that will ensure anytime you execute a
ns clean against your project that the next run will pull down the latest patch release fixes to anything we may have released.
For example, when referencing the
@nativescript/core package, you could use a fixed version constraint such as
8.0.0, or alternatively
~8.0.0 to allow installing patch updates automatically after a project clean.