123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- {
- "name": "@gilbarbara/helpers",
- "version": "0.9.1",
- "description": "Collection of useful functions",
- "author": "Gil Barbara <gilbarbara@gmail.com>",
- "repository": {
- "type": "git",
- "url": "git://github.com/gilbarbara/helpers.git"
- },
- "bugs": {
- "url": "https://github.com/gilbarbara/helpers/issues"
- },
- "homepage": "https://github.com/gilbarbara/helpers#readme",
- "main": "dist/index.js",
- "module": "dist/index.mjs",
- "exports": {
- ".": {
- "import": "./dist/index.mjs",
- "require": "./dist/index.js"
- }
- },
- "files": [
- "dist",
- "src"
- ],
- "types": "dist/index.d.ts",
- "sideEffects": false,
- "license": "MIT",
- "keywords": [
- "helpers"
- ],
- "dependencies": {
- "@gilbarbara/types": "^0.2.2",
- "is-lite": "^1.2.0"
- },
- "devDependencies": {
- "@gilbarbara/eslint-config": "^0.7.2",
- "@gilbarbara/prettier-config": "^1.0.0",
- "@gilbarbara/tsconfig": "^0.2.3",
- "@size-limit/preset-small-lib": "^11.0.1",
- "@types/node": "^20.10.5",
- "@vitest/coverage-v8": "^1.1.0",
- "del-cli": "^5.1.0",
- "happy-dom": "^12.10.3",
- "husky": "^8.0.3",
- "is-ci-cli": "^2.2.0",
- "jest-extended": "^4.0.2",
- "repo-tools": "^0.3.1",
- "size-limit": "^11.0.1",
- "ts-node": "^10.9.2",
- "tsup": "^8.0.1",
- "typescript": "^5.3.3",
- "vitest": "^1.1.0",
- "vitest-fetch-mock": "^0.2.2"
- },
- "scripts": {
- "build": "npm run clean && tsup",
- "watch": "tsup --watch",
- "clean": "del dist/*",
- "lint": "eslint --fix src test",
- "test": "is-ci \"test:coverage\" \"test:watch\"",
- "test:coverage": "TZ=UTC vitest run --coverage",
- "test:watch": "TZ=UTC vitest watch",
- "typecheck": "tsc -p test/tsconfig.json",
- "format": "prettier \"**/*.{css,graphql,js,json,jsx,less,md,mdx,scss,ts,tsx,yaml,yml}\" --write",
- "size": "size-limit",
- "validate": "npm run lint && npm run typecheck && npm run test:coverage && npm run build && npm run size",
- "prepare": "husky install",
- "prepublishOnly": "npm run validate"
- },
- "tsup": {
- "dts": true,
- "entry": [
- "src/index.ts"
- ],
- "format": [
- "cjs",
- "esm"
- ],
- "sourcemap": true,
- "splitting": false
- },
- "eslintConfig": {
- "extends": [
- "@gilbarbara/eslint-config/base",
- "@gilbarbara/eslint-config/vitest"
- ],
- "rules": {
- "@typescript-eslint/explicit-module-boundary-types": "off"
- },
- "overrides": [
- {
- "files": [
- "**/?(*.)+(spec|test).[jt]s?(x)"
- ],
- "rules": {
- "unicorn/consistent-function-scoping": "off",
- "no-console": "off"
- }
- }
- ]
- },
- "prettier": "@gilbarbara/prettier-config",
- "size-limit": [
- {
- "name": "commonjs",
- "path": "./dist/index.js",
- "limit": "10 kB"
- },
- {
- "name": "esm",
- "path": "./dist/index.mjs",
- "limit": "10 kB"
- }
- ]
- }
|