Skip to content

Commit

Permalink
chore: standardize npm script names (#461)
Browse files Browse the repository at this point in the history
Co-authored-by: Percy Ma <[email protected]>
  • Loading branch information
snitin315 and kecrily authored Aug 14, 2023
1 parent 9cbb666 commit 36091ea
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
- name: Run build
run: npm run build
- name: Validate Internal Links
run: npm run validate:links
run: npm run lint:links
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,30 @@
},
"license": "Apache-2.0",
"scripts": {
"images": "imagemin '_site/assets/images' --out-dir='_site/assets/images'",
"install:playground": "cd src/playground && npm install --no-package-lock",
"watch:sass": "sass --watch src/assets/scss:src/assets/css",
"watch:eleventy": "cross-env IS_DEV=true eleventy --serve --port=2022",
"watch:webpack": "webpack watch --mode=development",
"build": "npm-run-all install:playground build:sass build:website build:playground build:minify-images",
"build:minify-images": "imagemin '_site/assets/images' --out-dir='_site/assets/images'",
"build:minify-svg": "svgo -r -f ./",
"build:playground": "webpack --mode=production --progress",
"build:playground:watch": "webpack watch --mode=development",
"build:sass": "sass --no-source-map --style=compressed src/assets/scss:src/assets/css",
"build:eleventy": "npx @11ty/eleventy",
"build:webpack": "webpack --mode=production --progress",
"fetch:team": "node tools/fetch-team-data.js",
"build:sass:watch": "sass --watch src/assets/scss:src/assets/css",
"build:website": "npx @11ty/eleventy",
"build:website:watch": "cross-env IS_DEV=true eleventy --serve --port=2022",
"fetch": "npm-run-all --parallel fetch:*",
"fetch:stats": "node tools/fetch-stats.js",
"fetch:sponsors": "node tools/fetch-sponsors.js",
"fetch": "npm-run-all --parallel fetch:*",
"start": "npm-run-all build:sass --parallel watch:*",
"build": "npm-run-all install:playground build:sass build:eleventy build:webpack images",
"minify:svg": "svgo -r -f ./",
"validate:links": "cross-env NODE_OPTIONS=--max-old-space-size=4096 node tools/validate-links.js",
"fetch:team": "node tools/fetch-team-data.js",
"install:playground": "cd src/playground && npm install --no-package-lock",
"lint": "npm-run-all --parallel lint:js lint:md lint:scss",
"lint:fix": "npm-run-all --parallel lint:fix:*",
"lint:js": "eslint --ext=.js,.jsx .",
"lint:fix:js": "eslint --ext=.js,.jsx . --fix",
"lint:links": "cross-env NODE_OPTIONS=--max-old-space-size=4096 node tools/validate-links.js",
"lint:md": "markdownlint \"**/*.md\" ",
"lint:fix:md": "markdownlint --fix \"**/*.md\"",
"lint:scss": "stylelint \"**/*.scss\"",
"lint": "npm-run-all --parallel lint:*",
"lint:fix:js": "eslint --ext=.js,.jsx . --fix",
"lint:fix:scss": "stylelint \"**/*.scss\" --fix",
"lint:fix:md": "markdownlint --fix \"**/*.md\"",
"fix": "npm-run-all --parallel lint:fix:*"
"start": "npm-run-all build:sass --parallel *:*:watch"
},
"lint-staged": {
"**/*.{js,jsx}": "eslint --fix",
Expand Down

0 comments on commit 36091ea

Please sign in to comment.