16 Commits

Author SHA1 Message Date
Frank Schmid a1f708c186 Support serverless run
Small README change

Raise coverage again

Added unit tests

Added serverless run to README

Added watch unit tests with handler function.

Support --watch for run command

Package external modules for run

Hook run:run, set service packaging and change to compiled directory
2017-11-21 12:57:24 +01:00
Frank Schmid fe45384ca3 Use --webpack-use-polling to switch to fs polling mode on watch (#225)
* Use --webpack-use-polling to switch to fs pooling mode on watch

* Added unit tests
2017-09-18 16:18:19 +02:00
Frank Schmid 97d5adf963 Setup travis (#220)
* Add Travis configuration and fixed ESLint issues

* Enabled ESLint and coverage checkboxes

* Added coverage and build badges
2017-09-10 01:31:04 +02:00
Frank Schmid 7ed3803fb6 Change CWD before local invoke and restore it afterwards (#182)
* Change CWD before local invoke and restore it afterwards

* Adapted unit tests

* Renamed module
2017-08-05 13:35:36 +02:00
Frank Schmid ecd7deab58 Removed obsolete run functions 2017-08-01 21:56:08 +02:00
Frank Schmid 92c8a9ae6e Support --watch option with invoke local 2017-08-01 21:56:06 +02:00
Frank Schmid bf6f0aefde Changed watch to use "invoke local" 2017-08-01 21:56:05 +02:00
Frank Schmid 0b6882a2d2 Removed unused code 2017-08-01 21:56:05 +02:00
Nicola Peduzzi 8b4b082767 Removed debug log 2016-12-23 17:48:15 +01:00
Pete Miller 0541c40363 set process.env before requiring function handler 2016-12-01 00:37:30 -08:00
Pete Miller 754482e7a7 support environment variables on 'run' 2016-12-01 00:27:39 -08:00
Nicola Peduzzi 6940c496bd Use serverless cli consoleLog 2016-08-19 14:21:32 +02:00
Nicola Peduzzi c946a67194 Fix local function usage commands to work with multiple-entries 2016-08-18 18:02:13 +02:00
Nicola Peduzzi 1df8259fa9 Add typescript example 2016-08-18 16:19:28 +02:00
Nicola Peduzzi 5e84527c6a Add initial serve command 2016-08-17 22:43:41 +02:00
Nicola Peduzzi 3ea41eb14f Add commands to run webpack bundle locally 2016-08-16 22:23:50 +02:00