@sprucelabs/schema
Version:
Static and dynamic binding plus runtime validation and transformation to ensure your app is sound. 🤓
99 lines (98 loc) • 3.56 kB
JSON
{
"name": "@sprucelabs/schema",
"publishConfig": {
"access": "public"
},
"files": [
"build",
"!build/__tests__",
"esm"
],
"version": "33.0.22",
"main": "./build/index.js",
"types": "./build/index.d.ts",
"module": "./build/esm/index.js",
"sideEffects": false,
"description": "Static and dynamic binding plus runtime validation and transformation to ensure your app is sound. 🤓",
"keywords": [
"node",
"components",
"sprucebot",
"sprucelabs"
],
"skill": {
"namespace": "spruce-schema",
"upgradeIgnoreList": [
"@sprucelabs/spruce-test-fixtures",
"@types/node"
]
},
"homepage": "https://github.com/sprucelabsai/spruce-schema",
"bugs": {
"url": "https://github.com/sprucelabsai/spruce-schema/issues"
},
"scripts": {
"build.ci": "yarn run build.tsc && yarn run build.resolve-paths && yarn build.copy-files && yarn run lint",
"build.dev": "yarn run build.tsc --sourceMap ; yarn run resolve-paths.lint ; yarn run build.copy-files",
"build.dist": "tsc --project tsconfig.dist.json && yarn build.resolve-paths && mv build esm && yarn build.esm-postbuild && yarn build.tsc && yarn build.resolve-paths && mv esm build/ && yarn clean.dist",
"build.esm-postbuild": "esm-postbuild --target esm --patterns '**/*.js'",
"build.resolve-paths": "resolve-path-aliases --target build --patterns '**/*.js,**/*.d.ts'",
"build.tsc": "tsc",
"clean": "yarn run clean.build",
"clean.all": "yarn run clean.dependencies && yarn run clean.build",
"clean.build": "rm -rf build/",
"clean.dependencies": "rm -rf node_modules/ package-lock.json yarn.lock",
"clean.dist": "rm -rf build/__tests__ build/esm/__tests__",
"fix.lint": "eslint --fix --cache '**/*.ts'",
"lint": "eslint --cache '**/*.ts'",
"lint.tsc": "tsc -p . --noEmit",
"rebuild": "yarn run clean.all && yarn install && yarn run build.dev",
"release": "semantic-release",
"test": "jest",
"update.dependencies": "yarn run clean.dependencies && yarn",
"watch.build.dev": "tsc-watch --sourceMap --onCompilationComplete 'yarn run post.watch.build'",
"watch.tsc": "tsc -w",
"post.watch.build": "yarn build.resolve-paths && yarn build.copy-files",
"resolve-paths.lint": "yarn run build.resolve-paths ; yarn run lint",
"watch.rebuild": "yarn run clean.all && yarn install && yarn run watch.build.dev",
"build.copy-files": "mkdir -p build && rsync -avzq --exclude='*.ts' ./src/ ./build/"
},
"dependencies": {
"@sprucelabs/error": "^8.0.14",
"@sprucelabs/test-utils": "^7.1.1",
"email-validator": "^2.0.4",
"just-safe-get": "^4.2.0",
"just-safe-set": "^4.2.1"
},
"devDependencies": {
"@sprucelabs/esm-postbuild": "^9.0.12",
"@sprucelabs/jest-json-reporter": "^10.0.16",
"@sprucelabs/resolve-path-aliases": "^4.0.12",
"@sprucelabs/semantic-release": "^6.0.0",
"@sprucelabs/test": "^11.0.5",
"chokidar-cli": "^3.0.0",
"eslint": "^9.39.2",
"eslint-config-spruce": "^11.2.26",
"jest": "^30.2.0",
"jest-circus": "^30.2.0",
"prettier": "^3.7.4",
"ts-node": "^10.9.2",
"tsc-watch": "^7.2.0",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.9.3"
},
"jest": {
"testEnvironment": "node",
"testPathIgnorePatterns": [
"<rootDir>/tmp/",
"<rootDir>/src/",
"<rootDir>/node_modules/"
],
"testMatch": [
"**/__tests__/**/*.test.js?(x)"
],
"moduleNameMapper": {
"^#spruce/(.*)$": "<rootDir>/build/.spruce/$1"
}
}
}