|
3 | 3 | "version": "1.0.0-beta.0", |
4 | 4 | "description": "Dead simple Object schema validation", |
5 | 5 | "main": "lib/index.js", |
6 | | - "module": "es/index.js", |
| 6 | + "module": "lib/index.esm.js", |
7 | 7 | "runkitExampleFilename": "./runkit-example.js", |
8 | 8 | "scripts": { |
9 | 9 | "test": "yarn lint && yarn test-all --runInBand", |
|
15 | 15 | "precommit": "lint-staged", |
16 | 16 | "toc": "doctoc README.md --github", |
17 | 17 | "release": "rollout", |
18 | | - "build": "yarn 4c build && yarn toc", |
| 18 | + "build:dts": "yarn tsc --emitDeclarationOnly -p . --outDir dts", |
| 19 | + "build": "rm -rf dts && yarn build:dts && yarn rollup -c rollup.config.js && yarn toc", |
19 | 20 | "prepublishOnly": "yarn build" |
20 | 21 | }, |
21 | | - "files": [ |
22 | | - "es", |
23 | | - "lib" |
24 | | - ], |
25 | 22 | "repository": { |
26 | 23 | "type": "git", |
27 | 24 | "url": "git+https://github.com/jquense/yup.git" |
|
35 | 32 | }, |
36 | 33 | "homepage": "https://github.com/jquense/yup", |
37 | 34 | "release": { |
38 | | - "conventionalCommits": true |
| 35 | + "conventionalCommits": true, |
| 36 | + "publishDir": "lib" |
39 | 37 | }, |
40 | 38 | "prettier": { |
41 | 39 | "singleQuote": true, |
|
69 | 67 | "@4c/cli": "^3.0.1", |
70 | 68 | "@4c/rollout": "^3.0.1", |
71 | 69 | "@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 | | - "@types/jest": "^27.0.3", |
77 | | - "@typescript-eslint/eslint-plugin": "^4.33.0", |
78 | | - "@typescript-eslint/parser": "^4.33.0", |
79 | | - "babel-eslint": "^10.1.0", |
80 | | - "babel-jest": "^27.2.5", |
81 | | - "babel-plugin-transform-rename-import": "^2.3.0", |
82 | | - "babel-preset-jason": "^6.3.0", |
83 | | - "doctoc": "^2.0.1", |
84 | | - "eslint": "^7.12.0", |
85 | | - "eslint-config-jason": "^8.1.1", |
| 70 | + "@babel/cli": "^7.16.7", |
| 71 | + "@babel/core": "^7.16.7", |
| 72 | + "@babel/preset-typescript": "^7.16.7", |
| 73 | + "@rollup/plugin-babel": "^5.3.0", |
| 74 | + "@rollup/plugin-node-resolve": "^13.1.2", |
| 75 | + "@types/jest": "^27.4.0", |
| 76 | + "@typescript-eslint/eslint-plugin": "^5.8.1", |
| 77 | + "@typescript-eslint/parser": "^5.8.1", |
| 78 | + "babel-jest": "^27.4.5", |
| 79 | + "babel-preset-env-modules": "^1.0.1", |
| 80 | + "doctoc": "^2.1.0", |
| 81 | + "dts-bundle-generator": "^6.3.0", |
| 82 | + "eslint": "^8.6.0", |
| 83 | + "eslint-config-jason": "^8.2.2", |
86 | 84 | "eslint-config-prettier": "^8.3.0", |
87 | | - "eslint-plugin-import": "^2.24.2", |
88 | | - "eslint-plugin-jest": "^25.0.1", |
89 | | - "eslint-plugin-react": "^7.26.1", |
90 | | - "eslint-plugin-react-hooks": "^4.2.0", |
91 | | - "eslint-plugin-ts-expect": "^2.0.0", |
| 85 | + "eslint-plugin-import": "^2.25.4", |
| 86 | + "eslint-plugin-jest": "^25.3.4", |
| 87 | + "eslint-plugin-react": "^7.28.0", |
| 88 | + "eslint-plugin-react-hooks": "^4.3.0", |
| 89 | + "eslint-plugin-ts-expect": "^2.1.0", |
92 | 90 | "eslint-plugin-typescript": "^0.14.0", |
93 | 91 | "hookem": "^2.0.1", |
94 | | - "jest": "^27.2.5", |
95 | | - "lint-staged": "^11.2.3", |
96 | | - "prettier": "^2.4.1", |
97 | | - "rollup": "^2.58.0", |
| 92 | + "jest": "^27.4.5", |
| 93 | + "lint-staged": "^12.1.5", |
| 94 | + "prettier": "^2.5.1", |
| 95 | + "rollup": "^2.62.0", |
98 | 96 | "rollup-plugin-babel": "^4.4.0", |
| 97 | + "rollup-plugin-dts": "^4.1.0", |
99 | 98 | "rollup-plugin-filesize": "^9.1.1", |
100 | 99 | "rollup-plugin-node-resolve": "^5.2.0", |
101 | | - "rollup-plugin-size-snapshot": "^0.12.0", |
102 | 100 | "synchronous-promise": "^2.0.15", |
103 | | - "typescript": "^4.4.3" |
| 101 | + "typescript": "^4.5.4" |
104 | 102 | }, |
105 | 103 | "dependencies": { |
106 | | - "nanoclone": "^0.2.1", |
| 104 | + "nanoclone": "^1.0.0", |
107 | 105 | "property-expr": "^2.0.4", |
108 | 106 | "tiny-case": "^1.0.2", |
109 | 107 | "toposort": "^2.0.2" |
|
0 commit comments