/xlsx-study

Primary LanguageJavaScriptMIT LicenseMIT

vue2-typescript-starter

Vue2 typescript starter template using composition-api.

Features

  • File based routing
  • Commitlint
  • TypeScript

Plugins

  • vue/compositon-api - Vue 2 plugin for Composition API
  • axios - Promise based HTTP client for the browser and node.js
  • pinia - Intuitive, type safe and flexible Store for Vue
  • vue-router - The official router for Vue.js
  • less - A backwards-compatible language extension for CSS
  • eslint - A tool for identifying and reporting on patterns found in ECMAScript/JavaScript code
  • prettier - An opinionated code formatter
  • lint-staged - Run linters on git staged files
  • jest - A comprehensive JavaScript testing solution.
  • husky - Modern native Git hooks made easy
  • dep-check - A tool for analyzing the dependencies in a project to see

Usage

Project setup

npm install

Compiles and hot-reloads for development

npm run dev

Compiles and minifies for production

npm run build

Run all unit tests

npm run test

Run single Test

make sure in tests -> unit

cd .\tests\unit

test your file

npx jest [FilePath like .\example.spec.ts]

Format code manually.

npm run lint-fix

Use commitizen

npx cz

Check dependencies

npx depcheck