1[
2 {"type":"CommentSingle","value":"# Run `npm test` for the node project `left-pad`."},
3 {"type":"Text","value":"\n"},
4 {"type":"KeywordType","value":"fs"},
5 {"type":"Text","value":" "},
6 {"type":"NameFunction","value":"default"},
7 {"type":"Punctuation","value":"()"},
8 {"type":"Text","value":" "},
9 {"type":"Punctuation","value":"{"},
10 {"type":"Text","value":"\n\t"},
11 {"type":"NameOther","value":"npmRun"},
12 {"type":"Text","value":" "},
13 {"type":"NameOther","value":"leftPad"},
14 {"type":"Text","value":" "},
15 {"type":"KeywordType","value":"fs"},
16 {"type":"Text","value":" "},
17 {"type":"Punctuation","value":"{"},
18 {"type":"Text","value":" "},
19 {"type":"NameOther","value":"nodeModules"},
20 {"type":"Text","value":" "},
21 {"type":"NameOther","value":"leftPad"},
22 {"type":"Text","value":"; "},
23 {"type":"Punctuation","value":"}"},
24 {"type":"Text","value":" "},
25 {"type":"LiteralString","value":"\"test\""},
26 {"type":"Text","value":"\n"},
27 {"type":"Punctuation","value":"}"},
28 {"type":"Text","value":"\n\n"},
29 {"type":"KeywordType","value":"fs"},
30 {"type":"Text","value":" "},
31 {"type":"NameFunction","value":"leftPad"},
32 {"type":"Punctuation","value":"()"},
33 {"type":"Text","value":" "},
34 {"type":"Punctuation","value":"{"},
35 {"type":"Text","value":"\n\tgit "},
36 {"type":"LiteralString","value":"\"https://github.com/left-pad/left-pad.git\""},
37 {"type":"Text","value":" "},
38 {"type":"LiteralString","value":"\"master\""},
39 {"type":"Text","value":"\n"},
40 {"type":"Punctuation","value":"}"},
41 {"type":"Text","value":"\n\n"},
42 {"type":"KeywordType","value":"fs"},
43 {"type":"Text","value":" "},
44 {"type":"NameFunction","value":"npmInstall"},
45 {"type":"Punctuation","value":"("},
46 {"type":"KeywordType","value":"fs"},
47 {"type":"Text","value":" "},
48 {"type":"NameOther","value":"src"},
49 {"type":"Punctuation","value":")"},
50 {"type":"Text","value":" "},
51 {"type":"Punctuation","value":"{"},
52 {"type":"Text","value":"\n\timage "},
53 {"type":"LiteralString","value":"\"node:alpine\""},
54 {"type":"Text","value":" "},
55 {"type":"KeywordReserved","value":"with"},
56 {"type":"Text","value":" "},
57 {"type":"KeywordType","value":"option"},
58 {"type":"Text","value":" "},
59 {"type":"Punctuation","value":"{"},
60 {"type":"Text","value":"\n\t\tresolve\n\t"},
61 {"type":"Punctuation","value":"}"},
62 {"type":"Text","value":"\n\trun "},
63 {"type":"LiteralString","value":"\"npm install\""},
64 {"type":"Text","value":" "},
65 {"type":"KeywordReserved","value":"with"},
66 {"type":"Text","value":" "},
67 {"type":"KeywordType","value":"option"},
68 {"type":"Text","value":" "},
69 {"type":"Punctuation","value":"{"},
70 {"type":"Text","value":"\n\t\tdir "},
71 {"type":"LiteralString","value":"\"/src\""},
72 {"type":"Text","value":"\n\t\tmount "},
73 {"type":"NameOther","value":"src"},
74 {"type":"Text","value":" "},
75 {"type":"LiteralString","value":"\"/src\""},
76 {"type":"Text","value":"\n\t\t"},
77 {"type":"CommentSingle","value":"# Name the mounted filesystem as nodeModules"},
78 {"type":"Text","value":"\n\t\tmount "},
79 {"type":"KeywordType","value":"fs"},
80 {"type":"Text","value":" "},
81 {"type":"Punctuation","value":"{"},
82 {"type":"Text","value":" scratch; "},
83 {"type":"Punctuation","value":"}"},
84 {"type":"Text","value":" "},
85 {"type":"LiteralString","value":"\"/src/node_modules\""},
86 {"type":"Text","value":" "},
87 {"type":"KeywordReserved","value":"as"},
88 {"type":"Text","value":" "},
89 {"type":"NameFunction","value":"nodeModules"},
90 {"type":"Text","value":"\n\t"},
91 {"type":"Punctuation","value":"}"},
92 {"type":"Text","value":"\n"},
93 {"type":"Punctuation","value":"}"},
94 {"type":"Text","value":"\n\n"},
95 {"type":"KeywordType","value":"fs"},
96 {"type":"Text","value":" "},
97 {"type":"NameFunction","value":"npmRun"},
98 {"type":"Punctuation","value":"("},
99 {"type":"KeywordType","value":"fs"},
100 {"type":"Text","value":" "},
101 {"type":"NameOther","value":"src"},
102 {"type":"Text","value":", "},
103 {"type":"KeywordType","value":"fs"},
104 {"type":"Text","value":" "},
105 {"type":"NameOther","value":"nodeModules"},
106 {"type":"Text","value":", "},
107 {"type":"KeywordType","value":"string"},
108 {"type":"Text","value":" "},
109 {"type":"NameOther","value":"script"},
110 {"type":"Punctuation","value":")"},
111 {"type":"Text","value":" "},
112 {"type":"Punctuation","value":"{"},
113 {"type":"Text","value":"\n\timage "},
114 {"type":"LiteralString","value":"\"node:alpine\""},
115 {"type":"Text","value":"\n\trun "},
116 {"type":"KeywordType","value":"string"},
117 {"type":"Text","value":" "},
118 {"type":"Punctuation","value":"{"},
119 {"type":"Text","value":" "},
120 {"type":"NameOther","value":"format"},
121 {"type":"Text","value":" "},
122 {"type":"LiteralString","value":"\"npm run %s\""},
123 {"type":"Text","value":" "},
124 {"type":"NameOther","value":"script"},
125 {"type":"Text","value":"; "},
126 {"type":"Punctuation","value":"}"},
127 {"type":"Text","value":" "},
128 {"type":"KeywordReserved","value":"with"},
129 {"type":"Text","value":" "},
130 {"type":"KeywordType","value":"option"},
131 {"type":"Text","value":" "},
132 {"type":"Punctuation","value":"{"},
133 {"type":"Text","value":"\n\t\tdir "},
134 {"type":"LiteralString","value":"\"/src\""},
135 {"type":"Text","value":"\n\t\tmount "},
136 {"type":"NameOther","value":"src"},
137 {"type":"Text","value":" "},
138 {"type":"LiteralString","value":"\"/src\""},
139 {"type":"Text","value":"\n\t\tmount "},
140 {"type":"NameOther","value":"nodeModules"},
141 {"type":"Text","value":" "},
142 {"type":"LiteralString","value":"\"/src/node_modules\""},
143 {"type":"Text","value":"\n\t"},
144 {"type":"Punctuation","value":"}"},
145 {"type":"Text","value":"\n"},
146 {"type":"Punctuation","value":"}"},
147 {"type":"Text","value":"\n"}
148]
View as plain text