JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 369
  • Score
    100M100P100Q92942F
  • License MIT

Package Exports

  • @netlify-builder/deploy

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@netlify-builder/deploy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Angular CLI Deployment to netlify

Deploy your Angular app to Netlify directly from the Angular CLI! 🚀

How to use?

npm i @netlify-builder/deploy
ng run [PROJECT_NAME]:deploy

Options

Add the below configuration on your angular.json:

  1. netlifyToken : token provided by netlify, generate one from netlify.
  2. siteId: siteId for your application, every site has unique siteId.
  3. outputPath: path where your build will be generated.
   "deploy": {
          "builder": "@netlify-builder/deploy:deploy",
          "options": {
            "command": "deploy",
            "outputPath": "dist/[PROJECT_NAME]",
            "netlifyToken": "tokenValue",
            "siteId": "siteId"
          }
        }

License

MIT