@phun-ky/speccer 11.2.4 → 11.2.6

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": "@phun-ky/speccer",
3
- "version": "11.2.4",
3
+ "version": "11.2.6",
4
4
  "description": "A script to annotate, show spacing specs and to display typography information in documentation/website on HTML elements",
5
5
  "main": "dist/speccer.js",
6
6
  "module": "dist/speccer.esm.js",
@@ -14,6 +14,8 @@
14
14
  "test": "glob -c \"node --import tsx --import global-jsdom/register --test --no-warnings\" \"./src/**/__tests__/**/*.[jt]s\"",
15
15
  "pretest-ci": "rm -rf coverage && mkdir -p coverage",
16
16
  "test-ci": "glob -c \"node --import tsx --import global-jsdom/register --test --no-warnings --experimental-test-coverage --test-reporter=cobertura --test-reporter-destination=coverage/cobertura-coverage.xml --test-reporter=spec --test-reporter-destination=stdout\" \"./src/**/__tests__/**/*.[jt]s\"",
17
+ "pretest:e2e": "rm -rf test-results && npm run build",
18
+ "test:e2e": "npx playwright test",
17
19
  "rollup": "rollup -c",
18
20
  "prerollup:dev": "npm run clean && npm run styles",
19
21
  "rollup:dev": "rollup -c -w",
@@ -24,8 +26,8 @@
24
26
  "postcss": "rm -rf ./dist/speccer.min.css && postcss ./dist/speccer.css -o ./dist/speccer.min.css",
25
27
  "dev": "npx browser-sync start --server 'dev' --files 'dist' --ss 'dist'",
26
28
  "docs:gen": "node ./node_modules/.bin/typedoc",
27
- "style:lint": "./node_modules/.bin/eslint -c ./.eslintrc --max-warnings=0 src --ignore-path .gitignore ",
28
- "style:format": "prettier-eslint --config .prettierrc --eslint-config-path $PWD/.eslintrc --list-different --write \"./src/**/*.ts\"",
29
+ "style:lint": "./node_modules/.bin/eslint -c ./eslint.config.mjs src",
30
+ "style:format": "./node_modules/.bin/eslint -c ./eslint.config.mjs src --fix",
29
31
  "style:code": "npx putout src",
30
32
  "commit": "npx git-cz",
31
33
  "release": "release-it"
@@ -78,31 +80,29 @@
78
80
  },
79
81
  "homepage": "https://phun-ky.net/projects/speccer",
80
82
  "devDependencies": {
83
+ "@eslint/js": "^9.20.0",
84
+ "@playwright/test": "^1.50.1",
81
85
  "@release-it/conventional-changelog": "^10.0.0",
82
86
  "@rollup/plugin-node-resolve": "^16.0.0",
83
87
  "@rollup/plugin-terser": "^0.4.4",
88
+ "@stylistic/eslint-plugin": "^3.1.0",
84
89
  "@testing-library/dom": "^9.3.4",
85
90
  "@testing-library/jest-dom": "^6.4.2",
86
- "@typescript-eslint/eslint-plugin": "^5.62.0",
87
- "@typescript-eslint/parser": "^5.0.1",
91
+ "@types/node": "^22.13.1",
88
92
  "cobertura": "^1.0.1",
89
93
  "cssnano": "^6.0.3",
90
- "eslint": "^8.56.0",
91
- "eslint-config-prettier": "^10.0.1",
92
- "eslint-import-resolver-typescript": "3.7.0",
93
- "eslint-plugin-compat": "^4.2.0",
94
- "eslint-plugin-import": "^2.29.1",
95
- "eslint-plugin-prettier": "^5.1.3",
94
+ "eslint": "^9.20.0",
95
+ "eslint-import-resolver-typescript": "^3.7.0",
96
+ "eslint-plugin-compat": "^6.0.2",
97
+ "eslint-plugin-import": "^2.31.0",
96
98
  "git-cz": "^4.9.0",
97
99
  "glob": "^10.3.10",
98
100
  "global-jsdom": "^26.0.0",
101
+ "globals": "^15.14.0",
99
102
  "jsdom": "^26.0.0",
100
103
  "postcss": "^8.3.0",
101
104
  "postcss-cli": "^8.3.1",
102
- "prettier": "^3.2.5",
103
- "prettier-eslint": "^16.3.0",
104
- "prettier-eslint-cli": "^8.0.1",
105
- "putout": "^37.21.1",
105
+ "putout": "^38.1.1",
106
106
  "quibble": "^0.9.1",
107
107
  "release-it": "^18.1.2",
108
108
  "remark-github": "^12.0.0",
@@ -121,7 +121,8 @@
121
121
  "typedoc-plugin-no-inherit": "^1.4.0",
122
122
  "typedoc-plugin-remark": "^1.0.2",
123
123
  "typedoc-plugin-rename-defaults": "^0.7.1",
124
- "typescript": "^5.0.0",
124
+ "typescript": "^5.7.3",
125
+ "typescript-eslint": "^8.23.0",
125
126
  "unified-prettier": "^2.0.1"
126
127
  },
127
128
  "config": {