Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
angular-starter-kit
Advanced tools
A better way to start your new Angular app
We assume you've already installed NodeJS on your machine, if not, please follow the installation documentation from the official websites.
The easiest way to start your Angular project using Angular Starter Kit is Downloading the latest release of this project or simply cloning this repository with:
git clone https://github.com/andreasonny83/angular-starter-kit.git
Once done with the previous step, open your terminal to your angular-starter-kit folder, then install all the dependencies with:
npm install
yarn # Or using Yarn for a faster installation
This will create both a node_modules
and bower_components
folder inside
your local directory
There is already a preconfigured web server for this application. The simplest way to start this server is:
npm start
Now browse to the app url available at http://localhost:8000 to see your application running.
This task will also watch for any file change to your project's files and update the browser with the new changes using BrowserSync and Gulp.
npm run build
This will perform the following tasks:
.tmp
and dist
foldernpm run serve:dist
This will compile your project in distribution mode and will trigger a
web server to listen to your generated dist
folder.
Open a browser and navigating to http://localhost:8000 to see the rendered application.
npm test
This will run all the unit tests present in your project folder using Karma.
The task will remain idle in your terminal waiting for file changes to run the tests again. This task is really useful during the development mode in order to avoid running manually your tests every time.
However, if you want just to run the test once and build a report displaying the unit test coverage, use the following task:
npm run test-single-run
Either way, all the reports will be stored inside a generated test_out
folder
and a coverage
for the unit test coverage using Istanbul
The Angular Starter Kit app comes with end-to-end tests written in Jasmine. These tests are run with the Protractor End-to-End test runner.
Your web server needs to be serving up the application, so that Protractor can interact with it.
In order to start running your end-to-end tests, first start your web server with:
npm start
Now you can run the end-to-end tests, from another terminal instance,
using the supplied npm
script:
npm run protractor
We really appreciate your collaborations and feedbacks!
git checkout -b my-new-feature
git commit -m 'Add some feature'
git push origin my-new-feature
Changelog available here
MIT © Andrea Sonny
1.4.0 - 2017.07.03
FAQs
Starter Kit for Angular 1.5+ projects
The npm package angular-starter-kit receives a total of 10 weekly downloads. As such, angular-starter-kit popularity was classified as not popular.
We found that angular-starter-kit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.