Skip to content

Commit

Permalink
chore: standardize npm script names (#17431)
Browse files Browse the repository at this point in the history
* chore: standardize npm script names

* chore: use `build:minify-images` instead of `minify:images`
  • Loading branch information
snitin315 committed Aug 7, 2023
1 parent a766a48 commit b066640
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/package.json
Expand Up @@ -9,18 +9,18 @@
"license": "MIT",
"files": [],
"scripts": {
"images": "imagemin '_site/assets/images' --out-dir='_site/assets/images'",
"watch:postcss": "postcss src/assets/css -d src/assets/css --watch --poll",
"watch:sass": "sass --watch --poll src/assets/scss:src/assets/css --no-source-map",
"watch:eleventy": "eleventy --serve --port=2023",
"build": "npm-run-all build:sass build:postcss build:website build:minify-images",
"build:postcss": "postcss src/assets/css -d src/assets/css",
"build:postcss:watch": "postcss src/assets/css -d src/assets/css --watch --poll",
"build:sass": "sass src/assets/scss:src/assets/css --no-source-map",
"build:eleventy": "npx @11ty/eleventy",
"start": "npm-run-all build:sass build:postcss --parallel watch:*",
"build": "npm-run-all build:sass build:postcss build:eleventy images",
"lint:scss": "stylelint \"**/*.{scss,html}\"",
"build:sass:watch": "sass --watch --poll src/assets/scss:src/assets/css --no-source-map",
"build:website": "npx @11ty/eleventy",
"build:website:watch": "eleventy --serve --port=2023",
"lint:links": "cross-env NODE_OPTIONS=--max-old-space-size=4096 node tools/validate-links.js",
"lint:fix:scss": "npm run lint:scss -- --fix"
"lint:scss": "stylelint \"**/*.{scss,html}\"",
"lint:fix:scss": "npm run lint:scss -- --fix",
"build:minify-images": "imagemin '_site/assets/images' --out-dir='_site/assets/images'",
"start": "npm-run-all build:sass build:postcss --parallel *:*:watch"
},
"devDependencies": {
"@11ty/eleventy": "^1.0.1",
Expand Down

0 comments on commit b066640

Please sign in to comment.