1 | {
|
2 | "name": "yup",
|
3 | "version": "0.32.11",
|
4 | "description": "Dead simple Object schema validation",
|
5 | "main": "lib/index.js",
|
6 | "module": "es/index.js",
|
7 | "runkitExampleFilename": "./runkit-example.js",
|
8 | "scripts": {
|
9 | "test": "yarn lint && yarn test-all --runInBand",
|
10 | "testonly": "jest",
|
11 | "test-sync": "yarn testonly --projects ./jest-sync.config.json",
|
12 | "test-all": "yarn testonly --projects ./jest-sync.config.json --projects ./package.json",
|
13 | "tdd": "jest --watch",
|
14 | "lint": "eslint src test",
|
15 | "precommit": "lint-staged",
|
16 | "toc": "doctoc README.md --github",
|
17 | "release": "rollout",
|
18 | "build": "yarn 4c build && yarn toc",
|
19 | "prepublishOnly": "yarn build"
|
20 | },
|
21 | "files": [
|
22 | "es",
|
23 | "lib"
|
24 | ],
|
25 | "repository": {
|
26 | "type": "git",
|
27 | "url": "git+https://github.com/jquense/yup.git"
|
28 | },
|
29 | "author": {
|
30 | "name": "@monasticpanic Jason Quense"
|
31 | },
|
32 | "license": "MIT",
|
33 | "bugs": {
|
34 | "url": "https://github.com/jquense/yup/issues"
|
35 | },
|
36 | "homepage": "https://github.com/jquense/yup",
|
37 | "release": {
|
38 | "conventionalCommits": true
|
39 | },
|
40 | "prettier": {
|
41 | "singleQuote": true,
|
42 | "trailingComma": "all"
|
43 | },
|
44 | "lint-staged": {
|
45 | "*.{js,json,css,md}": [
|
46 | "prettier --write",
|
47 | "git add"
|
48 | ]
|
49 | },
|
50 | "jest": {
|
51 | "globals": {
|
52 | "YUP_USE_SYNC": false
|
53 | },
|
54 | "testEnvironment": "node",
|
55 | "setupFilesAfterEnv": [
|
56 | "./test-setup.js"
|
57 | ],
|
58 | "roots": [
|
59 | "test"
|
60 | ],
|
61 | "testRegex": "\\.(j|t)s$",
|
62 | "testPathIgnorePatterns": [
|
63 | "helpers\\.js",
|
64 | "\\.eslintrc\\.js",
|
65 | "types\\.ts"
|
66 | ]
|
67 | },
|
68 | "devDependencies": {
|
69 | "@4c/cli": "^3.0.1",
|
70 | "@4c/rollout": "^3.0.1",
|
71 | "@4c/tsconfig": "^0.4.0",
|
72 | "@babel/cli": "^7.15.7",
|
73 | "@babel/core": "^7.15.8",
|
74 | "@babel/plugin-proposal-logical-assignment-operators": "^7.14.5",
|
75 | "@babel/preset-typescript": "^7.15.0",
|
76 | "@typescript-eslint/eslint-plugin": "^4.33.0",
|
77 | "@typescript-eslint/parser": "^4.33.0",
|
78 | "babel-eslint": "^10.1.0",
|
79 | "babel-jest": "^27.2.5",
|
80 | "babel-plugin-transform-rename-import": "^2.3.0",
|
81 | "babel-preset-jason": "^6.3.0",
|
82 | "benchmark": "^2.1.4",
|
83 | "chai": "^4.3.4",
|
84 | "chai-as-promised": "^7.1.1",
|
85 | "dirty-chai": "^2.0.1",
|
86 | "doctoc": "^2.0.1",
|
87 | "eslint": "^7.12.0",
|
88 | "eslint-config-jason": "^8.1.1",
|
89 | "eslint-config-prettier": "^8.3.0",
|
90 | "eslint-plugin-import": "^2.24.2",
|
91 | "eslint-plugin-jest": "^25.0.1",
|
92 | "eslint-plugin-react": "^7.26.1",
|
93 | "eslint-plugin-react-hooks": "^4.2.0",
|
94 | "eslint-plugin-ts-expect": "^2.0.0",
|
95 | "eslint-plugin-typescript": "^0.14.0",
|
96 | "hookem": "^2.0.1",
|
97 | "jest": "^27.2.5",
|
98 | "lint-staged": "^11.2.3",
|
99 | "prettier": "^2.4.1",
|
100 | "rollup": "^2.58.0",
|
101 | "rollup-plugin-babel": "^4.4.0",
|
102 | "rollup-plugin-filesize": "^9.1.1",
|
103 | "rollup-plugin-node-resolve": "^5.2.0",
|
104 | "rollup-plugin-size-snapshot": "^0.12.0",
|
105 | "sinon": "^11.1.2",
|
106 | "sinon-chai": "^3.7.0",
|
107 | "synchronous-promise": "^2.0.15",
|
108 | "typescript": "^4.4.3"
|
109 | },
|
110 | "dependencies": {
|
111 | "@babel/runtime": "^7.15.4",
|
112 | "@types/lodash": "^4.14.175",
|
113 | "lodash": "^4.17.21",
|
114 | "lodash-es": "^4.17.21",
|
115 | "nanoclone": "^0.2.1",
|
116 | "property-expr": "^2.0.4",
|
117 | "toposort": "^2.0.2"
|
118 | },
|
119 | "engines": {
|
120 | "node": ">=10"
|
121 | }
|
122 | }
|