Spaces:
Sleeping
Sleeping
File size: 1,902 Bytes
c2b7eb3 | 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 | {
"name": "@cfworker/json-schema",
"version": "4.1.1",
"description": "A JSON schema validator that will run on Cloudflare workers. Supports drafts 4, 7, 2019-09, and 2020-12.",
"keywords": [
"json-schema",
"jsonschema",
"json",
"schema",
"cloudflare",
"worker",
"workers",
"service-worker"
],
"repository": "https://github.com/cfworker/cfworker",
"author": "Jeremy Danyow <jdanyow@gmail.com>",
"homepage": "https://github.com/cfworker/cfworker/tree/master/packages/json-schema/README.md",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"type": "module",
"sideEffects": false,
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.ts",
"module": "./dist/esm/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"files": [
"dist",
"src",
"README.md"
],
"scripts": {
"prepare": "tshy",
"build": "tsc --build",
"clean": "tsc --build --clean",
"pretest": "node --experimental-import-meta-resolve suite-gen.mjs && esbuild test/test.ts --target=esnext --bundle --format=esm --conditions=worker,browser --outdir=dist-test --ignore-annotations",
"test": "node ../../test.mjs"
},
"devDependencies": {
"@types/chai": "^5.0.1",
"@types/mocha": "^10.0.10",
"chai": "^5.1.2",
"json-schema-test-suite": "git+https://github.com/json-schema-org/JSON-Schema-Test-Suite#76b529f",
"esbuild": "^0.24.2",
"mocha": "^11.1.0",
"typescript": "^5.7.3",
"wrangler": "^3.107.2"
},
"tshy": {
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
}
}
}
|