Added npm run test-unit to merlin's package.json file

This enables the `npm run test-unit` command, which may be used
inside of OpenStack's infra to trigger the NPM build chain. It
also binds `bower install` to the postinstall hook, which allows
us to install all dependencies (npm, bower) with one command.

Change-Id: Ia487e8d21f18f9ac44fc14da2011ab60ef6d5a4f
This commit is contained in:
Michael Krotscheck 2015-05-11 13:25:41 -07:00
parent d9f94958c2
commit 54b30e5bab
1 changed files with 4 additions and 0 deletions

View File

@ -32,5 +32,9 @@
"main": "Gruntfile.js",
"dependencies": {
"grunt": "^0.4.5"
},
"scripts": {
"postinstall": "bower install",
"test-unit": "grunt test:unit"
}
}