glassine-paper 1.2.4 → 1.2.5

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 +6 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glassine-paper",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "CSS and some React components for Material Design 3",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -40,19 +40,15 @@
40
40
  "react-dom": "^18.0.0 || ^19.0.0"
41
41
  },
42
42
  "scripts": {
43
- "build:sample": "sass scss/index.scss docs/sample/glassine-paper.css",
44
- "build:compressed": "sass scss/index.scss lib/glassine-paper.min.css --style compressed",
45
43
  "build:components": "tsc -p tsconfig.components.json",
46
44
  "build:ui": "tsc -b && vite build && sed -e 's/\\/assets\\//.\\/assets\\//g' -i docs/theme/index.html",
47
- "build": "npm-run-all --parallel build:sample build:compressed build:components build:ui",
48
- "watch:sample": "sass --watch scss/index.scss:docs/sample/glassine-paper.css",
49
- "watch:compressed": "sass --watch scss/index.scss:lib/glassine-paper.min.css --style compressed",
50
- "watch": "npm-run-all --parallel watch:sample watch:compressed",
45
+ "build:css": "csso docs/sample/glassine-paper.css -o glassine-paper.min.css -s glassine-paper.min.css.map",
46
+ "build": "npm-run-all --parallel build:components build:ui build:css",
51
47
  "lint": "eslint .",
52
48
  "preview": "vite preview",
53
49
  "dev:static": "npx http-server docs -a localhost -p 8000",
54
- "dev": "vite --host localhost --port 4000",
55
- "start": "npm run watch:sample & npm run watch:compressed & npm run dev:static & npx vite"
50
+ "dev": "vite",
51
+ "start": "npm-run-all --parallel dev:static dev"
56
52
  },
57
53
  "author": "Michinobu Maeda",
58
54
  "license": "MIT",
@@ -71,6 +67,7 @@
71
67
  "@vite-pwa/assets-generator": "^1.0.2",
72
68
  "@vitejs/plugin-react": "^5.0.4",
73
69
  "color-convert": "^3.1.2",
70
+ "csso-cli": "^4.0.2",
74
71
  "eslint": "^9.37.0",
75
72
  "eslint-plugin-react-hooks": "^5.2.0",
76
73
  "eslint-plugin-react-refresh": "^0.4.23",
@@ -79,7 +76,6 @@
79
76
  "jsdoc-to-markdown": "^9.1.3",
80
77
  "npm-run-all": "^4.1.5",
81
78
  "prettier": "^3.0.0",
82
- "sass": "^1.69.0",
83
79
  "typescript": "~5.9.3",
84
80
  "typescript-eslint": "^8.45.0",
85
81
  "vite": "^7.1.9",