1 | {
|
2 | "name": "ow",
|
3 | "version": "0.17.0",
|
4 | "description": "Function argument validation for humans",
|
5 | "license": "MIT",
|
6 | "repository": "sindresorhus/ow",
|
7 | "funding": "https://github.com/sponsors/sindresorhus",
|
8 | "author": {
|
9 | "name": "Sindre Sorhus",
|
10 | "email": "sindresorhus@gmail.com",
|
11 | "url": "https://sindresorhus.com"
|
12 | },
|
13 | "main": "dist/source",
|
14 | "engines": {
|
15 | "node": ">=10"
|
16 | },
|
17 | "scripts": {
|
18 | "prepublishOnly": "npm run build",
|
19 | "pretest": "npm run compile -- --sourceMap",
|
20 | "test": "xo && nyc ava",
|
21 | "build": "npm run clean && webpack",
|
22 | "compile": "npm run clean && tsc",
|
23 | "clean": "del-cli dist",
|
24 | "docs": "typedoc source"
|
25 | },
|
26 | "files": [
|
27 | "dist/source",
|
28 | "dev-only.js"
|
29 | ],
|
30 | "keywords": [
|
31 | "type",
|
32 | "types",
|
33 | "check",
|
34 | "checking",
|
35 | "guard",
|
36 | "guards",
|
37 | "assert",
|
38 | "assertion",
|
39 | "predicate",
|
40 | "predicates",
|
41 | "is",
|
42 | "validate",
|
43 | "validation",
|
44 | "utility",
|
45 | "util",
|
46 | "typeof",
|
47 | "instanceof",
|
48 | "object"
|
49 | ],
|
50 | "dependencies": {
|
51 | "type-fest": "^0.11.0"
|
52 | },
|
53 | "devDependencies": {
|
54 | "@sindresorhus/is": "^2.1.0",
|
55 | "@sindresorhus/tsconfig": "^0.7.0",
|
56 | "@types/lodash.isequal": "^4.5.2",
|
57 | "@types/node": "^13.7.4",
|
58 | "@types/vali-date": "^1.0.0",
|
59 | "@typescript-eslint/eslint-plugin": "^2.20.0",
|
60 | "@typescript-eslint/parser": "^2.20.0",
|
61 | "add-asset-webpack-plugin": "^1.0.0",
|
62 | "add-module-exports-webpack-plugin": "^1.0.0",
|
63 | "ava": "^2.0.0",
|
64 | "awesome-typescript-loader": "^5.2.1",
|
65 | "callsites": "^3.0.0",
|
66 | "codecov": "^3.1.0",
|
67 | "del-cli": "^3.0.0",
|
68 | "dot-prop": "^5.2.0",
|
69 | "eslint-config-xo-typescript": "^0.26.0",
|
70 | "license-webpack-plugin": "^2.0.2",
|
71 | "lodash.isequal": "^4.5.0",
|
72 | "nyc": "^15.0.0",
|
73 | "typedoc": "^0.16.10",
|
74 | "typescript": "~3.8.2",
|
75 | "vali-date": "^1.0.0",
|
76 | "webpack": "^4.33.0",
|
77 | "webpack-cli": "^3.3.10",
|
78 | "xo": "^0.26.1"
|
79 | },
|
80 | "browser": {
|
81 | "./dist/source/utils/infer-label.js": "./dist/source/utils/infer-label.browser.js"
|
82 | },
|
83 | "types": "dist/source",
|
84 | "sideEffects": false,
|
85 | "xo": {
|
86 | "extends": "xo-typescript",
|
87 | "extensions": [
|
88 | "ts"
|
89 | ],
|
90 | "ignores": [
|
91 | "example.js",
|
92 | "webpack.config.js",
|
93 | "dev-only.js"
|
94 | ],
|
95 | "rules": {
|
96 | "no-useless-return": "off",
|
97 | "@typescript-eslint/generic-type-naming": "off",
|
98 | "@typescript-eslint/member-naming": "off",
|
99 | "ava/no-ignored-test-files": "off",
|
100 | "@typescript-eslint/explicit-function-return-type": "off",
|
101 | "@typescript-eslint/ban-types": "off",
|
102 | "@typescript-eslint/no-explicit-any": "off",
|
103 | "@typescript-eslint/no-empty-function": "off",
|
104 | "@typescript-eslint/restrict-template-expressions": "off"
|
105 | }
|
106 | },
|
107 | "ava": {
|
108 | "babel": false,
|
109 | "compileEnhancements": false,
|
110 | "files": [
|
111 | "dist/test/**",
|
112 | "!dist/test/fixtures/**"
|
113 | ]
|
114 | },
|
115 | "nyc": {
|
116 | "exclude": [
|
117 | "dist/test"
|
118 | ]
|
119 | }
|
120 | }
|