|
2 | 2 | "name": "@testing-library/react-native", |
3 | 3 | "version": "14.0.0-rc.1", |
4 | 4 | "description": "Simple and complete React Native testing utilities that encourage good testing practices.", |
5 | | - "main": "build/index.js", |
6 | | - "types": "build/index.d.ts", |
| 5 | + "main": "dist/index.js", |
| 6 | + "types": "dist/index.d.ts", |
7 | 7 | "repository": { |
8 | 8 | "type": "git", |
9 | 9 | "url": "https://www.github.com/callstack/react-native-testing-library.git" |
|
23 | 23 | "integration" |
24 | 24 | ], |
25 | 25 | "scripts": { |
26 | | - "clean": "del build", |
| 26 | + "clean": "del dist", |
27 | 27 | "test": "jest", |
28 | 28 | "test:ci": "jest --maxWorkers=2", |
29 | 29 | "test:ci:coverage": "jest --maxWorkers=2 --collectCoverage=true", |
|
39 | 39 | "validate:examples": "yarn --cwd examples/basic validate && yarn --cwd examples/cookbook validate", |
40 | 40 | "validate:all": "yarn validate && yarn validate:examples && yarn docs:check && yarn --cwd website validate && yarn --cwd experiments-app validate", |
41 | 41 | "validate:fix": "yarn prettier:fix && yarn lint --fix && yarn typecheck && yarn test -u && docs:generate", |
42 | | - "build:js": "babel src --out-dir build --extensions \".js,.ts,.jsx,.tsx\" --source-maps --ignore \"**/__tests__/**\"", |
| 42 | + "build:js": "babel src --out-dir dist --extensions \".js,.ts,.jsx,.tsx\" --source-maps --ignore \"**/__tests__/**\"", |
43 | 43 | "build:ts": "tsc --build tsconfig.release.json", |
44 | 44 | "build": "yarn clean && yarn build:js && yarn build:ts", |
45 | 45 | "release": "release-it", |
46 | 46 | "release:next": "release-it --preRelease=rc --npm.tag=next", |
47 | 47 | "release:codemods": "yarn test:codemods && yarn dlx codemod@latest publish codemods/v14-async-functions && yarn dlx codemod@latest publish codemods/v14-update-deps" |
48 | 48 | }, |
49 | 49 | "files": [ |
50 | | - "build/", |
| 50 | + "dist/", |
51 | 51 | "matchers.js", |
52 | 52 | "matchers.d.ts", |
53 | 53 | "pure.js", |
|
0 commit comments