UNPKG

@jsonjoy.com/json-random

Version:

Random JSON generation, structured JSON by schema generation, no dependencies.

92 lines (91 loc) 2.57 kB
{ "name": "@jsonjoy.com/json-random", "private": false, "publishConfig": { "access": "public" }, "version": "1.2.0", "description": "Random JSON generation, structured JSON by schema generation, no dependencies.", "author": { "name": "streamich", "url": "https://github.com/streamich" }, "homepage": "https://github.com/jsonjoy-com/json-random", "repository": "jsonjoy-com/json-random", "license": "Apache-2.0", "funding": { "type": "github", "url": "https://github.com/sponsors/streamich" }, "keywords": [ "json", "random", "random-json", "json-schema", "json-random", "json-generator", "json-generator-random", "structured-json", "structured" ], "main": "lib/index.js", "types": "lib/index.d.ts", "typings": "lib/index.d.ts", "files": [ "LICENSE", "lib/" ], "scripts": { "format": "biome format ./src", "format:fix": "biome format --write ./src", "lint": "biome lint ./src", "lint:fix": "biome lint --apply ./src", "clean": "rimraf lib typedocs coverage gh-pages yarn-error.log", "build": "tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib", "jest": "node -r ts-node/register ./node_modules/.bin/jest", "test": "jest --maxWorkers 7", "test:ci": "yarn jest --maxWorkers 3 --no-cache", "coverage": "yarn test --collectCoverage", "typedoc": "typedoc", "build:pages": "rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage", "deploy:pages": "gh-pages -d gh-pages", "publish-coverage-and-typedocs": "yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages" }, "peerDependencies": { "tslib": "2" }, "dependencies": { "@jsonjoy.com/buffers": "^1.0.0" }, "devDependencies": { "@biomejs/biome": "^1.9.4", "@types/benchmark": "^2.1.2", "@types/jest": "^29.5.12", "benchmark": "^2.1.4", "jest": "^29.7.0", "prettier": "^3.2.5", "rimraf": "^5.0.0", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "tslib": "^2.6.2", "tslint": "^6.1.3", "tslint-config-common": "^1.6.2", "typedoc": "^0.25.12", "typescript": "^5.4.4" }, "jest": { "verbose": true, "testEnvironmentOptions": { "url": "http://localhost/" }, "moduleFileExtensions": [ "ts", "js" ], "transform": { "^.+\\.ts$": "ts-jest" }, "transformIgnorePatterns": [], "testRegex": ".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.ts$" } }