@bbki.ng/bb-msg-history 0.7.1 → 0.8.0

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.
Files changed (1) hide show
  1. package/package.json +15 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/bb-msg-history",
3
- "version": "0.7.1",
3
+ "version": "0.8.0",
4
4
  "description": "A chat-style message history web component",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -23,6 +23,19 @@
23
23
  "dist",
24
24
  "src"
25
25
  ],
26
+ "scripts": {
27
+ "start": "tsc -w",
28
+ "preview": "python3 -m http.server 8000",
29
+ "prepare": "tsc && cp dist/index.js dist/index.dev.js && terser dist/index.js --compress --mangle --source-map -o dist/index.js",
30
+ "build": "tsc && cp dist/index.js dist/index.dev.js && terser dist/index.js --compress --mangle --source-map -o dist/index.js",
31
+ "lint": "eslint src/**/*.ts",
32
+ "lint:fix": "eslint src/**/*.ts --fix",
33
+ "format": "prettier --write \"src/**/*.ts\"",
34
+ "format:check": "prettier --check \"src/**/*.ts\"",
35
+ "test": "vitest run",
36
+ "test:watch": "vitest",
37
+ "release": "release-it"
38
+ },
26
39
  "lint-staged": {
27
40
  "*.ts": [
28
41
  "eslint --fix",
@@ -47,17 +60,5 @@
47
60
  "terser": "^5.46.0",
48
61
  "typescript": "^5.9.3",
49
62
  "vitest": "^3.2.4"
50
- },
51
- "scripts": {
52
- "start": "tsc -w",
53
- "preview": "python3 -m http.server 8000",
54
- "build": "tsc && cp dist/index.js dist/index.dev.js && terser dist/index.js --compress --mangle --source-map -o dist/index.js",
55
- "lint": "eslint src/**/*.ts",
56
- "lint:fix": "eslint src/**/*.ts --fix",
57
- "format": "prettier --write \"src/**/*.ts\"",
58
- "format:check": "prettier --check \"src/**/*.ts\"",
59
- "test": "vitest run",
60
- "test:watch": "vitest",
61
- "release": "release-it"
62
63
  }
63
- }
64
+ }