const replace = require('replace');

replace({
	regex: '\'(.*?)\\/packages\\/', // any amount of (../) followed by `packages`
	replacement: '\'@ansyn/',
	paths: ['src/'],
	recursive: true,
	silent: false
});

@@ -49,16 +49,17 @@
 regex: '
+(
 %5C'(.*?)%5C
@@ -71,16 +71,34 @@
 kages%5C%5C/
+%7C%5C'(.*?)%5C%5C/app%5C%5C/)
 ', // an

fix ansyn/app packages too