@tryghost/admin-toolbar 0.1.2 → 0.1.4

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 +8 -47
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@tryghost/admin-toolbar",
3
- "version": "0.1.2",
3
+ "type": "module",
4
+ "version": "0.1.4",
4
5
  "license": "MIT",
5
6
  "repository": {
6
7
  "type": "git",
@@ -20,60 +21,20 @@
20
21
  "preact": "^10.29.2"
21
22
  },
22
23
  "devDependencies": {
24
+ "@eslint/js": "9.39.4",
23
25
  "concurrently": "10.0.3",
24
- "eslint": "8.57.1",
26
+ "eslint": "9.39.4",
27
+ "eslint-plugin-ghost": "3.5.0",
28
+ "globals": "17.6.0",
25
29
  "jsdom": "29.1.1",
26
30
  "vite": "7.3.2",
27
31
  "vitest": "4.1.8"
28
32
  },
29
- "eslintConfig": {
30
- "ignorePatterns": [
31
- "umd/**/*.js"
32
- ],
33
- "env": {
34
- "browser": true
35
- },
36
- "parserOptions": {
37
- "sourceType": "module",
38
- "ecmaVersion": 2022
39
- },
40
- "extends": [
41
- "plugin:ghost/browser"
42
- ],
43
- "plugins": [
44
- "ghost"
45
- ],
46
- "overrides": [
47
- {
48
- "files": [
49
- "test/**/*.js"
50
- ],
51
- "env": {
52
- "node": true
53
- },
54
- "globals": {
55
- "afterEach": "readonly",
56
- "describe": "readonly",
57
- "it": "readonly"
58
- },
59
- "parserOptions": {
60
- "sourceType": "script"
61
- }
62
- }
63
- ],
64
- "rules": {
65
- "ghost/filenames/match-regex": [
66
- "error",
67
- "^[a-z0-9.-]+$",
68
- false
69
- ]
70
- }
71
- },
72
33
  "scripts": {
73
34
  "build": "pnpm exec vite build",
74
- "build:watch": "pnpm exec vite build --watch",
35
+ "build:watch": "pnpm exec vite build --watch --mode development",
75
36
  "dev": "concurrently --kill-others --names preview,build \"pnpm exec vite preview -l silent\" \"pnpm build:watch\"",
76
- "lint": "pnpm exec eslint src --ext .js --cache",
37
+ "lint": "pnpm exec eslint src test --cache",
77
38
  "test": "pnpm test:unit",
78
39
  "test:unit": "pnpm run build && pnpm exec vitest run",
79
40
  "preship": "pnpm lint",