goblindegook/littlefoot

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "littlefoot",
  "description": "Footnotes without the footprint.",
  "version": "4.1.1",
  "sideEffects": false,
  "license": "MIT",
  "repository": "goblindegook/littlefoot",
  "scripts": {
    "clean": "rm -rf coverage dist",
    "build:scripts": "rollup --config --bundleConfigAsCjs",
    "build:styles": "postcss src/littlefoot.css --output dist/littlefoot.css",
    "build:types": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
    "build": "npm run clean && mkdir -p dist && concurrently 'npm run build:types' 'npm run build:scripts' 'npm run build:styles'",
    "commit": "git-cz",
    "watch:scripts": "rollup --config --bundleConfigAsCjs --watch",
    "watch:styles": "npm run build:styles --watch",
    "watch:vitest": "vitest",
    "watch": "concurrently 'npm run watch:scripts' 'npm run watch:styles'",
    "format": "concurrently 'npm run format:scripts' 'npm run format:styles'",
    "format:scripts": "biome check --apply .",
    "format:styles": "prettier --write '{src}/**/*.{css,md}'",
    "lint": "concurrently 'npm run lint:scripts' 'npm run lint:styles'",
    "lint:scripts": "biome lint .",
    "lint:styles": "stylelint 'src/**/*.css'",
    "pretest": "npm run lint",
    "test": "concurrently 'npm run test:vitest' 'npm run test:cypress'",
    "test:coverage": "concurrently 'npm run test:vitest --coverage' 'npm run test:cypress'",
    "test:cypress": "npm run build && cypress run",
    "test:cypress:open": "npm run build && cypress open",
    "test:vitest": "vitest run",
    "release": "standard-version",
    "prepare": "npm run build"
  },
  "lint-staged": {
    "{src,test}/**/*.{js,json,ts}": [
      "prettier --write",
      "biome check --apply ."
    ],
    "{src,test/**/*.{css,md}": [
      "prettier --write"
    ]
  },
  "author": {
    "name": "Luís Rodrigues",
    "email": "hello@goblindegook.net",
    "url": "https://goblindegook.com/"
  },
  "browser": "dist/littlefoot.js",
  "main": "dist/littlefoot.cjs.js",
  "module": "dist/littlefoot.mjs",
  "typings": "dist/littlefoot.d.ts",
  "style": "dist/littlefoot.css",
  "browserslist": [
    "defaults"
  ],
  "devDependencies": {
    "@biomejs/biome": "1.8.3",
    "@commitlint/cli": "19.4.1",
    "@commitlint/config-conventional": "19.4.1",
    "@rollup/plugin-commonjs": "26.0.1",
    "@rollup/plugin-node-resolve": "15.2.3",
    "@rollup/plugin-terser": "^0.4.4",
    "@rollup/plugin-typescript": "11.1.6",
    "@testing-library/cypress": "10.0.2",
    "@testing-library/dom": "10.4.0",
    "@testing-library/jest-dom": "^6.4.6",
    "@vitest/coverage-v8": "^2.0.0",
    "axe-core": "4.10.0",
    "concurrently": "8.2.2",
    "cssnano": "7.0.5",
    "cypress": "13.14.2",
    "cypress-axe": "1.5.0",
    "cz-conventional-changelog": "3.3.0",
    "git-cz": "^4.9.0",
    "husky": "9.1.5",
    "jsdom": "^25.0.0",
    "lint-staged": "15.2.10",
    "pixrem": "5.0.0",
    "postcss": "8.4.40",
    "postcss-cli": "11.0.0",
    "postcss-preset-env": "10.0.2",
    "prettier": "^3.3.2",
    "rollup": "4.21.1",
    "standard-version": "9.5.0",
    "stylelint": "16.9.0",
    "stylelint-config-standard": "36.0.1",
    "stylelint-prettier": "^5.0.0",
    "tslib": "2.7.0",
    "typescript": "5.5.4",
    "vitest": "^2.0.0"
  },
  "dependencies": {
    "@pacote/get-style": "2.0.2",
    "@pacote/pixels": "2.0.2",
    "@pacote/throttle": "2.0.2"
  },
  "resolutions": {
    "cypress": "13.14.2"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  }
}