1 | {
|
2 | "name": "@jsonhero/json-infer-types",
|
3 | "version": "1.0.9",
|
4 | "description": "Infer the types of a JSON value",
|
5 | "homepage": "https://github.com/jsonhero-io/json-infer-types",
|
6 | "bugs": {
|
7 | "url": "https://github.com/jsonhero-io/json-infer-types/issues"
|
8 | },
|
9 | "repository": {
|
10 | "type": "git",
|
11 | "url": "https://github.com/jsonhero-io/json-infer-types.git"
|
12 | },
|
13 | "types": "lib/index.d.ts",
|
14 | "main": "./lib/index.js",
|
15 | "module": "./lib/index.mjs",
|
16 | "files": [
|
17 | "/lib"
|
18 | ],
|
19 | "publishConfig": {
|
20 | "access": "public"
|
21 | },
|
22 | "scripts": {
|
23 | "clean": "rimraf lib",
|
24 | "check-types": "tsc --noEmit",
|
25 | "test": "jest --runInBand --coverage",
|
26 | "test:node": "node test-build.js",
|
27 | "test:badges": "npm t && jest-coverage-badges --output ./badges",
|
28 | "build": "rollup -c",
|
29 | "build:watch": "tsc --watch",
|
30 | "prepublishOnly": "npm run clean && npm run check-types && npm run format:check && npm run lint && npm test && npm run build && npm run test:node",
|
31 | "lint": "eslint . --ext .ts",
|
32 | "lint-and-fix": "eslint . --ext .ts --fix",
|
33 | "format": "prettier --config .prettierrc 'src/**/*.ts' --write && prettier --config .prettierrc 'tests/**/*.ts' --write",
|
34 | "format:check": "prettier --config .prettierrc --list-different 'src/**/*.ts'"
|
35 | },
|
36 | "engines": {
|
37 | "node": "16"
|
38 | },
|
39 | "keywords": [
|
40 | "json",
|
41 | "types",
|
42 | "schema",
|
43 | "generation"
|
44 | ],
|
45 | "author": "Eric Allam",
|
46 | "license": "MIT",
|
47 | "devDependencies": {
|
48 | "@rollup/plugin-node-resolve": "^13.1.2",
|
49 | "@tsconfig/recommended": "^1.0.1",
|
50 | "@types/jest": "^27.0.2",
|
51 | "@types/jsbn": "^1.2.30",
|
52 | "@types/mime-types": "^2.1.1",
|
53 | "@types/node": "^16.11.7",
|
54 | "@types/uuid": "^8.3.3",
|
55 | "@typescript-eslint/eslint-plugin": "^5.8.1",
|
56 | "@typescript-eslint/parser": "^5.8.1",
|
57 | "eslint": "^8.5.0",
|
58 | "eslint-config-prettier": "^8.3.0",
|
59 | "eslint-plugin-prettier": "^4.0.0",
|
60 | "husky": "^7.0.4",
|
61 | "jest": "^27.3.1",
|
62 | "jest-coverage-badges": "^1.1.2",
|
63 | "prettier": "^2.5.1",
|
64 | "rimraf": "^3.0.2",
|
65 | "rollup": "^2.62.0",
|
66 | "rollup-plugin-polyfill-node": "^0.8.0",
|
67 | "rollup-plugin-typescript2": "^0.31.1",
|
68 | "ts-jest": "^27.0.7",
|
69 | "ts-node": "^10.4.0",
|
70 | "typescript": "^4.4.4"
|
71 | },
|
72 | "dependencies": {
|
73 | "ip-address": "^8.1.0",
|
74 | "json5": "^2.2.0",
|
75 | "mime-types": "^2.1.34",
|
76 | "universal-url": "^2.0.0",
|
77 | "uuid": "^8.3.2"
|
78 | },
|
79 | "jest": {
|
80 | "preset": "ts-jest",
|
81 | "testEnvironment": "node",
|
82 | "coverageReporters": [
|
83 | "json-summary",
|
84 | "text",
|
85 | "lcov"
|
86 | ]
|
87 | },
|
88 | "husky": {
|
89 | "hooks": {
|
90 | "pre-commit": "npm run prettier-format && npm run lint"
|
91 | }
|
92 | }
|
93 | } |
\ | No newline at end of file |