UNPKG

@backland/schema

Version:

TypeScript schema declaration and validation library with static type inference

96 lines (95 loc) 3.14 kB
{ "name": "@backland/schema", "version": "0.2.10", "main": "lib/index.js", "module": "lib/module/index.js", "sideEffects": false, "browser": { "lib/module/index.js": "./lib/browser/module/index.js", "lib/index.js": "./lib/browser/index.js" }, "author": "antoniopresto <antoniopresto@gmail.com>", "license": "MIT", "scripts": { "test": "jest", "ts": "tsc --noEmit", "build": "run-s clear && run-p declarations build:*", "clear": "rimraf lib", "fix": "run-s fix:* ", "fix:prettier": "prettier \"src/**/*.ts\" --write", "fix:lint": "eslint src --ext .ts --fix", "prepublishOnly": "run-p build fix && run-p test", "build-targets": "run-p build:*", "build:browser": "TARGET=browser npm run babild -- --out-dir lib/browser", "build:module-browser": "TARGET=module-browser npm run babild -- --out-dir lib/browser/module", "build:node": "TARGET=node npm run babild -- --out-dir lib", "build:module-node": "TARGET=module-node npm run babild -- --out-dir lib/module", "declarations": "tsc -p tsconfig.declarations.json", "babild": "babel 'src' --extensions '.ts,.tsx' --source-maps=true --ignore '**/__tests__'" }, "description": "TypeScript schema declaration and validation library with static type inference", "repository": { "type": "git", "url": "https://github.com/antoniopresto/backland/tree/master/packages/schema" }, "keywords": [ "typescript", "schema", "graphql", "validation", "type", "inference" ], "dependencies": { "@backland/utils": "0.2.10" }, "devDependencies": { "@babel/cli": "7.19.3", "@babel/core": "7.19.3", "@babel/plugin-transform-typescript": "7.19.3", "@babel/preset-env": "7.19.3", "@babel/preset-typescript": "7.18.6", "@backland/babel-plugins": "0.2.10", "@types/babel__core": "7.1.19", "@types/babel__helper-plugin-utils": "7.10.0", "@types/express": "4.17.14", "@types/jest": "29.1.2", "@types/lodash": "4.14.186", "@types/node": "16.18.3", "@types/supertest": "2.0.12", "@typescript-eslint/eslint-plugin": "5.39.0", "@typescript-eslint/parser": "5.39.0", "babel-preset-minify": "0.5.2", "conditional-type-checks": "1.0.6", "esbuild": "0.15.10", "eslint": "8.25.0", "eslint-config-prettier": "8.5.0", "eslint-plugin-eslint-comments": "3.2.0", "eslint-plugin-import": "2.26.0", "eslint-plugin-sort-keys-fix": "1.1.2", "eslint-plugin-typescript-sort-keys": "2.1.0", "express": "4.18.2", "graphql": "16.6.0", "jest": "29.1.2", "npm-run-all": "4.1.5", "prettier": "2.7.1", "prettier-plugin-multiline-arrays": "^1.1.3", "rimraf": "3.0.2", "supertest": "6.3.0", "ts-jest": "29.0.3", "ts-node": "10.9.1", "typedoc": "^0.23.24", "typescript": "4.9.3" }, "files": [ "package.json", "lib/*", "README.md" ], "typedoc": { "entryPoint": "./src/index.ts", "readmeFile": "./README.md", "displayName": "Backland Schema - A Super Portable TypeScript validation library", "tsconfig": "./tsconfig.module.json" } }