123 lines
3.2 KiB
JSON
123 lines
3.2 KiB
JSON
|
{
|
||
|
"name": "yup",
|
||
|
"version": "0.32.9",
|
||
|
"description": "Dead simple Object schema validation",
|
||
|
"main": "lib/index.js",
|
||
|
"module": "es/index.js",
|
||
|
"runkitExampleFilename": "./runkit-example.js",
|
||
|
"scripts": {
|
||
|
"test": "yarn lint && yarn test-all --runInBand",
|
||
|
"testonly": "jest",
|
||
|
"test-sync": "yarn testonly --projects ./jest-sync.config.json",
|
||
|
"test-all": "yarn testonly --projects ./jest-sync.config.json --projects ./package.json",
|
||
|
"tdd": "jest --watch",
|
||
|
"lint": "eslint src test",
|
||
|
"precommit": "lint-staged",
|
||
|
"toc": "doctoc README.md --github",
|
||
|
"release": "rollout",
|
||
|
"build": "yarn 4c build && yarn toc",
|
||
|
"prepublishOnly": "yarn build"
|
||
|
},
|
||
|
"files": [
|
||
|
"es",
|
||
|
"lib"
|
||
|
],
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/jquense/yup.git"
|
||
|
},
|
||
|
"author": {
|
||
|
"name": "@monasticpanic Jason Quense"
|
||
|
},
|
||
|
"license": "MIT",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/jquense/yup/issues"
|
||
|
},
|
||
|
"homepage": "https://github.com/jquense/yup",
|
||
|
"release": {
|
||
|
"conventionalCommits": true
|
||
|
},
|
||
|
"prettier": {
|
||
|
"singleQuote": true,
|
||
|
"trailingComma": "all"
|
||
|
},
|
||
|
"lint-staged": {
|
||
|
"*.{js,json,css,md}": [
|
||
|
"prettier --write",
|
||
|
"git add"
|
||
|
]
|
||
|
},
|
||
|
"jest": {
|
||
|
"globals": {
|
||
|
"YUP_USE_SYNC": false
|
||
|
},
|
||
|
"testEnvironment": "node",
|
||
|
"setupFilesAfterEnv": [
|
||
|
"./test-setup.js"
|
||
|
],
|
||
|
"roots": [
|
||
|
"test"
|
||
|
],
|
||
|
"testRegex": "\\.(j|t)s$",
|
||
|
"testPathIgnorePatterns": [
|
||
|
"helpers\\.js",
|
||
|
"\\.eslintrc\\.js",
|
||
|
"types\\.ts"
|
||
|
]
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@4c/cli": "^2.1.12",
|
||
|
"@4c/rollout": "^2.1.11",
|
||
|
"@4c/tsconfig": "^0.3.1",
|
||
|
"@babel/cli": "7.12.1",
|
||
|
"@babel/core": "7.12.3",
|
||
|
"@babel/plugin-proposal-logical-assignment-operators": "^7.12.1",
|
||
|
"@babel/preset-typescript": "^7.12.1",
|
||
|
"@typescript-eslint/parser": "^4.8.1",
|
||
|
"babel-core": "^7.0.0-bridge.0",
|
||
|
"babel-eslint": "^10.1.0",
|
||
|
"babel-jest": "^26.6.1",
|
||
|
"babel-plugin-transform-rename-import": "^2.3.0",
|
||
|
"babel-preset-jason": "^6.3.0",
|
||
|
"benchmark": "^2.1.4",
|
||
|
"chai": "^4.2.0",
|
||
|
"chai-as-promised": "^7.1.1",
|
||
|
"dirty-chai": "^2.0.1",
|
||
|
"doctoc": "^1.4.0",
|
||
|
"eslint": "^7.12.0",
|
||
|
"eslint-config-jason": "^7.0.1",
|
||
|
"eslint-config-prettier": "^6.14.0",
|
||
|
"eslint-plugin-import": "^2.22.1",
|
||
|
"eslint-plugin-jest": "^24.1.0",
|
||
|
"eslint-plugin-react": "^7.21.5",
|
||
|
"eslint-plugin-react-hooks": "^4.2.0",
|
||
|
"eslint-plugin-ts-expect": "^1.0.1",
|
||
|
"eslint-plugin-typescript": "^0.14.0",
|
||
|
"husky": "^4.3.0",
|
||
|
"jest": "^26.6.1",
|
||
|
"lint-staged": "^10.4.2",
|
||
|
"prettier": "^2.1.2",
|
||
|
"rollup": "^2.32.1",
|
||
|
"rollup-plugin-babel": "^4.4.0",
|
||
|
"rollup-plugin-filesize": "^8.0.2",
|
||
|
"rollup-plugin-node-resolve": "^5.2.0",
|
||
|
"rollup-plugin-size-snapshot": "^0.12.0",
|
||
|
"sinon": "^9.2.0",
|
||
|
"sinon-chai": "^3.5.0",
|
||
|
"synchronous-promise": "^2.0.15",
|
||
|
"typescript": "^4.0.5"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@babel/runtime": "^7.10.5",
|
||
|
"@types/lodash": "^4.14.165",
|
||
|
"lodash": "^4.17.20",
|
||
|
"lodash-es": "^4.17.15",
|
||
|
"nanoclone": "^0.2.1",
|
||
|
"property-expr": "^2.0.4",
|
||
|
"toposort": "^2.0.2"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=10"
|
||
|
}
|
||
|
}
|