@@ -53,10 +53,10 @@ module.exports = {
53
53
)
54
54
} ,
55
55
pretest : {
56
- script : './node_modules/.bin/tslint -c ./tslint.json -t stylish "./test/unit/**/*.ts"'
56
+ script : '\" ./node_modules/.bin/tslint\" -c ./tslint.json -t stylish "./test/unit/**/*.ts"'
57
57
} ,
58
58
run : {
59
- script : './node_modules/.bin/cross-env NODE_ENV=test \"./node_modules/.bin/jest\" --testPathPattern=unit'
59
+ script : '\" ./node_modules/.bin/cross-env\" NODE_ENV=test \"./node_modules/.bin/jest\" --testPathPattern=unit'
60
60
} ,
61
61
verbose : {
62
62
script : 'nps "test --verbose"'
@@ -75,28 +75,28 @@ module.exports = {
75
75
)
76
76
} ,
77
77
pretest : {
78
- script : './node_modules/.bin/tslint -c ./tslint.json -t stylish "./test/e2e/**/*.ts"'
78
+ script : '\" ./node_modules/.bin/tslint\" -c ./tslint.json -t stylish "./test/e2e/**/*.ts"'
79
79
} ,
80
80
verbose : {
81
81
script : 'nps "test.e2e --verbose"'
82
82
} ,
83
83
run : series (
84
84
`wait-on --timeout 120000 http-get://localhost:3000/api/info` ,
85
- './node_modules/.bin/cross-env NODE_ENV=test \"./node_modules/.bin/jest\" --testPathPattern=e2e -i'
85
+ '\" ./node_modules/.bin/cross-env\" NODE_ENV=test \"./node_modules/.bin/jest\" --testPathPattern=e2e -i'
86
86
) ,
87
87
}
88
88
} ,
89
89
/**
90
90
* Runs TSLint over your project
91
91
*/
92
92
lint : {
93
- script : `./node_modules/.bin/tslint -c ./tslint.json -p tsconfig.json 'src/**/*.ts' --format stylish`
93
+ script : `" ./node_modules/.bin/tslint" -c ./tslint.json -p tsconfig.json 'src/**/*.ts' --format stylish`
94
94
} ,
95
95
/**
96
96
* Transpile your app into javascript
97
97
*/
98
98
transpile : {
99
- script : `./node_modules/.bin/tsc`
99
+ script : `" ./node_modules/.bin/tsc" `
100
100
} ,
101
101
/**
102
102
* Clean files and folders
@@ -106,7 +106,7 @@ module.exports = {
106
106
script : series ( `nps banner.clean` , `nps clean.dist` )
107
107
} ,
108
108
dist : {
109
- script : `./node_modules/.bin/trash './dist'`
109
+ script : `" ./node_modules/.bin/trash" './dist'`
110
110
}
111
111
} ,
112
112
/**
@@ -178,11 +178,11 @@ function banner(name) {
178
178
}
179
179
180
180
function copy ( source , target ) {
181
- return `./node_modules/.bin/copyup ${ source } ${ target } `
181
+ return `" ./node_modules/.bin/copyup" ${ source } ${ target } `
182
182
}
183
183
184
184
function run ( path ) {
185
- return `./node_modules/.bin/ts-node ${ path } `
185
+ return `" ./node_modules/.bin/ts-node" ${ path } `
186
186
}
187
187
188
188
function runFast ( path ) {
0 commit comments