Skip to content

Commit

Permalink
Removed bundle
Browse files Browse the repository at this point in the history
Changed lint to not run tsc
  • Loading branch information
james-pre committed Oct 16, 2024
1 parent aa20267 commit fde5259
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 64 deletions.
59 changes: 0 additions & 59 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,15 @@
"scripts": {
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "tsc -p tsconfig.json --noEmit && eslint src",
"build": "npx build --package=@zenfs/core --globalName ZenFS_Emscripten --entry src/index.ts --",
"lint": "eslint src",
"build": "tsc -p tsconfig.json",
"build:docs": "typedoc --out docs --name 'ZenFS Emscripten' src/index.ts",
"prepublishOnly": "npm run build",
"test": "echo No tests yet"
},
"devDependencies": {
"@eslint/js": "^9.12.0",
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
"@types/emscripten": "^1.39.13",
"esbuild": "^0.17.18",
"eslint": "^9.12.0",
"globals": "^15.10.0",
"prettier": "^3.2.5",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ npm install @zenfs/emscripten
> [!NOTE]
> The examples are written in ESM.
> For CJS, you can `require` the package.
> For a browser environment without support for `type=module` in `script` tags, you can add a `script` tag to your HTML pointing to the `browser.min.js` and use the global `ZenFS_Emscripten` object.
> If using a browser environment, you can use a `<script>` with `type=module` (you may need to use import maps)
```ts
import { configure, fs } from '@zenfs/core';
Expand Down

0 comments on commit fde5259

Please sign in to comment.