@phun-ky/speccer 11.2.9 → 11.2.11

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,97 +1,99 @@
1
1
  {
2
2
  "name": "@phun-ky/speccer",
3
- "version": "11.2.9",
3
+ "version": "11.2.11",
4
4
  "description": "A script to annotate, show spacing specs and to display typography information in documentation/website on HTML elements",
5
- "main": "dist/speccer.js",
6
- "module": "dist/speccer.esm.js",
7
- "types": "dist/speccer.d.ts",
8
- "funding": "https://github.com/phun-ky/speccer?sponsor=1",
9
- "type": "module",
10
- "publishConfig": {
11
- "access": "public"
12
- },
13
- "scripts": {
14
- "test": "npm run test:unit",
15
- "test:unit": "glob -c \"node --import tsx --import global-jsdom/register --test --no-warnings\" \"./src/**/__tests__/**/*.spec.[jt]s\"",
16
- "pretest:ci": "rm -rf coverage && mkdir -p coverage",
17
- "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__/**/*.spec.[jt]s\"",
18
- "pretest:e2e": "rm -rf test-results && npm run build",
19
- "test:e2e": "npx playwright test",
20
- "rollup": "rollup -c",
21
- "prerollup:dev": "npm run clean && npm run styles",
22
- "rollup:dev": "rollup -c -w",
23
- "clean": "rm -rf dist dts",
24
- "build": "npm run clean && npm run rollup && npm run styles",
25
- "styles": "npm run stylus && npm run postcss",
26
- "stylus": "rm -rf ./dist/speccer.css && stylus ./src/styles/index.styl -o ./dist/speccer.css",
27
- "postcss": "rm -rf ./dist/speccer.min.css && postcss ./dist/speccer.css -o ./dist/speccer.min.css",
28
- "dev": "npx browser-sync start --server 'dev' --files 'dist' --ss 'dist'",
29
- "docs:gen": "node ./node_modules/.bin/typedoc",
30
- "style:lint": "./node_modules/.bin/eslint -c ./eslint.config.mjs src",
31
- "style:format": "./node_modules/.bin/eslint -c ./eslint.config.mjs src --fix",
32
- "style:code": "npx putout src",
33
- "commit": "npx git-cz",
34
- "release": "release-it"
35
- },
36
- "files": [
37
- "/dist/speccer.esm.js",
38
- "/dist/speccer.esm.js.map",
39
- "/dist/speccer.js",
40
- "/dist/speccer.js.map",
41
- "/dist/speccer.min.css",
42
- "/dist/speccer.css",
43
- "/dist/speccer.d.ts"
44
- ],
45
- "repository": {
46
- "type": "git",
47
- "url": "git+https://github.com/phun-ky/speccer.git"
48
- },
49
5
  "keywords": [
50
- "html",
6
+ "a11y",
7
+ "accessibility",
8
+ "anatomy",
9
+ "annotate",
10
+ "annotation",
51
11
  "css",
52
12
  "design",
53
13
  "design system",
54
- "javascript",
55
- "spec",
56
- "inspect",
57
- "annotation",
58
- "annotate",
59
- "pin",
60
- "specifications",
61
- "anatomy",
62
- "dissection",
63
14
  "dissect",
15
+ "dissection",
64
16
  "documentation",
65
- "information",
66
- "specification",
67
- "specs",
17
+ "grid",
18
+ "grid-layout",
19
+ "html",
68
20
  "html-elements",
21
+ "information",
69
22
  "inspect",
23
+ "javascript",
24
+ "pin",
70
25
  "spacing",
26
+ "spec",
71
27
  "speccer",
72
- "a11y",
73
- "accessibility",
74
- "grid",
75
- "grid-layout"
28
+ "specification",
29
+ "specifications",
30
+ "specs",
31
+ "typescript",
32
+ "typography"
76
33
  ],
77
- "author": "Alexander Vassbotn Røyne-Helgesen <alexander@phun-ky.net>",
78
- "license": "MIT",
34
+ "homepage": "https://phun-ky.net/projects/speccer",
79
35
  "bugs": {
80
36
  "url": "https://github.com/phun-ky/speccer/issues"
81
37
  },
82
- "homepage": "https://phun-ky.net/projects/speccer",
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "git+https://github.com/phun-ky/speccer.git"
41
+ },
42
+ "funding": "https://github.com/phun-ky/speccer?sponsor=1",
43
+ "license": "MIT",
44
+ "author": "Alexander Vassbotn Røyne-Helgesen <alexander@phun-ky.net>",
45
+ "type": "module",
46
+ "main": "dist/speccer.js",
47
+ "module": "dist/speccer.esm.js",
48
+ "types": "dist/speccer.d.ts",
49
+ "files": [
50
+ "/dist/speccer.css",
51
+ "/dist/speccer.d.ts",
52
+ "/dist/speccer.esm.js",
53
+ "/dist/speccer.js",
54
+ "/dist/speccer.min.css"
55
+ ],
56
+ "scripts": {
57
+ "build": "npm run clean && npm run rollup && npm run styles",
58
+ "clean": "rm -rf dist dts",
59
+ "commit": "npx git-cz",
60
+ "dev": "npx browser-sync start --server 'dev' --files 'dist' --ss 'dist'",
61
+ "docs:gen": "node ./node_modules/.bin/typedoc",
62
+ "postcss": "rm -rf ./dist/speccer.min.css && postcss ./dist/speccer.css -o ./dist/speccer.min.css",
63
+ "release": "release-it",
64
+ "prerollup:dev": "npm run clean && npm run styles",
65
+ "rollup": "rollup -c",
66
+ "rollup:dev": "rollup -c -w",
67
+ "style:code": "npx putout src",
68
+ "style:format": "./node_modules/.bin/eslint -c ./eslint.config.mjs src --fix && ./node_modules/.bin/prettier --write ./eslint.config.mjs src",
69
+ "style:lint": "./node_modules/.bin/eslint -c ./eslint.config.mjs src && ./node_modules/.bin/prettier --check src",
70
+ "styles": "npm run stylus && npm run postcss",
71
+ "stylus": "rm -rf ./dist/speccer.css && stylus ./src/styles/index.styl -o ./dist/speccer.css",
72
+ "pretest:ci": "rm -rf coverage && mkdir -p coverage",
73
+ "pretest:e2e": "rm -rf test-results && npm run build",
74
+ "test": "npm run test:unit",
75
+ "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__/**/*.spec.[jt]s\"",
76
+ "test:e2e": "npx playwright test",
77
+ "test:unit": "glob -c \"node --import tsx --import global-jsdom/register --test --no-warnings\" \"./src/**/__tests__/**/*.spec.[jt]s\""
78
+ },
79
+ "config": {
80
+ "commitizen": {
81
+ "path": "./node_modules/git-cz"
82
+ }
83
+ },
83
84
  "devDependencies": {
84
85
  "@eslint/js": "^9.20.0",
86
+ "@eslint/markdown": "^6.2.2",
85
87
  "@playwright/test": "^1.50.1",
86
88
  "@release-it/conventional-changelog": "^10.0.0",
87
89
  "@rollup/plugin-node-resolve": "^16.0.0",
88
90
  "@rollup/plugin-terser": "^0.4.4",
89
91
  "@stylistic/eslint-plugin": "^3.1.0",
90
- "@testing-library/dom": "^9.3.4",
92
+ "@testing-library/dom": "^10.4.0",
91
93
  "@testing-library/jest-dom": "^6.4.2",
92
94
  "@types/node": "^22.13.1",
93
95
  "cobertura": "^1.0.1",
94
- "cssnano": "^6.0.3",
96
+ "cssnano": "^7.0.6",
95
97
  "eslint": "^9.20.0",
96
98
  "eslint-config-prettier": "^10.0.1",
97
99
  "eslint-import-resolver-typescript": "^3.7.0",
@@ -99,12 +101,12 @@
99
101
  "eslint-plugin-import": "^2.31.0",
100
102
  "eslint-plugin-prettier": "^5.2.3",
101
103
  "git-cz": "^4.9.0",
102
- "glob": "^10.3.10",
104
+ "glob": "^11.0.1",
103
105
  "global-jsdom": "^26.0.0",
104
106
  "globals": "^15.14.0",
105
107
  "jsdom": "^26.0.0",
106
- "postcss": "^8.3.0",
107
- "postcss-cli": "^8.3.1",
108
+ "postcss": "^8.5.2",
109
+ "postcss-cli": "^11.0.0",
108
110
  "prettier": "3.5.1",
109
111
  "putout": "^38.2.0",
110
112
  "quibble": "^0.9.1",
@@ -117,7 +119,7 @@
117
119
  "stylus": "^0.64.0",
118
120
  "ts-node": "^10.9.1",
119
121
  "tslib": "^2.3.1",
120
- "tsx": "^4.7.1",
122
+ "tsx": "^4.19.2",
121
123
  "typedoc": "^0.27.6",
122
124
  "typedoc-plugin-frontmatter": "^1.0.0",
123
125
  "typedoc-plugin-markdown": "^4.2.3",
@@ -129,13 +131,11 @@
129
131
  "typescript-eslint": "^8.23.0",
130
132
  "unified-prettier": "^2.0.1"
131
133
  },
132
- "config": {
133
- "commitizen": {
134
- "path": "./node_modules/git-cz"
135
- }
136
- },
137
134
  "engines": {
138
135
  "node": ">=22.9.0",
139
136
  "npm": ">=11.0.0"
137
+ },
138
+ "publishConfig": {
139
+ "access": "public"
140
140
  }
141
141
  }