From 5807440f88924d2bff5e94d8ebd384e48c13ff80 Mon Sep 17 00:00:00 2001 From: Luuk de Vlieger Date: Sat, 4 Apr 2020 18:42:48 +0200 Subject: [PATCH] :wrench: Rename tasks --- docs/package.json | 4 ++-- docs/tsconfig.json | 4 ++++ package.json | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/package.json b/docs/package.json index 6266f41..7d0f8e5 100644 --- a/docs/package.json +++ b/docs/package.json @@ -19,7 +19,7 @@ "format": "prettier --write '**/*.{js,json,ts,tsx}'", "serve": "npm run build && gatsby serve", "start": "gatsby develop", - "type-check:watch": "npm run type-check -- --watch", - "type-check": "tsc" + "typecheck:watch": "npm run typecheck -- --watch", + "typecheck": "tsc" } } diff --git a/docs/tsconfig.json b/docs/tsconfig.json index c67f1bc..803b60f 100644 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -1,9 +1,13 @@ { "compilerOptions": { + "baseUrl": ".", "esModuleInterop": true, "jsx": "react", "moduleResolution": "Node", "noEmit": true, + "paths": { + "react": ["node_modules/@types/react"] + }, "strict": true }, "include": ["src"] diff --git a/package.json b/package.json index af9f4d3..b61756a 100644 --- a/package.json +++ b/package.json @@ -42,8 +42,8 @@ "prepublishOnly": "npm test && npm run build", "test:watch": "jest --watch", "test": "jest", - "type-check:watch": "npm run type-check -- --watch", - "type-check": "tsc --noEmit" + "typecheck:watch": "npm run typecheck -- --watch", + "typecheck": "tsc --noEmit" }, "dependencies": {}, "devDependencies": {