Questions tagged [packages.json]

12 questions
14
votes
2 answers

Laravel: Which npm packages should be in "dependencies" vs "devDependencies"?

In Laravel 5.3 the package.json file looks as following: all packages are in devDependencies. Do somebody can tell me which packages are needed in production too. I think all except browsersync. package.json { "private": true, "scripts": { …
Ilario Engler
  • 2,419
  • 2
  • 27
  • 40
10
votes
1 answer

Is the PHP Composer Repository Protocol Defined?

In composer, PHP's package management system, its possible to configure a repository. A repository is a system that composer will "ask" when it needs to find a package. i.e. Composer: Hey, repository, where can I find the foo/bar…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
2
votes
1 answer

Should I include minor version in package.json when using Caret?

I understand that using ^2.x and ^2.1.2 will both update minor versions and patches as long as major version is still 2, however should I specify minor version and/or patch version if I use the caret? One of the comments in…
Felix
  • 610
  • 2
  • 9
  • 21
1
vote
1 answer

Use multivocal libary to configure repeat intent in Dialogflow for VUI

I'm trying to configure my VUI to repeat a sentence in Dialogflow when it is prompted for this. Little back story, I am helping develop a social robot for elderly so repeating a sentence is a much needed feature. I just started on this project and…
1
vote
1 answer

Trying to deploy simple css/html project to Heroku and getting errors with my packages.json file

I've deployed entire solutions running on SQL Server to Appharbor before with no problems, but that failed me and so is heroku. I don't have a web.config file so I don't know if that's the issue, but the errors are saying it's something to do with…
1
vote
1 answer

Is it possible to use both VueJS 1 and 2 in the same package.json file?

Currently I'm using VueJS 1 in my javascript files but I'm about to start developing a new part of the system and I'd like to use VueJS 2.
Marques
  • 379
  • 4
  • 16
0
votes
1 answer

pass the arguments in a json file

I need to pass the branch name in git-dependencies as a parameter. But in my packages.json, I am unable to do so. The structure looks something like following: { "servers" : [ ... ], "target" : "apps", "git" : { …
doesnotmatter
  • 21
  • 1
  • 6
0
votes
0 answers

Unrecognized font family 'simple-line-vector'

I have installed react-native and tried to run my app, but I immediately get the error Unrecognized font family 'simple-line-icons'. Then, I tried to link react-native-vector-icons as mentioned in other solutions in stack-overflow or GitHub. Here's…
0
votes
2 answers

ERROR: Task not found: "watch:sass" After NPM Start Terminal Command

I'm working on a CSS Grid tutorial but my issue / question doesn't have to do with CSS Grids, but rather with package.json! I've followed the instructors directions perfectly but when I run 'npm start', I am receiving an error message. My question…
user3574939
  • 819
  • 3
  • 17
  • 34
0
votes
1 answer

packages.json: suppress looking for new versions

Is there any way we can suppress not to look for new versions during npm install. I know we can remove it from packages.json but doing the same thing in every dependent packages can quite become a challenge. The current problem i have is our company…
Raj
  • 3
  • 2
0
votes
1 answer

Module with Providers as a package dependency on node_modules

I have a Module with Providers in a package dependency. But when I try to use it in my app.module I get: Error: No provider for EnvService! /node_modules/common-components/env.module: import { NgModule, ModuleWithProviders } from…
Marcio M.
  • 371
  • 1
  • 6
  • 15
0
votes
1 answer

Phabricator -> packages.json generation

I am using Phabricator to manage internal package in my company. As we have a lot of packages with a lot of dependencies, it became hard to manage dependencies. it's why I would like to add a packages.json to composer configuration containing all…