This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 3 files changed +3
-8
lines changed
scripts/docs.angularjs.org-firebase
3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -302,8 +302,8 @@ module.exports = {
302
302
var fileName = docsScriptFolder + '/firebase.json' ;
303
303
var json = grunt . file . readJSON ( fileName ) ;
304
304
305
- json . hosting . public = 'deploy/docs' ;
306
- json . functions . source = docsScriptFolder + '/functions' ;
305
+ ( json . hosting || ( json . hosting = { } ) ) . public = 'deploy/docs' ;
306
+ ( json . functions || ( json . functions = { } ) ) . source = docsScriptFolder + '/functions' ;
307
307
308
308
grunt . file . write ( 'firebase.json' , JSON . stringify ( json ) ) ;
309
309
}
Original file line number Diff line number Diff line change 27
27
"function" : " sendFile"
28
28
}
29
29
]
30
- },
31
- "functions" : {
32
- "predeploy" : [
33
- " npm --prefix $RESOURCE_DIR run lint"
34
- ]
35
30
}
36
31
}
Original file line number Diff line number Diff line change 2
2
"name" : " functions" ,
3
3
"description" : " Cloud Functions for Firebase" ,
4
4
"scripts" : {
5
- "lint" : " ./node_modules/.bin/ eslint ." ,
5
+ "lint" : " eslint ." ,
6
6
"serve" : " firebase serve --only functions" ,
7
7
"shell" : " firebase experimental:functions:shell" ,
8
8
"start" : " npm run shell" ,
You can’t perform that action at this time.
0 commit comments