From 591a062219f9f6c36b9edebf93a5e39dc41fdb26 Mon Sep 17 00:00:00 2001 From: Joris Griffioen Date: Sun, 25 Jul 2021 22:32:21 +0200 Subject: [PATCH] Add type declaration file to build --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0f0ad51..d545f0e 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ "start": "npm run dev", "dev": "./build.js -debug -watch -inline-sourcemap", "build": "./build.js", - "build:declaration": "tsc --declaration --outFile dist/estrella-starter.d.ts --emitDeclarationOnly", - "prepublishOnly": "npm run build", + "build:declaration": "tsc --declaration --outFile dist/tailshake.d.ts --emitDeclarationOnly", + "prepublishOnly": "npm run build && npm run build:declaration", "lint:es": "eslint '**/*.{js,jsx,ts,tsx}'", "lint:ts": "npx tsc -p tsconfig.json --noEmit", "lint": "yarn lint:ts && yarn lint:es",