Skip to content

Commit 18415a9

Browse files
committed
docs: fix wrong references and information in readme
1 parent 2b1a70d commit 18415a9

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ npm install @matdata/yasgui-table-plugin
3030
### CDN
3131

3232
```html
33-
<script src="https://unpkg.com/@matdata/yasgui-table-plugin/dist/table-plugin.umd.js"></script>
34-
<link rel="stylesheet" href="https://unpkg.com/@matdata/yasgui-table-plugin/dist/table-plugin.css">
33+
<script src="https://unpkg.com/@matdata/yasgui-table-plugin/dist/yasgui-table-plugin.min.js"></script>
34+
<link rel="stylesheet" href="https://unpkg.com/@matdata/yasgui-table-plugin/dist/yasgui-table-plugin.css">
3535
```
3636

3737
## Quick Start
@@ -40,7 +40,7 @@ npm install @matdata/yasgui-table-plugin
4040
import Yasgui from '@yasgui/yasgui';
4141
import TablePlugin from '@matdata/yasgui-table-plugin';
4242
import '@yasgui/yasgui/build/yasgui.min.css';
43-
import '@matdata/yasgui-table-plugin/dist/table-plugin.css';
43+
import '@matdata/yasgui-table-plugin/dist/yasgui-table-plugin.css';
4444

4545
// Register the plugin
4646
Yasgui.Yasr.plugins.table = TablePlugin;
@@ -151,11 +151,11 @@ npm run build
151151
# Run tests
152152
npm run test
153153

154-
# Lint
155-
npm run lint
154+
# Run tests in watch mode
155+
npm run test:watch
156156

157-
# Format code
158-
npm run format
157+
# Run tests with coverage
158+
npm run test:coverage
159159
```
160160

161161
### Development Server
@@ -171,16 +171,15 @@ The demo automatically loads the plugin from source during development for live
171171
### Build System
172172

173173
The project uses **esbuild** for production builds with:
174-
- UMD and ESM module formats
174+
- CJS, ESM, and minified UMD module formats
175175
- PostCSS for CSS processing
176176
- TypeScript type declarations
177-
- Watch mode for development (`npm run dev:build`)
178177

179-
Build outputs are generated in `dist/` with both `.umd.js` and `.esm.js` formats.
178+
Build outputs are generated in `dist/` with `.cjs.js`, `.esm.js`, and `.min.js` formats.
180179

181180
## License
182181

183-
MIT
182+
Apache-2.0
184183

185184
## Contributing
186185

0 commit comments

Comments
 (0)