-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from dolthub/taylor/scripts
Organize package.json scripts
- Loading branch information
Showing
2 changed files
with
259 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
|
@@ -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" | ||
|
Oops, something went wrong.