Skip to content

Commit

Permalink
Updated dependecies, removed need for global npm packages
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Aug 5, 2015
1 parent bc649ce commit f45d6ef
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 208 deletions.
24 changes: 8 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,17 @@ The AngularJS client for the bioacoustic workbench
---
## Install instructions

Normally this would work:
$ npm -g install grunt-cli karma bower
`npm` is required.

Specific version of karma due to dependency issues.
Temporary fix:
$ npm install -g [email protected]
$ npm -g install grunt-cli karma bower

cd to your cloned directory and then install `npm` and `bower` modules.
Run:

$ npm i -g [email protected]

$ npm install

$ bower install
$ npm run setup

This will execute `npm install` and `bower install` to install build and vendor dependencies respectively.

## To develop:

$ grunt watch
$ npm run watch

and browse to the karma tab first `localhost:<port>` (see output for port number), then `localhost:8080` after the karma unit tests have run.

Expand All @@ -37,9 +29,9 @@ You'll need to configure `build.config.js` when adding any new grunt packages to

## To build:

$ grunt
$ npm run build

and copy the artefacts from the `/bin` directory.
and copy the artifacts from the `/bin` directory.


The `grunt` runner will accept three build options that will rewrite important variables.
Expand Down
30 changes: 20 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,34 +13,44 @@
"url": "https://github.com/QutBioacoustics/baw-client.git"
},
"devDependencies": {
"babel": "^5.5.4",
"connect-gzip-static": "^1.0.0",
"connect-modrewrite": "0.7.x",
"grunt": "~0.4.1",
"grunt-babel": "^5.0.1",
"grunt-bump": "^0.3",
"grunt-changelog": "^0.3",
"grunt-cli": "^0.1.13",
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-concat": "^0.5.0",
"grunt-contrib-connect": "^0.10",
"grunt-contrib-connect": "^0.11",
"grunt-contrib-copy": "^0.8",
"grunt-contrib-jshint": "^0.11",
"grunt-contrib-uglify": "^0.9",
"grunt-contrib-watch": "~0.6.x",
"grunt-conventional-changelog": "^1.2",
"grunt-conventional-changelog": "^3.0",
"grunt-html2js": "~0.3.2",
"grunt-karma": "^0.10",
"grunt-sass": "^0.18.1",
"karma-chrome-launcher": "~0.1.1",
"karma-coverage": "^0.3",
"grunt-karma": "^0.12",
"grunt-sass": "^1.0.0",
"karma": "^0.13",
"karma-chrome-launcher": "~0.2",
"karma-coverage": "^0.4",
"karma-firefox-launcher": "~0.1.3",
"karma-jasmine": "^0.3.x",
"karma-phantomjs-launcher": "~0.1.1",
"phantomjs": "^1.9",
"karma-phantomjs-launcher": "~0.2",
"karma-sourcemap-loader": "^0.3.5",
"bower": "^1.4",
"lodash": "^3.7",
"slash": "^1.0.0"
},
"scripts": {
"watch": "grunt watch",
"build": "grunt",
"setup": "npm install && bower install",
"start": "npm run build",
"test": "npm run build"
},
"private": true,
"dependencies": {
"babel": "^5.5.4"
}
"dependencies": {}
}
182 changes: 0 additions & 182 deletions src/common/knockout.drawabox.js

This file was deleted.

0 comments on commit f45d6ef

Please sign in to comment.