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

@scullyio/init

Package Overview
Dependencies
Maintainers
4
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scullyio/init

Add scully to your angular app

  • 0.0.28
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
4
Weekly downloads
 
Created
Source

Getting Started With Schematics

This repository is Scully Schematics for angular!

Testing

To test locally (dev in safemode), install @angular-devkit/schematics-cli globally and use the schematics command line tool. That tool acts the same as the generate command of the Angular CLI, but also has a debug mode.

npm run copy:generate
cd schematics/scully
npm run schematics

Testing in a project devMode

cd schematics/scully
npm run build
npm pack
cp -r scullyio-init-0.0.(tab) {{project_folder}}
cd {{project_folder}}
npm i --save scullyio-init-0.0.
ng g .\node_modules\@scullyio\init\src\collection.json:ng-add
ng g .\node_modules\@scullyio\init\src\collection.json:blog
ng g .\node_modules\@scullyio\init\src\collection.json:post --name="This is my post"
ng g .\node_modules\@scullyio\init\src\collection.json:markdown --name=test --slug=idid
ng g .\node_modules\@scullyio\init\src\collection.json:c-markdown --name=test --slug=idid
ng build --prod
npm run scully
Testing in a project with npm

For this test, first you need publish the schematics (see below), after this create an angular project. You can copy one of the seed project for test more fast.

ng add @scullyio/init
ng g @scullyio/init:blog
ng g @scullyio/init:post --name="This is my post"
ng g @scullyio/init:markdown --name=my-exmaple --slug=id
npm run scully

Unit Testing

npm run test will run the unit tests, using Jasmine as a runner and test framework.

Publishing

To publish, simply do:

npm run copy:generate
cd schematics/scully
npm publish:{path | minor | major}

Keywords

FAQs

Package last updated on 14 May 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