New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular-library-boilerplate

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-library-boilerplate

A badass boilerplate for an angular library

  • 0.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by150%
Maintainers
1
Weekly downloads
 
Created
Source

Angular Library Boilerplate

A great boilerplate for making and publishing an Angular library

What is Angular Library Boilerplate?

Angular library boilerplate is an opinionated starter project that contains the build process you need but don't want to deal with.

Quick start

git clone https://github.com/rbalicki2/angular-library-boilerplate
cd angular-library-boilerplate
npm install
npm install -g gulp
bower install
gulp                # gulp lint, test, build, watch

And once it starts watching, in another terminal tab:

cat angular-library-boilerplate.js

Quick reference: command line

gulp # gulp lint, test, build and watch
gulp lint
gulp test
gulp build
gulp watch

Basics

  • Rename your project in package.json and bower.json
  • Put your source code into src/
  • All your source code is concatenated and minified and put into .js and .min.js
  • See gulp-tasks/config.json for options passed to jshint, spec, etc. as well as command line options

Choices

  • jshint for linting
  • karma and jasmine for unit testing
  • Spec files are of the form *.spec.js

Future

  • Order the files so *.module.js files get included first

Contact

Robert Balicki, robert.balicki@gmail.com

Keywords

FAQs

Package last updated on 09 Sep 2015

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