Merge branch 'chore/change-firefish-type-source' into 'develop'

chore: Change type declaration source of firefish-js

Co-authored-by: Lhcfl <Lhcfl@outlook.com>

See merge request firefish/firefish!10711
This commit is contained in:
naskya 2024-03-25 20:25:19 +00:00
commit 02e6aebd33

View file

@ -4,11 +4,10 @@
"description": "Firefish SDK for JavaScript",
"homepage": "https://firefish.dev/firefish/firefish/-/tree/develop/packages/firefish-js",
"main": "./built/index.js",
"types": "./built/index.d.ts",
"types": "./src/index.ts",
"license": "MIT",
"scripts": {
"build": "pnpm swc src --out-dir built --source-maps false --copy-files --strip-leading-paths",
"build:types": "pnpm tsc --emitDeclarationOnly",
"build:debug": "pnpm swc src --out-dir built --source-maps true --copy-files --strip-leading-paths",
"watch": "pnpm swc src --out-dir built --source-maps true --copy-files --strip-leading-paths --watch",
"lint": "pnpm biome check --apply src",