mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-31 12:20:26 +08:00
Add js/lite/package.json (#4718)
This commit is contained in:
parent
ab5d1ea0de
commit
927c176ef6
2
.github/workflows/publish-npm.yml
vendored
2
.github/workflows/publish-npm.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
||||
- name: install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
- name: Build packages
|
||||
run: pnpm --filter @gradio/client build
|
||||
run: pnpm --filter @gradio/client --filter @gradio/lite build
|
||||
- name: create and publish versions
|
||||
id: changesets
|
||||
uses: changesets/action@v1
|
||||
|
15
js/lite/package.json
Normal file
15
js/lite/package.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"name": "@gradio/lite",
|
||||
"version": "0.1.0",
|
||||
"description": "Serverless Gradio",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
"author": "Gradio Team",
|
||||
"license": "Apache-2.0",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "pnpm --filter @gradio/app build:lite"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user