Skip to content

Commit

Permalink
test: add code formatting and linting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAlbin committed Nov 1, 2023
1 parent 8b23fae commit 9ff3a3e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,22 @@
"www"
],
"scripts": {
"test": "jest",
"dev": "turbo run dev --parallel",
"dev:starter": "lerna run --parallel --scope drupal --scope basic-starter dev",
"prepare": "lerna run prepare && husky install",
"watch": "lerna run watch",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx .",
"format": "prettier -w .",
"format:check": "prettier -c .",
"phpcs": "./drupal/vendor/bin/phpcs -p -s --colors --standard=modules/next/phpcs.xml modules/next",
"test:next": "./drupal/vendor/bin/phpunit -c ./drupal/web modules/next",
"sync:modules": "./scripts/sync-modules.sh \"modules/*\"",
"sync:examples": "./scripts/sync-examples.sh \"examples/example-*\"",
"sync:starters": "./scripts/sync-starters.sh \"starters/*\"",
"seed": "NUM_NODES=200 node ./scripts/seed",
"cy:open": "turbo run cy:open --parallel",
"test": "jest",
"pretest": "yarn format:check && yarn lint && yarn phpcs",
"test:e2e": "turbo run test:e2e --parallel",
"test:e2e:ci": "turbo run test:e2e:ci --parallel"
},
Expand Down

0 comments on commit 9ff3a3e

Please sign in to comment.