UNPKG

2.53 kBJSONView Raw
1{
2 "name": "ow",
3 "version": "0.27.0",
4 "description": "Function argument validation for humans",
5 "license": "MIT",
6 "repository": "sindresorhus/ow",
7 "funding": {
8 "url": "https://github.com/sponsors/sindresorhus"
9 },
10 "author": {
11 "name": "Sindre Sorhus",
12 "email": "sindresorhus@gmail.com",
13 "url": "https://sindresorhus.com"
14 },
15 "main": "dist/index.js",
16 "engines": {
17 "node": ">=12"
18 },
19 "scripts": {
20 "test": "xo && nyc ava",
21 "docs": "typedoc source/index.ts",
22 "build": "del-cli dist && tsc",
23 "prepare": "npm run build",
24 "postpublish": "npm run docs && gh-pages --dist docs --no-history --message \"Deploy documentation\"",
25 "example": "npm run build && node example.js"
26 },
27 "files": [
28 "dist",
29 "dev-only.js"
30 ],
31 "keywords": [
32 "type",
33 "types",
34 "check",
35 "checking",
36 "guard",
37 "guards",
38 "assert",
39 "assertion",
40 "predicate",
41 "predicates",
42 "is",
43 "validate",
44 "validation",
45 "utility",
46 "util",
47 "typeof",
48 "instanceof",
49 "object"
50 ],
51 "dependencies": {
52 "@sindresorhus/is": "^4.0.1",
53 "callsites": "^3.1.0",
54 "dot-prop": "^6.0.1",
55 "lodash.isequal": "^4.5.0",
56 "type-fest": "^1.2.1",
57 "vali-date": "^1.0.0"
58 },
59 "devDependencies": {
60 "@sindresorhus/tsconfig": "^0.8.0",
61 "@types/lodash.isequal": "^4.5.5",
62 "@types/node": "^15.12.4",
63 "@types/vali-date": "^1.0.0",
64 "ava": "^2.4.0",
65 "del-cli": "^4.0.0",
66 "expect-type": "^0.11.0",
67 "gh-pages": "^3.2.3",
68 "nyc": "^15.1.0",
69 "ts-node": "^10.0.0",
70 "typedoc": "^0.21.1",
71 "typescript": "^4.3.4",
72 "xo": "^0.38.2"
73 },
74 "browser": {
75 "./dist/utils/infer-label.js": "./dist/utils/infer-label.browser.js"
76 },
77 "types": "dist",
78 "sideEffects": false,
79 "xo": {
80 "parserOptions": {
81 "project": "./tsconfig.xo.json"
82 },
83 "ignores": [
84 "example.js",
85 "dev-only.js",
86 "source/utils/infer-label.browser.ts"
87 ],
88 "rules": {
89 "no-useless-return": "off",
90 "ava/no-ignored-test-files": "off",
91 "@typescript-eslint/explicit-function-return-type": "error",
92 "@typescript-eslint/ban-types": "off",
93 "@typescript-eslint/no-explicit-any": "off",
94 "@typescript-eslint/no-empty-function": "off",
95 "@typescript-eslint/restrict-template-expressions": "off",
96 "@typescript-eslint/no-unused-vars": "off",
97 "import/no-anonymous-default-export": "off"
98 }
99 },
100 "ava": {
101 "babel": false,
102 "compileEnhancements": false,
103 "files": [
104 "test/**",
105 "!test/fixtures/**"
106 ],
107 "extensions": [
108 "ts"
109 ],
110 "require": [
111 "ts-node/register"
112 ]
113 },
114 "nyc": {
115 "reporter": [
116 "text",
117 "lcov"
118 ]
119 }
120}