Skip to content

Commit

Permalink
Also build doc after building lib
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Apr 26, 2024
1 parent bbe67e4 commit 0acd6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"live-reload": "node ./node_modules/live-server/live-server.js docs",
"sass-watch-lib": "sass --watch src/_main.scss docs/natural-layout.css",
"sass-watch-docs": "sass --watch docs/docs.scss docs/docs.css",
"build": "rm -rf dist && sass src/_main.scss dist/natural-layout.css && cp -r src/ dist/scss && cp package.json dist && cd dist && yarn set-version",
"build": "rm -rf dist && sass src/_main.scss dist/natural-layout.css && cp -r src/ dist/scss && cp package.json dist && cd dist && yarn set-version && cd ../ && sass docs/docs.scss docs/docs.css",
"set-version": "yarn version --no-git-tag-version --new-version `git describe --tags --always`",
"release": "yarn build && cd dist && yarn publish --access public"
},
Expand Down

0 comments on commit 0acd6f7

Please sign in to comment.