File size: 3,267 Bytes
311cc15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
  "name": "@sapphire/shapeshift",
  "version": "3.9.7",
  "description": "Blazing fast input validation and transformation ⚡",
  "author": "@sapphire",
  "license": "MIT",
  "main": "dist/cjs/index.cjs",
  "module": "dist/esm/index.mjs",
  "browser": "dist/iife/index.global.js",
  "unpkg": "dist/iife/index.global.js",
  "types": "dist/cjs/index.d.cts",
  "exports": {
    "import": {
      "types": "./dist/esm/index.d.mts",
      "default": "./dist/esm/index.mjs"
    },
    "require": {
      "types": "./dist/cjs/index.d.cts",
      "default": "./dist/cjs/index.cjs"
    },
    "browser": "./dist/iife/index.global.js"
  },
  "sideEffects": false,
  "homepage": "https://www.sapphirejs.dev",
  "scripts": {
    "lint": "eslint src tests --ext ts --fix",
    "format": "prettier --write \"{src,tests}/**/*.ts\"",
    "docs": "typedoc-json-parser",
    "test": "vitest run",
    "build": "tsup && yarn build:rename-cjs-index",
    "build:rename-cjs-index": "node scripts/rename-cjs-index.mjs",
    "clean": "rimraf dist",
    "typecheck": "tsc -p tsconfig.eslint.json",
    "bump": "cliff-jumper",
    "check-update": "cliff-jumper --dry-run",
    "prepack": "yarn build"
  },
  "dependencies": {
    "fast-deep-equal": "^3.1.3",
    "lodash": "^4.17.21"
  },
  "devDependencies": {
    "@commitlint/cli": "^19.2.1",
    "@commitlint/config-conventional": "^19.1.0",
    "@favware/cliff-jumper": "^3.0.1",
    "@favware/npm-deprecate": "^1.0.7",
    "@sapphire/eslint-config": "^5.0.4",
    "@sapphire/prettier-config": "^2.0.0",
    "@sapphire/ts-config": "^5.0.1",
    "@types/jsdom": "^21.1.6",
    "@types/lodash": "^4.17.0",
    "@types/node": "^20.11.5",
    "@typescript-eslint/eslint-plugin": "^7.4.0",
    "@typescript-eslint/parser": "^7.4.0",
    "@vitest/coverage-v8": "^1.4.0",
    "cz-conventional-changelog": "^3.3.0",
    "esbuild-plugins-node-modules-polyfill": "^1.6.3",
    "eslint": "^8.57.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-prettier": "^5.1.3",
    "jsdom": "^24.0.0",
    "lint-staged": "^15.2.2",
    "prettier": "^3.2.5",
    "rimraf": "^5.0.5",
    "tsup": "^8.0.2",
    "typedoc": "^0.25.12",
    "typedoc-json-parser": "^9.0.1",
    "typescript": "^5.4.3",
    "vitest": "^1.4.0"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sapphiredev/shapeshift.git"
  },
  "files": [
    "dist/"
  ],
  "engines": {
    "node": ">=v16"
  },
  "keywords": [
    "@sapphire/shapeshift",
    "shapeshift",
    "bot",
    "typescript",
    "ts",
    "yarn",
    "sapphire",
    "schema",
    "validation",
    "type-checking",
    "checking",
    "input-validation",
    "runtime-validation",
    "ow",
    "type-validation",
    "zod"
  ],
  "bugs": {
    "url": "https://github.com/sapphiredev/shapeshift/issues"
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  },
  "lint-staged": {
    "*": "prettier --ignore-unknown --write",
    "*.{mjs,js,ts}": "eslint --fix --ext mjs,js,ts"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "publishConfig": {
    "access": "public"
  },
  "resolutions": {
    "ansi-regex": "^5.0.1",
    "minimist": "^1.2.8"
  },
  "packageManager": "yarn@4.1.1"
}