Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@camdh/crums

Package Overview
Dependencies
Maintainers
1
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@camdh/crums

## Developing Install ```bash npm install ``` Make a local link (included in 'start' script) ```bash ng build cd dist/crums npm link ``` Watch ```bash npm start ``` ### On external project Link to local package ```bash npm link @camdh/crums ``` ## Externa

  • 0.0.27
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-12.5%
Maintainers
1
Weekly downloads
 
Created
Source

CRUMS Lib

Developing

Install

npm install

Make a local link (included in 'start' script)

ng build
cd dist/crums
npm link

Watch

npm start

On external project

Link to local package

npm link @camdh/crums

External project config

Edit tsconfig.json

{
  "compilerOptions": {
    "paths": {
      "@camdh/crums": ["node_modules/@camdh/crums"],
      "@camdh/crums/*": ["node_modules/@camdh/crums/*"]

Edit angular.json

{
  "projects": {
    "app": {
      "architect": {
        "build": {
          "options": {
            "preserveSymlinks": true,
            "assets": [
              {
                "glob": "**/*",
                "input": "node_modules/@camdh/crums/assets",
                "output": "assets"
              }

Edit global.scss

@import "~@camdh/crums/assets/styles/global"

Edit app.module.ts

@NgModule({
  declarations: [AppComponent],
  entryComponents: [],
  imports: [
    BrowserAnimationsModule,
    BrowserModule,
    AppRoutingModule,
    IonicModule.forRoot(),
    QuillModule.forRoot(),
    CrumsModule.forRoot({
      name: 'project',
      apiUrl: 'https://apps.camdh.com:443/project',
      custom: { login: LoginPage },
    }),

Production

If linked, unlink

npm unlink @camdh/crums

Install dependency

npm install @camdh/crums@latest

FAQs

Package last updated on 18 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc