Skip to content

Commit

Permalink
chore: improve postinstall and build
Browse files Browse the repository at this point in the history
  • Loading branch information
felipefialho committed Jul 31, 2023
1 parent 241d8bc commit 17213e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@
"utils/*"
],
"scripts": {
"build": "npx nx run-many --target=build --maxParallel=10 --exclude=@atomium/docs-react,@atomium/docs",
"core:build": "npx nx build @juntossomosmais/atomium && npm run react:build",
"docs:build": "npx nx build @atomium/docs && npx nx build @atomium/docs-react",
"docs-react:start": "npx nx run @atomium/docs-react:start",
"lint:pre-commit": "eslint --resolve-plugins-relative-to . -c ./.eslintrc.json $(git diff --cached --name-only --diff-filter=AM | grep -E \"(.js$|.ts$)\") --cache --cache-location node_modules/.cache/eslint",
"lint:styles": "stylelint '**/*.scss'",
"icons:build": "npx nx build @juntossomosmais/atomium-icons",
"postinstall": "npx nx build @juntossomosmais/atomium:prebuild && npm run icons:build && npm run core:build && npm run tokens:build",
"postinstall": "npx nx build @juntossomosmais/atomium:prebuild",
"pre-commit": "lint-staged",
"prepare": "husky install",
"react:build": "cd packages/react && npm run build",
Expand Down

0 comments on commit 17213e9

Please sign in to comment.