@cirthcss/cirth 0.4.0 → 0.6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirthcss/cirth",
3
- "version": "0.4.0",
3
+ "version": "0.6.0",
4
4
  "description": "Semantic-first CSS framework for production-ready interfaces",
5
5
  "author": "Riccardo Pastori",
6
6
  "main": "dist/cirth.min.css",
@@ -20,6 +20,9 @@
20
20
  "dist"
21
21
  ],
22
22
  "license": "MIT",
23
+ "engines": {
24
+ "node": ">=24.18.0"
25
+ },
23
26
  "repository": {
24
27
  "type": "git",
25
28
  "url": "git+https://github.com/cirthcss/cirth.git"
@@ -48,25 +51,37 @@
48
51
  },
49
52
  "scripts": {
50
53
  "build": "node scripts/build.js",
54
+ "check:a11y": "node scripts/check-a11y.js",
55
+ "check:dist": "node scripts/check-dist.js",
51
56
  "check:variables": "node scripts/check-css-variables.js",
57
+ "check:doc-links": "node scripts/check-doc-links.js",
58
+ "check:size": "node scripts/check-css-size.js",
59
+ "check:visual": "playwright test",
60
+ "check:visual:update": "playwright test --update-snapshots",
52
61
  "dev": "node scripts/watch.js",
53
62
  "format": "prettier --write --log-level silent 'src/**/*.scss'",
54
- "lint": "stylelint 'src/**/*.scss' && node scripts/check-css-variables.js",
55
- "lint:fix": "stylelint 'src/**/*.scss' --fix && node scripts/check-css-variables.js",
63
+ "lint": "stylelint 'src/**/*.scss' && node scripts/check-css-variables.js && node scripts/check-doc-links.js",
64
+ "lint:fix": "stylelint 'src/**/*.scss' --fix && node scripts/check-css-variables.js && node scripts/check-doc-links.js",
56
65
  "docs:assets": "node scripts/build-docs.js",
57
- "docs:dev": "npm run docs:assets && vitepress dev docs",
58
- "docs:build": "npm run docs:assets && vitepress build docs",
59
- "docs:preview": "vitepress preview docs"
66
+ "docs:dev": "npm run docs:assets && astro dev --root docs",
67
+ "docs:build": "npm run docs:assets && astro build --root docs",
68
+ "docs:preview": "astro preview --root docs"
60
69
  },
61
70
  "devDependencies": {
62
- "@phosphor-icons/vue": "^2.2.1",
71
+ "@astrojs/mdx": "^7.0.5",
72
+ "@axe-core/playwright": "^4.12.1",
73
+ "@playwright/test": "^1.61.1",
74
+ "astro": "^7.1.6",
63
75
  "highlight.js": "^11.11.1",
64
76
  "lightningcss-cli": "^1.32.0",
77
+ "playwright": "^1.61.1",
78
+ "postcss": "^8.5.20",
79
+ "postcss-selector-parser": "^7.1.4",
65
80
  "prettier": "^3.5.3",
81
+ "rehype-highlight": "^7.0.2",
66
82
  "sass-embedded": "^1.100.0",
67
83
  "stylelint": "^17.13.0",
68
- "stylelint-config-standard-scss": "^17.0.0",
69
- "vitepress": "^1.6.4"
84
+ "stylelint-config-standard-scss": "^17.0.0"
70
85
  },
71
86
  "browserslist": [
72
87
  "Chrome >= 111",