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

angular-directive-boilerplate

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-directive-boilerplate

Angular Publishable Directive Boilerplate

  • 0.0.2
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Bower Publishable Angular Directive Boilerplate

This is a simple AngularJS directive boilerplate to help you start your own AngularJS directive and publish it in Bower and NPM. This readme file itself is a boilerplate.

Using the boilerplate

Clone the project and install dependencies, then use Gulp to start the prject.

git clone git@github.com:mohsen1/angular-directive-boilerplate.git my-directive
cd my-directive
npm install
bower install
gulp serve

From here, you can start changing things and make your own directive.

The Directive

Installation

Install via bower

bower install angular-directive-template

Usage

Add it as a dependency to your app and then use the directive in your HTML files.

Development

Install Gulp via npm if you don't have it

npm install -g gulp

Available commands

  • gulp: build and test the project
  • gulp build: build the project and make new files indist
  • gulp serve: start a server to serve the demo page and launch a browser then watches for changes in src files to reload the page
  • gulp test: run tests
  • gulp serve-test: runs tests and keep test browser open for development. Watches for changes in source and test files to re-run the tests

License

MIT

Keywords

FAQs

Package last updated on 05 Oct 2014

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