@odoo/o-spreadsheet 18.1.0-alpha.0 → 18.1.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.1.0-alpha.0",
3
+ "version": "18.1.0-alpha.2",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",
@@ -13,27 +13,27 @@
13
13
  "dist/*.xml"
14
14
  ],
15
15
  "scripts": {
16
- "serve-static": "live-server --open=demo --watch=build/o_spreadsheet.dev.js,build/o_spreadsheet.xml,demo",
17
- "dev": "npm-run-all --print-label buildDev --parallel server serve-static watch:*",
16
+ "serve-static": "live-server --open=demo --watch=build/o_spreadsheet.iife.js,build/o_spreadsheet.xml,demo",
17
+ "dev": "npm-run-all --print-label bundle:dev --parallel server serve-static watch",
18
18
  "server": "node tools/server/main.cjs",
19
19
  "build:js": "tsc --module es6 --incremental",
20
- "build:bundleJsDev": "rollup -c -m --configDev",
21
- "build:bundleJs": "rollup -c -m --configDist",
22
- "build:bundleXml": "node tools/bundle_xml/main.cjs",
23
- "buildDev": "npm-run-all build:js build:bundleJsDev \"build:bundleXml -- --outDir build\"",
24
- "build": "npm-run-all build:js build:bundleJs \"build:bundleXml -- --outDir build\"",
25
- "precommit": "npm run prettier && npm run doc",
20
+ "bundle:iife": "rollup -c -m -- --format iife",
21
+ "bundle:esm": "rollup -c -m -- --format esm",
22
+ "bundle:xml": "node tools/bundle_xml/main.cjs",
23
+ "bundle:dev": "npm-run-all build:js bundle:iife \"bundle:xml -- --outDir build\"",
24
+ "dist": "tsc --module es6 --declaration --declarationDir dist/types && rollup -c && npm run bundle:xml -- --outDir dist",
26
25
  "test": "tsc --noEmit --project tsconfig.jest.json && jest",
27
26
  "test:watch": "jest --watch",
28
27
  "prettier": "prettier . --write",
29
28
  "check-formatting": "prettier . --check",
30
- "dist": "tsc --module es6 --declaration --declarationDir dist/types && rollup -c && npm run build:bundleXml -- --outDir dist",
31
29
  "prepare": "husky install",
32
- "watch:bundle": "npm run build:bundleJsDev -- --watch",
30
+ "watch": "npm-run-all -p watch:*",
31
+ "watch:bundle": "npm run bundle:iife -- --watch",
33
32
  "watch:ts": "npm run build:js -- --watch",
34
33
  "watch:xml": "node tools/bundle_xml/watch_xml_templates.cjs",
35
34
  "unzipXlsx": "node tools/bundle_xlsx/unzip_xlsx_demo.cjs",
36
- "zipXlsx": "node tools/bundle_xlsx/zip_xlsx_demo.cjs"
35
+ "zipXlsx": "node tools/bundle_xlsx/zip_xlsx_demo.cjs",
36
+ "build": "npm-run-all build:js bundle:esm \"bundle:xml -- --outDir build\""
37
37
  },
38
38
  "browserslist": [
39
39
  "last 1 Chrome versions"