sinProject-Inc/sinpro-dev

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
    "name": "sinpro-dev",
    "version": "0.73.0",
    "private": true,
    "scripts": {
        "dev": "vite dev",
        "build": "vite build",
        "preview": "vite preview",
        "test": "npm run test:integration && npm run test:unit",
        "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
        "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
        "lint": "eslint .",
        "lint:prettier": "eslint . && prettier --check .",
        "format": "eslint . --fix",
        "format:prettier": "eslint . --fix && prettier --write .",
        "start": "tsx ./server/index.ts",
        "coverage": "vitest run --coverage",
        "test:integration": "playwright test",
        "test:unit": "vitest",
        "test:unit:run": "vitest run",
        "prepare": "husky install",
        "typecheck": "tsc --noEmit",
        "typecheck:why": "tsc --noEmit --explainFiles > explainTypes.txt",
        "search-index": "tsx ./src/lib/search-docs/search_index.ts",
        "branch": "git checkout main && git pull && tsx ./src/scripts/create_git_branch.ts",
        "prebuild": "npm run search-index"
    },
    "prisma": {
        "seed": "tsx prisma/seed.ts"
    },
    "devDependencies": {
        "@playwright/test": "^1.41.2",
        "@sveltejs/adapter-node": "^4.0.1",
        "@sveltejs/kit": "^2.5.1",
        "@types/glob": "^8.1.0",
        "@types/highlight.js": "^10.1.0",
        "@types/jsdom": "^21.1.6",
        "@types/markdown-it-link-attributes": "^3.0.4",
        "@types/morgan": "^1.9.9",
        "@types/nprogress": "^0.2.3",
        "@types/prettier": "^2.7.3",
        "@types/remove-markdown": "^0.3.4",
        "@types/vivus": "^0.4.7",
        "@typescript-eslint/eslint-plugin": "^7.0.2",
        "@typescript-eslint/parser": "^7.0.2",
        "@vite-pwa/sveltekit": "^0.4.0",
        "@vitest/coverage-v8": "^1.3.1",
        "autoprefixer": "^10.4.17",
        "dotenv": "^16.4.5",
        "eslint": "^8.57.0",
        "eslint-config-prettier": "^9.1.0",
        "eslint-plugin-prettier": "^5.1.3",
        "eslint-plugin-svelte": "^2.35.1",
        "happy-dom": "^13.6.2",
        "husky": "^9.0.11",
        "lint-staged": "^15.2.2",
        "postcss": "^8.4.35",
        "prettier": "^3.2.5",
        "prettier-plugin-svelte": "^3.2.1",
        "prettier-plugin-tailwindcss": "^0.5.11",
        "remove-markdown": "^0.5.0",
        "stylelint": "^16.2.1",
        "stylelint-config-standard": "^36.0.0",
        "stylelint-config-standard-scss": "^13.0.0",
        "svelte": "^4.2.12",
        "svelte-check": "^3.6.4",
        "svelte-preprocess": "^5.1.3",
        "tailwindcss": "^3.4.1",
        "tailwindcss-dir": "^4.0.0",
        "tslib": "^2.6.2",
        "tsx": "^4.7.1",
        "typescript": "^5.3.3",
        "user-agent-data-types": "^0.4.2",
        "vite": "^5.1.4",
        "vite-plugin-pwa": "^0.19.0",
        "vitest": "^1.3.1"
    },
    "type": "module",
    "dependencies": {
        "@types/markdown-it": "^13.0.7",
        "fuse.js": "^7.0.0",
        "glob": "^10.3.10",
        "gray-matter": "^4.0.3",
        "highlight.js": "^11.9.0",
        "jsdom": "^24.0.0",
        "markdown-it": "^14.0.0",
        "markdown-it-highlightjs": "^4.0.1",
        "markdown-it-link-attributes": "^4.0.1",
        "nprogress": "^0.2.0",
        "svelte-local-storage-store": "^0.6.4",
        "svelte-meta-tags": "^3.1.0",
        "vivus": "^0.4.6",
        "winston": "^3.11.0",
        "winston-console-format": "^1.0.8",
        "winston-daily-rotate-file": "^5.0.0"
    },
    "lint-staged": {
        "*.{js,ts,svelte}": "eslint --cache --fix",
        "*.css": "stylelint --fix",
        "*.{js,css,md,ts,svelte,css,scss,json}": "prettier --write"
    }
}