how to move from dependencies to devdependencies npm code example Example: npm install dev dependencies npm install <package-name> --save-dev