diff --git a/package.json b/package.json
index e862ef02533237549fbfb4ecb53d71f42ff4485c..5b75a88681014afc09d1c3cdf66a48f4c843dc25 100644
--- a/package.json
+++ b/package.json
@@ -5,6 +5,7 @@
   "main": "dist/index.js",
   "directories": {},
   "scripts": {
+    "build": "tsc -p tsconfig.lib.json",
     "lint": "eslint --fix '{src,tests}/**/*.{js,ts}' --quiet --fix",
     "test": "jest",
     "test:compile-generated": "tsc --project tsconfig.ci.json --pretty --noEmit",
diff --git a/tsconfig.json b/tsconfig.json
deleted file mode 100644
index 48c1e4955e1a4137fb24fdc9680564539506e0e0..0000000000000000000000000000000000000000
--- a/tsconfig.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
-  "extends": "./node_modules/irstea-typescript-config/tsconfig.json",
-  "compileOnSave": false,
-  "compilerOptions": {
-    "outDir": "./dist/out-tsc",
-    "sourceMap": false,
-    "inlineSourceMap": false,
-    "declaration": false,
-    "moduleResolution": "node",
-    "emitDecoratorMetadata": true,
-    "experimentalDecorators": true,
-    "importHelpers": true,
-    "target": "es5",
-    "typeRoots": [
-      "node_modules/@types"
-    ],
-    "lib": [
-      "es2017",
-      "dom"
-    ],
-    "locale": "fr"
-  }
-}