152 lines
3.6 KiB
JSON
152 lines
3.6 KiB
JSON
{
|
|
"_from": "ow@^0.27.0",
|
|
"_id": "ow@0.27.0",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-SGnrGUbhn4VaUGdU0EJLMwZWSupPmF46hnTRII7aCLCrqixTAC5eKo8kI4/XXf1eaaI8YEVT+3FeGNJI9himAQ==",
|
|
"_location": "/ow",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "range",
|
|
"registry": true,
|
|
"raw": "ow@^0.27.0",
|
|
"name": "ow",
|
|
"escapedName": "ow",
|
|
"rawSpec": "^0.27.0",
|
|
"saveSpec": null,
|
|
"fetchSpec": "^0.27.0"
|
|
},
|
|
"_requiredBy": [
|
|
"/@discordjs/builders"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/ow/-/ow-0.27.0.tgz",
|
|
"_shasum": "d44da088e8184fa11de64b5813206f9f86ab68d0",
|
|
"_spec": "ow@^0.27.0",
|
|
"_where": "/home/runner/Discord-Bot-Example/node_modules/@discordjs/builders",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "https://sindresorhus.com"
|
|
},
|
|
"ava": {
|
|
"babel": false,
|
|
"compileEnhancements": false,
|
|
"files": [
|
|
"test/**",
|
|
"!test/fixtures/**"
|
|
],
|
|
"extensions": [
|
|
"ts"
|
|
],
|
|
"require": [
|
|
"ts-node/register"
|
|
]
|
|
},
|
|
"browser": {
|
|
"./dist/utils/infer-label.js": "./dist/utils/infer-label.browser.js"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/sindresorhus/ow/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"dependencies": {
|
|
"@sindresorhus/is": "^4.0.1",
|
|
"callsites": "^3.1.0",
|
|
"dot-prop": "^6.0.1",
|
|
"lodash.isequal": "^4.5.0",
|
|
"type-fest": "^1.2.1",
|
|
"vali-date": "^1.0.0"
|
|
},
|
|
"deprecated": false,
|
|
"description": "Function argument validation for humans",
|
|
"devDependencies": {
|
|
"@sindresorhus/tsconfig": "^0.8.0",
|
|
"@types/lodash.isequal": "^4.5.5",
|
|
"@types/node": "^15.12.4",
|
|
"@types/vali-date": "^1.0.0",
|
|
"ava": "^2.4.0",
|
|
"del-cli": "^4.0.0",
|
|
"expect-type": "^0.11.0",
|
|
"gh-pages": "^3.2.3",
|
|
"nyc": "^15.1.0",
|
|
"ts-node": "^10.0.0",
|
|
"typedoc": "^0.21.1",
|
|
"typescript": "^4.3.4",
|
|
"xo": "^0.38.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=12"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"dev-only.js"
|
|
],
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
},
|
|
"homepage": "https://github.com/sindresorhus/ow#readme",
|
|
"keywords": [
|
|
"type",
|
|
"types",
|
|
"check",
|
|
"checking",
|
|
"guard",
|
|
"guards",
|
|
"assert",
|
|
"assertion",
|
|
"predicate",
|
|
"predicates",
|
|
"is",
|
|
"validate",
|
|
"validation",
|
|
"utility",
|
|
"util",
|
|
"typeof",
|
|
"instanceof",
|
|
"object"
|
|
],
|
|
"license": "MIT",
|
|
"main": "dist/index.js",
|
|
"name": "ow",
|
|
"nyc": {
|
|
"reporter": [
|
|
"text",
|
|
"lcov"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/sindresorhus/ow.git"
|
|
},
|
|
"scripts": {
|
|
"build": "del-cli dist && tsc",
|
|
"docs": "typedoc source/index.ts",
|
|
"example": "npm run build && node example.js",
|
|
"postpublish": "npm run docs && gh-pages --dist docs --no-history --message \"Deploy documentation\"",
|
|
"prepare": "npm run build",
|
|
"test": "xo && nyc ava"
|
|
},
|
|
"sideEffects": false,
|
|
"types": "dist",
|
|
"version": "0.27.0",
|
|
"xo": {
|
|
"parserOptions": {
|
|
"project": "./tsconfig.xo.json"
|
|
},
|
|
"ignores": [
|
|
"example.js",
|
|
"dev-only.js",
|
|
"source/utils/infer-label.browser.ts"
|
|
],
|
|
"rules": {
|
|
"no-useless-return": "off",
|
|
"ava/no-ignored-test-files": "off",
|
|
"@typescript-eslint/explicit-function-return-type": "error",
|
|
"@typescript-eslint/ban-types": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"@typescript-eslint/restrict-template-expressions": "off",
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
"import/no-anonymous-default-export": "off"
|
|
}
|
|
}
|
|
}
|