Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Yarn in package.json scripts #543

Merged
merged 1 commit into from
Jun 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
"tag": "next"
},
"scripts": {
"deploy-site": "npm run catalog-build && storybook-to-ghpages --ci --existing-output-dir=catalog/build",
"deploy-site": "yarn run catalog-build && storybook-to-ghpages --ci --existing-output-dir=catalog/build",
"eslint": "eslint ./components ./catalog --ext .js --ext .jsx",
"test": "npm run test:ci && npm run eslint && npm run stylelint",
"precommit": "prettier --write \"./components/**/*.{js,jsx}\" && npm run stylelint",
"test": "yarn run test:ci && yarn run eslint && yarn run stylelint",
"precommit": "prettier --write \"./components/**/*.{js,jsx}\" && yarn run stylelint",
"build": "rimraf dist && webpack --mode=none",
"prepublishOnly": "npm test",
"prepublishOnly": "yarn test",
"stylelint": "stylelint ./components/**/*.jsx",
"test:jest": "jest --maxWorkers=50%",
"test:watch": "jest --watch --maxWorkers=25%",
"test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --watch",
"test:ci": "jest --ci --runInBand --coverage --verbose",
"catalog-start": "catalog start",
"catalog-build": "catalog build --public-url /styled-ui",
"catalog-build-netlify": "npm run prepublishOnly && catalog build",
"catalog-build-netlify": "yarn run prepublishOnly && catalog build",
"cm": "node ./tools/update-to-v6-codemod/index.js"
},
"files": [
Expand Down