Skip to content

Commit

Permalink
added build:watch command to scripts for components package
Browse files Browse the repository at this point in the history
  • Loading branch information
didoo committed Dec 17, 2024
1 parent 69f9316 commit c02e3f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
"license": "MPL-2.0",
"author": "HashiCorp Design Systems <[email protected]>",
"scripts": {
"build": "concurrently 'npm:build:*'",
"build": "concurrently 'npm:build:js' 'npm:build:types'",
"build:js": "rollup --config",
"build:types": "glint --declaration",
"build:watch": "nodemon --watch '../tokens/dist/*' --ext 'css' --exec 'yarn build'",
"prepublishOnly": "yarn build && test -f 'dist/styles/@hashicorp/design-system-components.css' || (echo 'The pre-compiled CSS file was not found' && exit 1)",
"start": "concurrently 'yarn:start:*'",
"start:js": "rollup --config --watch --environment development",
Expand Down Expand Up @@ -97,6 +98,7 @@
"eslint-plugin-n": "^17.7.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-qunit": "^8.1.1",
"nodemon": "^3.1.7",
"postcss": "^8.4.47",
"prettier": "^3.3.2",
"rollup": "^4.22.4",
Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4498,6 +4498,7 @@ __metadata:
eslint-plugin-n: "npm:^17.7.0"
eslint-plugin-prettier: "npm:^5.1.3"
eslint-plugin-qunit: "npm:^8.1.1"
nodemon: "npm:^3.1.7"
postcss: "npm:^8.4.47"
prettier: "npm:^3.3.2"
prismjs: "npm:^1.29.0"
Expand Down

0 comments on commit c02e3f3

Please sign in to comment.