diff --git a/js/src/api/contract/contract.js b/js/src/api/contract/contract.js
index 2156b8af1..77c9568a9 100644
--- a/js/src/api/contract/contract.js
+++ b/js/src/api/contract/contract.js
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see .
-import Abi from '~/abi';
+import Abi from '@parity/abi';
let nextSubscriptionId = 0;
diff --git a/js/src/api/util/encode.js b/js/src/api/util/encode.js
index f18fbbe2b..e936faa38 100644
--- a/js/src/api/util/encode.js
+++ b/js/src/api/util/encode.js
@@ -14,8 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see .
-import Abi from '~/abi';
-import Func from '~/abi/spec/function';
+import Abi from '@parity/abi';
+import Func from '@parity/abi/spec/function';
import { abiDecode } from './decode';
import { cleanupValue } from './format';