22var path_1 = require ( 'path' ) ;
33var actions_1 = require ( '../actions/actions' ) ;
44var store_1 = require ( '../store/store' ) ;
5- var _a = require ( 'lodash' ) , cloneDeep = _a . cloneDeep , isString = _a . isString ;
5+ var lodash_1 = require ( 'lodash' ) ;
66function configTestString ( config , packageName , test ) {
77if ( window . coderoad . win ) {
88test = test . split ( '/' ) . join ( '\\' ) ;
@@ -36,7 +36,7 @@ var PackageService = (function () {
3636} ;
3737PackageService . prototype . page = function ( _a ) {
3838var chapter = _a . chapter , page = _a . page ;
39- return cloneDeep ( this . data . chapters [ chapter ] . pages [ page ] ) ;
39+ return lodash_1 . cloneDeep ( this . data . chapters [ chapter ] . pages [ page ] ) ;
4040} ;
4141PackageService . prototype . getPackage = function ( ) {
4242return this . packageJson ;
@@ -47,7 +47,7 @@ var PackageService = (function () {
4747return ! tasks ?[ ] :tasks . map ( function ( task ) {
4848if ( task . tests ) {
4949task . tests = task . tests . map ( function ( test ) {
50- if ( isString ( test ) ) {
50+ if ( lodash_1 . isString ( test ) ) {
5151return configTestString ( config , _this . packageName , test ) ;
5252}
5353else {