New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vueless

Package Overview
Dependencies
Maintainers
1
Versions
841
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vueless

Vue Styleless Component Framework.

  • 0.0.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.4K
increased by68.21%
Maintainers
1
Weekly downloads
 
Created
Source

How to run the project locally

  • Install node.js 16.XX version (see instructions for your OS).

  • Install globally Yarn:

npm install --global yarn
  • Create project folder and clone files from Git into:
# download project from remote repository
git clone origin git@gitlab.com:<project_name>.git

# go to project folder
cd <project_name>
  • Install project dependencies (node_modules):
yarn install
  • Create environment file:
#  for local environment
cp .env.local.example .env.local
  • Run the app in development mode:
yarn dev
  • The project is ready!

REST API

Section AUTH & APPS contains Main application endpoints, while section APP INSTANCE contains Business application endpoints.

Additional commands

  • Open Storybook (frontend base UI components documentation):
# run Storybook in development mode (with docs and stories):
# It's good for debugging components.
yarn sb:dev-full

# run Storybook in development mode (with docs only):
yarn sb:dev

# build Storybook (to publish in the web):
yarn sb:build

# Run the built application from a `/storybook-static` folder in production mode:
yarn sb:preview
  • Run code-style check / formatting:
# check code style (only show errors)
yarn lint

# check code style and fix all possible errors
yarn lint:fix

# check code style of given file paths (fail pipeline if at least 1 error or warning appears)
yarn lint:ci
  • Run auto tests:
# start unit tests
yarn test:unit

# start end to end tests
yarn test:e2e

# start end to end tests in headless mode (no UI)
yarn test:e2e-ci
  • Build application:
# for the dev / test / production servers
cp .env.example .env

yarn build
# TIP: 📐
# to analise and reduce the build size see the report.html in a project root folder.
  • Run the built application from a /dist folder in production mode:
yarn preview
  • Automated releases (new app release in GitLab and increase app version number):
# increase third app version number (0.0.X).
yarn release

# increase second app version number (0.X.0).
yarn release:production

# increase first app version number (X.0.0).
release:production-major
  • Update browserslist DB to the latest version (it changes yarn.lock only):
npx browserslist@latest --update-db
  • Note: yarn automatically calls the postinstall command, which generate components web-types for IDE (props autocomplete). If you need to do this manually, just use the command below:
node .mono/our.library.web-types-gen

Capacitor (iOS & Android apps)

  • Update app src after dist or capacitor.config.js file changes:
npx cap copy
  • Open iOS app locally:
npx cap open ios
  • Open Android app locally:
npx cap open android
  • Sync the app after new capacitor plugin installation:
npx cap sync
  • Generate app icons and splash screens (docs):
npx @capacitor/assets generate --assetPath 'public/static/capacitor' --iconBackgroundColor '#FFFFFF' --iconBackgroundColorDark '#111827' --splashBackgroundColor '#F3F4F6' --splashBackgroundColorDark '#1F2937' --ios --android

FAQs

Package last updated on 18 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc