mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
Refactor Dockerfile and package.json (#2089)
This commit is contained in:
5
.changeset/seven-islands-act.md
Normal file
5
.changeset/seven-islands-act.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Refactor Dockerfile and package.json
|
||||||
@@ -17,4 +17,4 @@ EXPOSE 3000
|
|||||||
# website management (browser auto reload)
|
# website management (browser auto reload)
|
||||||
EXPOSE 3001
|
EXPOSE 3001
|
||||||
# run tabler
|
# run tabler
|
||||||
ENTRYPOINT [ "pnpm", "run", "start-plugins" ]
|
ENTRYPOINT [ "pnpm", "run", "start" ]
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ gulp.task('clean-dirs', () => {
|
|||||||
*/
|
*/
|
||||||
gulp.task('sass', () => {
|
gulp.task('sass', () => {
|
||||||
return gulp
|
return gulp
|
||||||
.src(argv.withPlugins || BUILD ? `${srcDir}/scss/!(_)*.scss` : `${srcDir}/scss/+(tabler|demo).scss`)
|
.src(`${srcDir}/scss/!(_)*.scss`)
|
||||||
.pipe(debug())
|
.pipe(debug())
|
||||||
.pipe(sass({
|
.pipe(sass({
|
||||||
includePaths: ['node_modules'],
|
includePaths: ['node_modules'],
|
||||||
|
|||||||
@@ -4,9 +4,8 @@
|
|||||||
"description": "Premium and Open Source dashboard template with responsive and high quality UI.",
|
"description": "Premium and Open Source dashboard template with responsive and high quality UI.",
|
||||||
"homepage": "https://tabler.io",
|
"homepage": "https://tabler.io",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "pnpm run start-plugins",
|
"dev": "pnpm run start",
|
||||||
"start": "gulp start",
|
"start": "gulp start",
|
||||||
"start-plugins": "gulp start --with-plugins",
|
|
||||||
"build": "gulp build",
|
"build": "gulp build",
|
||||||
"build-docs": "mkdir public && touch public/index.html && echo 'ok'",
|
"build-docs": "mkdir public && touch public/index.html && echo 'ok'",
|
||||||
"preview": "gulp build --preview",
|
"preview": "gulp build --preview",
|
||||||
|
|||||||
Reference in New Issue
Block a user