Skip to content

Commit

Permalink
Removed bower, unused dependencies & general improvements in the rele…
Browse files Browse the repository at this point in the history
…ase step
  • Loading branch information
andresmatasuarez committed Aug 16, 2020
1 parent 5aef484 commit 52a7d16
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 95 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
out
node_modules
bower_components
dist
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,16 @@ This module **in no way** intends to be a replacement for **ngTable**, but an en
* [UI.Bootstrap](https://angular-ui.github.io/bootstrap)

## Installation
1. Install with **[Bower](http://bower.io/)**:<br />
`bower install ng-table-async`
2. Include dependency files in your markup:
1. Include dependency files in your markup:
* `<link rel="stylesheet" href="bootstrap.css">`
* `<script src="lodash.js"></script>`
* `<script src="angular.js"></script>`
* `<script src="ui-boostrap.js"></script>`
* `<script src="ng-table.js"></script>`
3. Include **ngTableAsync** files in your markup:
2. Include **ngTableAsync** files in your markup:
* `<link rel="stylesheet" href="ng-table-async.css"></script>`
* `<script src="ng-table-async.js"></script>`
4. Include **ngTableAsync** as a module dependency in your **AngularJS** app:<br />
3. Include **ngTableAsync** as a module dependency in your **AngularJS** app:<br />
`angular.module('myApp', [ ... 'ngTableAsync' ... ])`

> NOTE: `ng-table-async.js` contains the raw **ngTableAsync** module, whereas `ng-table-async-tpls.js` also includes default directives' templates.
Expand Down Expand Up @@ -206,18 +204,18 @@ $scope.tableOptions = {

## Development
1. Fork repo
2. `npm install && bower install`
2. `npm install`
3. `npm install gulp -g`
4. `gulp` - Watches for changes in `src` directory and reruns tasks on each modified file. Outputs are in `dist` directory.
4. Write contribution
5. Write tests
6. Submit Pull Request
7. Build and release using [np](https://www.npmjs.com/package/np) to publish package to NPM:
7. Build and release:
```
npm run build
git add .
git commit "New release files"
np
npm run release
```

## TODO
Expand Down
39 changes: 0 additions & 39 deletions bower.json

This file was deleted.

4 changes: 1 addition & 3 deletions gulp/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@ module.exports = {
css : './src/**/*.css',
templates : './src/templates/**/*.pug',
index : './src/index.coffee',
bump : [ './package.json', './bower.json' ],
coffee : [ './src/index.coffee', './src/**/*.coffee' ]
},
dest: {
root : './dist',
coffee : './dist',
css : './dist',
templates : './dist',
sourcemaps : './dist',
bump : './'
sourcemaps : './dist'
}
},

Expand Down
1 change: 0 additions & 1 deletion index.js

This file was deleted.

37 changes: 0 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
"name": "ng-table-async",
"version": "0.0.13",
"description": "ngTable wrapper that offers some basic functionality and abstractions for working with asynchronous tables.",
"main": [
"./dist/ng-table-async.css",
"./dist/ng-table-async-tpls.js"
],
"main": "/dist/ng-table-async.js",
"files": [
"/dist/*"
],
Expand Down Expand Up @@ -37,8 +34,7 @@
"minimist": "^1.1.1",
"np": "^6.4.0",
"pug": "^3.0.0",
"run-sequence": "^1.1.0",
"through2": "^4.0.2"
"run-sequence": "^1.1.0"
},
"scripts": {
"build": "gulp build",
Expand Down

0 comments on commit 52a7d16

Please sign in to comment.