# angularjs-builder

> a cli module used to make a build of all angularjs javascript files to resolve cashe issues.

Latest version **1.1.8** (published 2019-05-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install angularjs-builder
pnpm add angularjs-builder
yarn add angularjs-builder
bun add angularjs-builder
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.8 |
| Published | 2019-05-07 |
| First published | 2019-02-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 16.8 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Shahid Ullah Khan |
| Maintainers | shahidullahkhan |
| Keywords | angularjs, builder, dist, serve, watch, angularjs, files, controllers |

## Links

- npm: https://www.npmjs.com/package/angularjs-builder
- Repository: https://github.com/shahidullahkhankhattak/angularjs-builder
- Homepage: https://github.com/shahidullahkhankhattak/angularjs-builder#readme
- Issues: https://github.com/shahidullahkhankhattak/angularjs-builder/issues
- npm.io page: https://npm.io/package/angularjs-builder

## Dependencies (5)

- [fs](https://npm.io/package/fs.md) 0.0.1-security
- [jsdom](https://npm.io/package/jsdom.md) ^13.2.0
- [rimraf](https://npm.io/package/rimraf.md) ^2.6.3
- [fs-extra](https://npm.io/package/fs-extra.md) ^7.0.1
- [uglify-es](https://npm.io/package/uglify-es.md) ^3.3.9

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 1.1.8 (latest) — 2019-05-07
- 1.1.7 — 2019-03-25
- 1.1.6 — 2019-03-19
- 1.1.5 — 2019-03-05
- 1.1.4 — 2019-03-04
- 1.1.3 — 2019-03-04
- 1.1.2 — 2019-03-01
- 1.1.1 — 2019-03-01
- 1.1.0 — 2019-02-27
- 1.0.9 — 2019-02-15
- 1.0.8 — 2019-02-14
- 1.0.7 — 2019-02-14
- 1.0.6 — 2019-02-14
- 1.0.5 — 2019-02-13
- 1.0.4 — 2019-02-13

## README

# Hashe Builder for angularjs
npm module to build all your angularjs javascript files and make a dist of your project to prevent cache issues

#installation
run following command:

```>  npm install angularjs-builder --save```

## requirements
please add the **package.json** file available in the repository if you don't have a package.json in your project.
if you do have. add the following scripts to your package.json

```
"scripts": {
    "hashe": "node ./node_modules/angularjs-builder/index.js",
    "test": "node ./node_modules/angularjs-builder/index.js"
 }
 
```

## how to use
in your main directory create a file named **hasheconfig.json** and include all your scripts as shown below.


```
{
    "scripts": [
        "app.js",
        "directives/mydirective.js",
        "services/constants.js",
        "services/abcservice.js",
        "controllers/mycontrollers.js",
    ]
}

```

now you can watch your files with the below command
```
>  npm run hashe serve
```

to create a build of your javascript files run the below command
```
>  npm run hashe build
```

to create a final build of your javascript files ready to go online you can use
```
>  npm run hashe dist
```

you can also provide base url to the dist, and dist will be created with the base url you provided
```
>  npm run hashe dist base=yourbaseurl
```

---
_Source: https://npm.io/package/angularjs-builder · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
