Skip to content

Commit

Permalink
Merge pull request #31 from dolthub/taylor/scripts
Browse files Browse the repository at this point in the history
Organize package.json scripts
  • Loading branch information
tbantle22 authored Jan 23, 2024
2 parents f324e59 + db0004c commit a0f1d66
Show file tree
Hide file tree
Showing 2 changed files with 259 additions and 9 deletions.
22 changes: 17 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
{
"name": "react-library",
"packageManager": "[email protected]",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"ci": "yarn prettier && yarn lint && yarn dbuild && yarn test",
"clean": "rimraf node_modules -g 'packages/*/.eslintcache' 'packages/*/*.tsbuildinfo' 'packages/*/dist' 'packages/*/.rollup.cache' 'packages/*/types' 'packages/*/coverage'",
"dbuild": "yarn workspace @dolthub/web-utils dbuild && yarn workspace @dolthub/react-hooks dbuild && yarn workspace @dolthub/proto-resource-utils dbuild",
"lint": "yarn workspace @dolthub/react-hooks lint && yarn workspace @dolthub/web-utils lint && yarn workspace @dolthub/proto-resource-utils lint",
"prettier": "yarn workspace @dolthub/react-hooks prettier && yarn workspace @dolthub/web-utils prettier && yarn workspace @dolthub/proto-resource-utils prettier",
"test": "yarn workspace @dolthub/react-hooks test && yarn workspace @dolthub/web-utils test && yarn workspace @dolthub/proto-resource-utils test"
"dbuild": "npm-run-all 'dbuild:*'",
"dbuild:utils": "yarn workspace @dolthub/web-utils dbuild",
"dbuild:hooks": "yarn workspace @dolthub/react-hooks dbuild",
"dbuild:resource": "yarn workspace @dolthub/proto-resource-utils dbuild",
"lint": "npm-run-all --parallel 'lint:*'",
"lint:hooks": "yarn workspace @dolthub/react-hooks lint",
"lint:utils": "yarn workspace @dolthub/web-utils lint",
"lint:resource": "yarn workspace @dolthub/proto-resource-utils lint",
"prettier": "npm-run-all --parallel 'prettier:*'",
"prettier:hooks": "yarn workspace @dolthub/react-hooks prettier",
"prettier:utils": "yarn workspace @dolthub/web-utils prettier",
"prettier:resource": "yarn workspace @dolthub/proto-resource-utils prettier",
"test": "npm-run-all --parallel 'test:*'",
"test:hooks": "yarn workspace @dolthub/react-hooks test",
"test:utils": "yarn workspace @dolthub/web-utils test",
"test:resource": "yarn workspace @dolthub/proto-resource-utils test"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.18.1",
Expand All @@ -24,6 +35,7 @@
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"typescript": "^5.3.3"
Expand Down
Loading

0 comments on commit a0f1d66

Please sign in to comment.