mirror of
https://github.com/romancm/gamebrary
synced 2024-11-10 05:34:15 +00:00
Codesandbox config files (#271)
This commit is contained in:
parent
014f1756a1
commit
eea8de236b
3 changed files with 67 additions and 1 deletions
41
.codesandbox/tasks.json
Normal file
41
.codesandbox/tasks.json
Normal file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
// These tasks will run in order when initializing your CodeSandbox project.
|
||||
"setupTasks": [
|
||||
{
|
||||
"name": "Install Dependencies",
|
||||
"command": "yarn install"
|
||||
}
|
||||
],
|
||||
|
||||
// These tasks can be run from CodeSandbox. Running one will open a log in the app.
|
||||
"tasks": {
|
||||
"dev": {
|
||||
"name": "dev",
|
||||
"command": "yarn dev",
|
||||
"runAtStart": true,
|
||||
"preview": {
|
||||
"port": 4000
|
||||
}
|
||||
},
|
||||
"build": {
|
||||
"name": "build",
|
||||
"command": "yarn build"
|
||||
},
|
||||
"test:unit": {
|
||||
"name": "test:unit",
|
||||
"command": "yarn test:unit"
|
||||
},
|
||||
"test:e2e": {
|
||||
"name": "test:e2e",
|
||||
"command": "yarn test:e2e"
|
||||
},
|
||||
"lint": {
|
||||
"name": "lint",
|
||||
"command": "yarn lint"
|
||||
},
|
||||
"deploy": {
|
||||
"name": "deploy",
|
||||
"command": "yarn deploy"
|
||||
}
|
||||
}
|
||||
}
|
22
.devcontainer/devcontainer.json
Normal file
22
.devcontainer/devcontainer.json
Normal file
|
@ -0,0 +1,22 @@
|
|||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
|
||||
{
|
||||
"name": "Node.js",
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-20-bullseye"
|
||||
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
// "features": {},
|
||||
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
|
||||
// Use 'postCreateCommand' to run commands after the container is created.
|
||||
// "postCreateCommand": "yarn install",
|
||||
|
||||
// Configure tool-specific properties.
|
||||
// "customizations": {},
|
||||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
}
|
|
@ -1,5 +1,8 @@
|
|||
const { defineConfig } = require('@vue/cli-service');
|
||||
const { defineConfig } = require("@vue/cli-service");
|
||||
|
||||
module.exports = defineConfig({
|
||||
transpileDependencies: true,
|
||||
devServer: {
|
||||
allowedHosts: "all",
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue