This repository was archived by the owner on May 7, 2024. It is now read-only.
File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 10
10
"test:integration" : " npm run build && ts-node node_modules/tape/bin/tape 'test/integration/**/test.ts' | tap-bail | tap-spec" ,
11
11
"cover" : " rimraf .nyc_output coverage && nyc npm run test:unit" ,
12
12
"coverage" : " nyc report --reporter=text-lcov | coveralls" ,
13
- "prepack " : " npm run build"
13
+ "prepare " : " npm run build"
14
14
},
15
+ "files" : [
16
+ " dist/" ,
17
+ " README.md"
18
+ ],
15
19
"keywords" : [
16
20
" twig" ,
17
21
" twing" ,
54
58
"@types/loader-utils" : " ^1.1.3" ,
55
59
"@types/luxon" : " ^1.15.2" ,
56
60
"@types/memory-fs" : " ^0.3.2" ,
61
+ "@types/node" : " ^14.14.35" ,
57
62
"@types/schema-utils" : " ^1.0.0" ,
58
63
"@types/sinon" : " ^7.0.13" ,
59
64
"@types/tape" : " ^4.2.33" ,
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ const optionsSchema = {
33
33
34
34
class PathSupportingArrayLoader extends TwingLoaderArray {
35
35
getSourceContext ( name : string , from : TwingSource ) : Promise < TwingSource > {
36
- return super . getSourceContext ( name , from ) . then ( ( source ) => {
36
+ return super . getSourceContext ( name , from ) . then ( ( source : TwingSource ) => {
37
37
return new TwingSource ( source . getCode ( ) , source . getName ( ) , name ) ;
38
38
} )
39
39
}
You can’t perform that action at this time.
0 commit comments