Carmen Castillo Imoveis System, based on the Modular Web System
James Peret 57184efa09 Updated package list to use namespaces | 2 лет назад | |
---|---|---|
.gitignore | 2 лет назад | |
index.js | 2 лет назад | |
package-lock.json | 2 лет назад | |
package.json | 2 лет назад | |
readme.md | 2 лет назад |
Current dev dependency list:
"dependencies": {
"mws-core": "file:../mws-core/",
"mws-server": "file:../mws-server/",
"mws-cpanel": "file:../mws-cpanel/",
"mws-carmen-castillo-landing-page": "file:../mws-carmen-castillo-landing-page/"
},
To have dependencies from different registries referred in same package.json, npm recommends to use scope
Scoped packages will look like
"dependencies": {
"@kairoscope/mypackage": "^1.3.0"
}
You can associate a scope with a registry using npm config:
npm config set @kairoscope:registry https://registry.kairoscope.net
````
Once a scope is associated with a registry, any npm install for a package with that scope will request packages from that registry instead of default registry https://registry.npmjs.org
Old dependecy list:
```json
"dependencies": {
"mws-core": "file:../mws-core/",
"mws-server": "file:../mws-server/",
"mws-cpanel": "file:../mws-cpanel/",
"mws-start-page": "file:../mws-start-page/",
"mws-example-module": "file:../mws-example-module/",
"mws-theme-simple": "file:../mws-theme-simple/"
}