Skip to content

Commit

Permalink
switch to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
merlinfuchs committed Feb 3, 2024
1 parent 7318008 commit c71396b
Show file tree
Hide file tree
Showing 17 changed files with 20,187 additions and 9,947 deletions.
870 changes: 870 additions & 0 deletions js-sdk/package-lock.json

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions js-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"license": "AGPL-3.0",
"type": "module",
"scripts": {
"build": "yarn compile && yarn bundle && yarn extract-types",
"build": "npm run compile && npm run bundle && npm run extract-types",
"compile": "tsc",
"bundle": "esbuild build/index.js --bundle --minify --format=esm --platform=browser --outfile=dist/index.js",
"extract-types": "api-extractor run --local && mv dist/kite-sdk.d.ts dist/index.d.ts && rm dist/tsdoc-metadata.json",
"prepublishOnly": "yarn build"
"prepublishOnly": "npm run build"
},
"files": [
"/dist"
Expand All @@ -20,6 +20,5 @@
"@microsoft/api-extractor": "^7.39.4",
"esbuild": "^0.20.0",
"typescript": "^5.3.3"
},
"packageManager": "yarn@1.22.21"
}
}
214 changes: 52 additions & 162 deletions js-sdk/yarn.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions kite-docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ This is the public website for Kite which includes the homepage and documentatio
### Installation

```
$ yarn
$ npm i
```

### Local Development

```
$ yarn start
$ npm run start
```

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

### Build

```
$ yarn build
$ npm run build
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.
Loading

0 comments on commit c71396b

Please sign in to comment.