@wtasnorg/candi 0.0.22 → 0.0.31

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": "@wtasnorg/candi",
3
- "version": "0.0.22",
3
+ "version": "0.0.31",
4
4
  "description": "A Tailwind CSS theme inspired by Nordic/Scandinavian Hygge & Lagom design principles",
5
5
  "keywords": [
6
6
  "tailwindcss",
@@ -54,18 +54,22 @@
54
54
  "README.md"
55
55
  ],
56
56
  "scripts": {
57
- "build": "node scripts/build.js",
58
- "build:flutter": "node scripts/build-flutter.js",
57
+ "build": "npm run lint:tokens && node scripts/build.js",
58
+ "build:flutter": "node scripts/build-flutter.js && npm run format:flutter",
59
59
  "build:vscode": "node scripts/build-vscode.js",
60
60
  "build:vim": "node scripts/build-vim.js",
61
61
  "build:kde": "node scripts/build-kde.js",
62
62
  "build:konsole": "node scripts/build-konsole.js",
63
63
  "build:gnome": "node scripts/build-gnome.js",
64
64
  "build:obsidian": "node scripts/build-obsidian.js",
65
- "build:all": "npm run build && npm run build:flutter && npm run build:vscode && npm run build:vim && npm run build:kde && npm run build:konsole && npm run build:gnome && npm run build:obsidian",
65
+ "build:showcase": "cd showcase_flutter && flutter build web",
66
+ "build:docs": "node scripts/build-docs.js",
67
+ "build:all": "npm run build && npm run build:flutter && npm run build:vscode && npm run build:vim && npm run build:kde && npm run build:konsole && npm run build:gnome && npm run build:obsidian && npm run build:docs && npm run build:showcase",
68
+ "format:flutter": "cd flutter && dart format lib",
66
69
  "prepublishOnly": "npm run build:all",
67
70
  "test:color": "node scripts/test-color.js",
68
71
  "test:colors": "node scripts/test-color-conversions.js",
72
+ "test:src": "node scripts/test-src.js",
69
73
  "test:flutter": "cd flutter && flutter test",
70
74
  "test:vscode": "node scripts/test-vscode.js",
71
75
  "test:vim": "node scripts/test-vim.js",
@@ -73,7 +77,8 @@
73
77
  "test:konsole": "node scripts/test-konsole.js",
74
78
  "test:gnome": "node scripts/test-gnome.js",
75
79
  "test:obsidian": "node scripts/test-obsidian.js",
76
- "test:all": "npm run test:color && npm run test:colors && npm run test:flutter && npm run test:vscode && npm run test:vim && npm run test:kde && npm run test:konsole && npm run test:gnome && npm run test:obsidian",
80
+ "test:showcase": "cd showcase_flutter && flutter test",
81
+ "test:all": "npm run test:src && npm run test:color && npm run test:colors && npm run test:flutter && npm run test:vscode && npm run test:vim && npm run test:kde && npm run test:konsole && npm run test:gnome && npm run test:obsidian && npm run test:showcase",
77
82
  "test": "npm run test:all",
78
83
  "vscode:package": "cd vscode && npx -y @vscode/vsce package",
79
84
  "flutter:pub": "cd flutter && flutter pub get",
@@ -83,11 +88,10 @@
83
88
  "flutter:pub-publish-dry-run": "cd flutter && flutter pub publish --dry-run",
84
89
  "artifact": "node scripts/package-artifacts.js",
85
90
  "lint:dart": "node scripts/lint-dart.js",
86
- "lint:md": "markdownlint-cli2 \"**/*.md\" \"!node_modules\" \"!website/node_modules\"",
91
+ "lint:tokens": "node scripts/lint-tokens.js",
92
+ "lint:md": "markdownlint-cli2 \"**/*.md\" \"!node_modules\" \"!website/node_modules\" \"!**/.dart_tool\"",
87
93
  "lint:md:fix": "markdownlint-cli2 --fix \"**/*.md\" \"!node_modules\" \"!website/node_modules\"",
88
- "lint:all": "npm run lint:dart && npm run lint:md",
89
- "publish:github": "npm publish --registry=https://npm.pkg.github.com",
90
- "publish:npm": "npm publish --registry=https://registry.npmjs.org"
94
+ "lint:all": "npm run lint:tokens && npm run lint:dart && npm run lint:md"
91
95
  },
92
96
  "peerDependencies": {
93
97
  "tailwindcss": ">=3.0.0 || >=4.0.0"
@@ -98,5 +102,8 @@
98
102
  "devDependencies": {
99
103
  "markdownlint-cli2": "^0.20.0",
100
104
  "tailwindcss": "^3.4.19"
105
+ },
106
+ "dependencies": {
107
+ "culori": "^4.0.2"
101
108
  }
102
109
  }