@shortfuse/materialdesignweb 0.7.1-7 → 0.7.1-9

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.
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env node
2
+
1
3
  import { generateThemeCSS, generateTypographyGlobalCSS, themeOptionsFromSearchParams } from '../theming/index.js';
2
4
  import { getSearchParams } from '../utils/cli.js';
3
5
 
package/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "@shortfuse/materialdesignweb",
3
- "version": "0.7.1-7",
3
+ "version": "0.7.1-9",
4
4
  "description": "Material Design for Web",
5
5
  "type": "module",
6
+ "bin": {
7
+ "mdw-css": "./bin/mdw-css.js"
8
+ },
6
9
  "scripts": {
7
- "prepare": "node build/esbuild.js index.js --outdir=dist --minify --metafile --production",
8
- "predocs": "node bin/generate-css.js --custom=yellow,orange:orange,green:0f0,alias:aqua | npx esbuild --minify --loader=css > docs/theme.css",
9
- "predocs-alt": "node bin/generate-css.js --color=a46750 --custom=yellow,orange:orange,green:0f0,alias:aqua | npx esbuild --minify --loader=css > docs/alt-theme.css",
10
+ "prepublishOnly": "node build/esbuild.js index.js --outdir=dist --minify --metafile --production",
11
+ "predocs": "node bin/mdw-css.js --custom=yellow,orange:orange,green:0f0,alias:aqua | npx esbuild --minify --loader=css > docs/theme.css",
12
+ "predocs-alt": "node bin/mdw-css.js --color=a46750 --custom=yellow,orange:orange,green:0f0,alias:aqua | npx esbuild --minify --loader=css > docs/alt-theme.css",
10
13
  "docs": "node build/esbuild.js docs/demo.js --outdir=docs --minify --metafile",
11
14
  "watch": "node build/esbuild.js docs/demo.js --outdir=docs --watch --metafile",
12
15
  "serve": "node build/esbuild.js docs/demo.js --outdir=docs --watch --metafile --serve --live",