Questions tagged as 'yarn'

2
answers

What are the differences between npm and Yarn?

I'm thinking of migrating from npm to Yarn , can anyone tell me the main differences? Is there any considerable benefit between the two?     
asked by 19.09.2017 / 14:17
1
answer

What is a .lock file?

I'm using git to version a project and I noticed when checking for modifications that some .json files have a file with the same name but with different extensions and content. Example: composer.lock , yarn.lock . What are they? What...
asked by 08.02.2017 / 00:36
1
answer

How to use NPM and Yarn in ASP.Net Core?

I am having difficulty using Yarn / NPM in ASP.Net Core. I'm installing packages as follows: (Example installing JQuery) Yarn: yarn add jquery NPM: npm install jquery Everything happens normally, the problem is that th...
asked by 11.02.2018 / 04:27
1
answer

Is it possible to switch already installed packages from "dependencies" to "devDependencies" just by switching lines?

Here is an example of the package.json file, installed using the command npm install <nome> --save-dev : { "dependencies": {}, "devDependencies": { "bootstrap": "^4.1.3", "cross-env": "^5.2.0", "font-awesome": "^4.7.0", "jq...
asked by 19.09.2018 / 04:31
0
answers

function inspectdb equivalent no node

Hello! In Django there is a function called inspectdb that maps the entire database by creating file templates model.py. Is there any function or lib equivalent of javascript or node.js?     
asked by 03.11.2018 / 22:49
1
answer

What is a .lock file?

I'm using git to version a project and I noticed when checking for modifications that some .json files have a file with the same name but with different extensions and content. Example: composer.lock , yarn.lock . What are they? What...
asked by 08.02.2017 / 00:36
2
answers

Install StartBootstrap-SB-Admin using Yarn

I am creating a skeleton base for my applications and I want to use Symfony 4 and Startbootstrap-SB-Admin . I already have a skeleton project using Symfony 3 and SB-Admin-2 and another one with Silex . These last ones I cr...
asked by 15.02.2018 / 23:26
0
answers

How to customize the Yarn package folder structure?

With Bower recommending migrating pro Yarn as an alternative to front-end dependency management, I decided to abandon it and study more about the Yarn . And yes, the news on the recommendation is old, but I just learned recently. The po...
asked by 31.01.2018 / 15:44
0
answers

problems with the gulp

Talk to me, I started doing tests with yarn and gulp. It was all going well, but yesterday I downloaded a template (this template link ), I did the step by step and paah my gulp stopped working and I do not know why, could you help me? obs:...
asked by 19.03.2017 / 21:52