Dynamically fetching correct version and generating declarations only for npm lib

This commit is contained in:
David Négrier 2021-04-11 11:15:59 +02:00
parent 0f7ac7ba8b
commit 728fd4779c
3 changed files with 15 additions and 6 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@workadventure/iframe-api-typings",
"version": "1.2.0",
"version": "VERSION_PLACEHOLDER",
"description": "Typescript typings for WorkAdventure iFrame API",
"main": "iframe_api.js",
"types": "iframe_api.d.ts",

View file

@ -5,7 +5,7 @@
"moduleResolution": "node",
"module": "CommonJS",
"target": "ES2015",
"declaration": true,
"declaration": false,
"downlevelIteration": true,
"jsx": "react",
"allowJs": true,