|
23 | 23 | "test",
|
24 | 24 | "integration"
|
25 | 25 | ],
|
| 26 | + "scripts": { |
| 27 | + "clean": "del build", |
| 28 | + "test": "jest", |
| 29 | + "test:ci": "jest --maxWorkers=2 --collectCoverage=true --coverage-provider=v8", |
| 30 | + "test:react-17": "scripts/test_react_17", |
| 31 | + "typecheck": "tsc", |
| 32 | + "flow": "flow", |
| 33 | + "copy-flowtypes": "cp typings/index.flow.js build", |
| 34 | + "lint": "eslint src --cache", |
| 35 | + "validate": "yarn lint && yarn typecheck && yarn test", |
| 36 | + "build:js": "babel src --out-dir build --extensions \".js,.ts,.jsx,.tsx\" --source-maps --ignore \"**/__tests__/**\"", |
| 37 | + "build:js:watch": "yarn build:js --watch", |
| 38 | + "build:ts": "tsc --build tsconfig.release.json", |
| 39 | + "build:ts:watch": "yarn build:ts --watch --preserveWatchOutput", |
| 40 | + "build": "yarn clean && yarn build:js && yarn build:ts && yarn copy-flowtypes", |
| 41 | + "prepare": "yarn build", |
| 42 | + "prepublish": "yarn build", |
| 43 | + "publish": "release-it" |
| 44 | + }, |
26 | 45 | "files": [
|
27 | 46 | "build/",
|
28 | 47 | "jest-preset/",
|
|
33 | 52 | "dont-cleanup-after-each.js",
|
34 | 53 | "typings/index.flow.js"
|
35 | 54 | ],
|
| 55 | + "dependencies": { |
| 56 | + "jest-matcher-utils": "^29.7.0", |
| 57 | + "pretty-format": "^29.7.0", |
| 58 | + "redent": "^3.0.0" |
| 59 | + }, |
| 60 | + "peerDependencies": { |
| 61 | + "jest": ">=28.0.0", |
| 62 | + "react": ">=16.8.0", |
| 63 | + "react-native": ">=0.59", |
| 64 | + "react-test-renderer": ">=16.8.0" |
| 65 | + }, |
| 66 | + "peerDependenciesMeta": { |
| 67 | + "jest": { |
| 68 | + "optional": true |
| 69 | + } |
| 70 | + }, |
36 | 71 | "devDependencies": {
|
37 | 72 | "@babel/cli": "^7.23.4",
|
38 | 73 | "@babel/core": "^7.23.3",
|
|
57 | 92 | "react": "18.2.0",
|
58 | 93 | "react-native": "0.72.7",
|
59 | 94 | "react-test-renderer": "18.2.0",
|
| 95 | + "release-it": "^17.0.1", |
60 | 96 | "strip-ansi": "^6.0.1",
|
61 | 97 | "typescript": "^5.3.2"
|
62 | 98 | },
|
63 |
| - "dependencies": { |
64 |
| - "jest-matcher-utils": "^29.7.0", |
65 |
| - "pretty-format": "^29.7.0", |
66 |
| - "redent": "^3.0.0" |
67 |
| - }, |
68 |
| - "peerDependencies": { |
69 |
| - "jest": ">=28.0.0", |
70 |
| - "react": ">=16.8.0", |
71 |
| - "react-native": ">=0.59", |
72 |
| - "react-test-renderer": ">=16.8.0" |
73 |
| - }, |
74 |
| - "peerDependenciesMeta": { |
75 |
| - "jest": { |
76 |
| - "optional": true |
77 |
| - } |
78 |
| - }, |
79 |
| - "scripts": { |
80 |
| - "clean": "del build", |
81 |
| - "test": "jest", |
82 |
| - "test:ci": "jest --maxWorkers=2 --collectCoverage=true --coverage-provider=v8", |
83 |
| - "test:react-17": "scripts/test_react_17", |
84 |
| - "typecheck": "tsc", |
85 |
| - "flow": "flow", |
86 |
| - "copy-flowtypes": "cp typings/index.flow.js build", |
87 |
| - "lint": "eslint src --cache", |
88 |
| - "validate": "yarn lint && yarn typecheck && yarn test", |
89 |
| - "prepublish": "yarn build", |
90 |
| - "build:js": "babel src --out-dir build --extensions \".js,.ts,.jsx,.tsx\" --source-maps --ignore \"**/__tests__/**\"", |
91 |
| - "build:js:watch": "yarn build:js --watch", |
92 |
| - "build:ts": "tsc --build tsconfig.release.json", |
93 |
| - "build:ts:watch": "yarn build:ts --watch --preserveWatchOutput", |
94 |
| - "build": "yarn clean && yarn build:js && yarn build:ts && yarn copy-flowtypes", |
95 |
| - "prepare": "yarn build" |
| 99 | + "publishConfig": { |
| 100 | + "registry": "https://registry.npmjs.org" |
96 | 101 | },
|
97 | 102 | "packageManager": "[email protected]"
|
98 | 103 | }
|
0 commit comments