@skiano/ng-tools

1.0.6 • Public • Published

ng-tool

Installation

$ npm install @skiano/ng-tools --save-dev

Setup

The tool by default expects the following layout:

  package.json
  tslint.json
  -- src
     -- main.ts (Entry to angular app)
     -- index.html (Markup for angular app)
    

In your package.json file make sure you have the following:

Create a tslint.json with the following

{
  "extends": ["@skiano/ng-tools/tslint.json"]
}
{
  "scripts": {
    "postinstall": "npm run webdriver",
    "start": "ng-tool serve",
    "build": "ng-tool build",
    "test": "ng-tool test",
    "e2e": "ng-tool e2e",
    "lint": "ng-tool lint",
    "postinstall": "npm run webdriver",
    "webdriver": "webdriver-manager update --standalone false --gecko false"
  },
  "dependencies": {
    "@angular/common": "~2.4.0",
    "@angular/compiler": "~2.4.0",
    "@angular/core": "~2.4.0",
    "@angular/forms": "~2.4.0",
    "@angular/http": "~2.4.0",
    "@angular/platform-browser": "~2.4.0",
    "@angular/platform-browser-dynamic": "~2.4.0",
    "@angular/router": "~3.4.0",
    "core-js": "^2.4.1",
    "rxjs": "5.0.1",
    "zone.js": "^0.7.4"
  },
  "devDependencies": {
    "@types/jasmine": "^2.5.35",
    "@types/node": "^6.0.45",
    "protractor": "^5.0.0",
    "@skiano/ng-tools": "^1.0.0"
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @skiano/ng-tools

Weekly Downloads

0

Version

1.0.6

License

MIT

Last publish

Collaborators

  • skiano