guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Naming of node packages with @ and /


From: Catonano
Subject: Re: Naming of node packages with @ and /
Date: Wed, 28 Nov 2018 00:10:17 +0100



Il giorno mar 27 nov 2018 alle ore 21:58 swedebugia <address@hidden> ha scritto:
Hi

There are some crazy naming going on in the node-community. How do we
deal with this?

Note: there is another package called "babel-core" so just
stripping/replacing the weird characters won't work well.

Any ideas?

Look this example:
https://github.com/babel/babel/blob/master/packages/babel-core/package.json

Extract:
{
   "name": "@babel/core",
   "version": "7.1.6",
   "description": "Babel compiler core.",
   "main": "lib/index.js",
   "author": "Sebastian McKenzie <address@hidden>",
   "homepage": "https://babeljs.io/",
   "license": "MIT",

snip

   "dependencies": {
     "@babel/code-frame": "^7.0.0",
     "@babel/generator": "^7.1.6",
     "@babel/helpers": "^7.1.5",
     "@babel/parser": "^7.1.6",
     "@babel/template": "^7.1.2",
     "@babel/traverse": "^7.1.6",
     "@babel/types": "^7.1.6",
     "convert-source-map": "^1.1.0",
     "debug": "^4.1.0",
     "json5": "^2.1.0",
     "lodash": "^4.17.10",
     "resolve": "^1.3.2",
     "semver": "^5.4.1",
     "source-map": "^0.5.0"
   },
   "devDependencies": {
     "@babel/helper-transform-fixture-test-runner": "^7.0.0",
     "@babel/register": "^7.0.0"
   }
}

--
Cheers Swedebugia


I think those are the so called "scoped packages"

https://docs.npmjs.com/misc/scope

https://nitayneeman.com/posts/understanding-scoped-packages-in-npm/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]