File tree 4 files changed +10
-10
lines changed
4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ Sparky.task('test', () => {
42
42
} )
43
43
44
44
Sparky . task ( 'default' , ( ) => {
45
+ bundle . instructions ( '> [src/index.ts]' )
45
46
! isProdBuild &&
46
47
bundle . watch ( `src/**` ) . completed ( fp => shabang ( fp . bundle , absOutputPath ) )
47
- bundle . instructions ( '> [src/index.ts]' )
48
48
49
49
fuseConfig . run ( ) . then ( bp => {
50
50
const bundle = bp . bundles . get ( appName )
Original file line number Diff line number Diff line change 28
28
"lint" : " tslint --project tsconfig.json" ,
29
29
"test" : " ts-node fuse test" ,
30
30
"test.watch" : " chokidar '(src|spec)/**/*.ts' -c 'ts-node fuse test' --initial --silent" ,
31
- "build" : " ts-node fuse --build" ,
32
- "prepare " : " ts-node fuse --build" ,
33
- "precommit" : " npm run test && npm run lint && pretty-quick --no-semi --single-quote" ,
31
+ "build" : " ts-node fuse default --build" ,
32
+ "prepublishOnly " : " ts-node fuse default --build" ,
33
+ "precommit" : " npm run test && npm run lint && pretty-quick --staged -- no-semi --single-quote" ,
34
34
"start" : " ts-node fuse" ,
35
35
"start.dev" : " ts-node fuse & npm run test.watch"
36
36
},
Original file line number Diff line number Diff line change 1
- declare module " *.json" {
2
- const value : any ;
1
+ declare module ' *.json' {
2
+ const value : any
3
3
export = value
4
- }
4
+ }
Original file line number Diff line number Diff line change 1
- declare module " *.txt" {
2
- const value : string ;
1
+ declare module ' *.txt' {
2
+ const value : string
3
3
export = value
4
- }
4
+ }
You can’t perform that action at this time.
0 commit comments