Skip to content

Commit

Permalink
start script for coreui
Browse files Browse the repository at this point in the history
  • Loading branch information
adiun committed Jun 28, 2021
1 parent 81d0042 commit 315f4c2
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 2 deletions.
59 changes: 59 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "coreui start",
"type": "shell",
"command": "npm start",
"isBackground": true,
"options": {
"cwd": "${workspaceFolder}/coreui"
},
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"group": "frontend",
"panel": "shared",
"showReuseMessage": true,
"clear": false
},
"problemMatcher": [
{
"pattern": [
{
"regexp": ".",
"file": 1,
"location": 2,
"message": 3
}
],
"background": {
"activeOnStart": true,
"beginsPattern": ".",
"endsPattern": "watching for file changes..."
}
}
]
},
{
"label": "app start",
"type": "shell",
"command": "npm start",
"dependsOn": ["coreui start"],
"options": {
"cwd": "${workspaceFolder}/app"
},
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"group": "frontend",
"panel": "new",
"showReuseMessage": true,
"clear": false
},
"problemMatcher": []
}
]
}
1 change: 1 addition & 0 deletions coreui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"lint:eslint": "eslint ./src --ext js,ts,tsx --max-warnings 0",
"lint:stylelint": "stylelint '**/*.ts[x]'",
"lint": "npm-run-all --parallel lint:eslint lint:stylelint",
"start": "npm run build:vite -- --watch",
"test": "echo \"Error: no test specified\" && exit 1",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
Expand Down
2 changes: 1 addition & 1 deletion coreui/src/components/TestCoreComponent.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const TestCoreComponent = (): JSX.Element => {
return <div>Core UI component</div>;
return <div>CoreUI components</div>;
};
3 changes: 2 additions & 1 deletion scaffold/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
},
"scripts": {
"build": "echo 'No build for scaffold project'",
"lint": "echo 'No lint for scaffold project'"
"lint": "echo 'No lint for scaffold project'",
"start": "echo 'No start for scaffold project'"
}
}

0 comments on commit 315f4c2

Please sign in to comment.