1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

fix node deps

This commit is contained in:
Andrew Simachev 2022-08-12 18:01:39 +03:00
parent bfa79237dc
commit e69ac4b458
3 changed files with 3 additions and 2 deletions

View file

@ -23,6 +23,8 @@ stdin.on('end', function() {
return el && el.match(/^node_modules/) && !el.match(new RegExp(`^node_modules/(${skipIds.join('|')})$`));
}).map((it) => { return { from: it, to: it }; });
console.log(lines);
packageJSON.build.files = baseDepsJSON.concat(lines);
let jsonS = JSON.stringify(packageJSON, null, '\t');
fs.writeFileSync('package.json', jsonS);