Skip to content

Commit

Permalink
conf: remove NPM scripts cuz they do not work
Browse files Browse the repository at this point in the history
The commands via `nx` for core-components DO work!
  • Loading branch information
wesleyboar committed May 21, 2024
1 parent bb6adc6 commit c19a250
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
8 changes: 4 additions & 4 deletions libs/core-components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ Set up a new local CMS instance.

The components are [React components](https://react.dev/learn) that should be [written in TypeScript](https://react.dev/learn/typescript#typescript-with-react-components).

| command | task | service |
| --------------- | ------------------ | ----------------------------- |
| `npm test` | execute unit tests | [Vitest](https://vitest.dev/) |
| `npm run build` | build components | [Vite](https://vitejs.dev/) |
| command | task | service |
| ------------------------------ | ------------------ | ----------------------------- |
| `npx nx test core-components` | execute unit tests | [Vitest](https://vitest.dev/) |
| `npx nx build core-components` | build components | [Vite](https://vitejs.dev/) |

## Contributing

Expand Down
7 changes: 0 additions & 7 deletions libs/core-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@
"files": [
"dist"
],
"scripts": {
"start": "nx serve",
"build": "nx build",
"build:storbook": "nx build-storybook",
"test": "nx test",
"prepublishOnly": "npm run build"
},
"homepage": "https://github.com/TACC/tup-ui/libs/core-components",
"dependencies": {
"formik": "^2.2.9",
Expand Down

0 comments on commit c19a250

Please sign in to comment.