|
5 | 5 | ], |
6 | 6 | "scripts": { |
7 | 7 | "lint": "eslint --ext '.js,.ts' './packages'", |
8 | | - "build:source": "lerna exec --parallel \"babel src --out-dir build --extensions .js,.ts,.tsx --source-maps --delete-dir-on-start --config-file=../../babel.config.js\"", |
9 | | - "watch": "lerna exec --parallel \"babel src --out-dir build --extensions .js,.ts,.tsx --source-maps --delete-dir-on-start --config-file=../../babel.config.js --watch\"", |
10 | | - "build:def": "lerna exec --ignore @haul-bundler/core-legacy \"tsc --emitDeclarationOnly -p ./tsconfig.json --outDir ./build\"", |
11 | | - "prepare": "yarn build:source && yarn build:def", |
12 | | - "typecheck": "tsc --noEmit", |
13 | 8 | "test": "jest", |
| 9 | + "clean": "rm -rf ./packages/*/build ./packages/*/tsconfig.tsbuildinfo", |
| 10 | + "watch": "yarn clean && concurrently \"yarn:watch:source\" \"yarn:watch:ts\"", |
| 11 | + "build:source": "lerna exec --parallel \"babel src --out-dir build --extensions .js,.ts,.tsx --source-maps --config-file=../../babel.config.js\"", |
| 12 | + "watch:source": "lerna exec --parallel \"babel src --out-dir build --extensions .js,.ts,.tsx --source-maps --config-file=../../babel.config.js --watch\"", |
| 13 | + "build:ts": "node ./scripts/build_ts.js", |
| 14 | + "watch:ts": "node ./scripts/build_ts.js --watch", |
| 15 | + "prepare": "yarn clean && yarn build:source && yarn build:ts", |
14 | 16 | "coverage:report": "nyc report --reporter=lcov --reporter=json --reporter=text --exclude='**/haul-preset-0.59/*/vendor/**'", |
15 | 17 | "coverage:check": "nyc check-coverage --temp-dir coverage", |
16 | 18 | "release": "NODE_ENV=production yarn prepare && lerna publish --ignore-prepublish --ignore-scripts --sign-git-commit" |
17 | 19 | }, |
18 | 20 | "dependencies": { |
19 | 21 | "chalk": "^2.4.2", |
| 22 | + "concurrently": "^5.0.0", |
20 | 23 | "escape-string-regexp": "^2.0.0", |
| 24 | + "execa": "^3.2.0", |
| 25 | + "glob": "^7.1.5", |
21 | 26 | "lerna": "^3.16.4", |
22 | 27 | "mkdirp": "^0.5.1", |
23 | 28 | "node-fetch": "^2.6.0", |
|
35 | 40 | "@babel/preset-env": "^7.4.3", |
36 | 41 | "@babel/preset-typescript": "^7.3.3", |
37 | 42 | "@callstack/eslint-config": "^7.0.0", |
| 43 | + "@haul-bundler/babel-preset-react-native": "^0.14.0", |
| 44 | + "@haul-bundler/cli": "^0.14.0", |
| 45 | + "@haul-bundler/core": "^0.14.0", |
| 46 | + "@types/babel__core": "^7.1.2", |
| 47 | + "@types/case-sensitive-paths-webpack-plugin": "^2.1.3", |
| 48 | + "@types/cpx": "^1.5.0", |
| 49 | + "@types/dedent": "^0.7.0", |
| 50 | + "@types/del": "^4.0.0", |
| 51 | + "@types/hapi__boom": "^7.4.0", |
| 52 | + "@types/hapi__hapi": "^18.2.5", |
| 53 | + "@types/hapi__inert": "^5.2.0", |
| 54 | + "@types/hapi__joi": "^15.0.3", |
| 55 | + "@types/image-size": "^0.7.0", |
| 56 | + "@types/inquirer": "^6.5.0", |
| 57 | + "@types/is-ci": "^2.0.0", |
38 | 58 | "@types/jest": "^24.0.17", |
| 59 | + "@types/loader-utils": "^1.1.3", |
| 60 | + "@types/lodash.get": "^4.4.6", |
| 61 | + "@types/lodash.merge": "^4.6.6", |
| 62 | + "@types/lodash.throttle": "^4.1.6", |
39 | 63 | "@types/mkdirp": "^0.5.2", |
40 | 64 | "@types/node": "^10.14.15", |
| 65 | + "@types/node-fetch": "^2.5.0", |
| 66 | + "@types/npm-registry-fetch": "^4.0.1", |
| 67 | + "@types/resolve": "^0.0.8", |
41 | 68 | "@types/rimraf": "^2.0.2", |
| 69 | + "@types/semver": "^6.0.1", |
| 70 | + "@types/strip-ansi": "^5.2.1", |
| 71 | + "@types/terminal-kit": "^1.28.0", |
| 72 | + "@types/terser-webpack-plugin": "^1.2.1", |
42 | 73 | "@types/webpack": "^4.32.1", |
| 74 | + "@types/webpack-sources": "^0.1.5", |
| 75 | + "@types/which": "^1.3.1", |
| 76 | + "@types/wrap-ansi": "^3.0.0", |
| 77 | + "@types/ws": "^6.0.2", |
| 78 | + "@types/yargs": "^13.0.2", |
43 | 79 | "@typescript-eslint/eslint-plugin": "^1.13.0", |
44 | 80 | "@typescript-eslint/parser": "^1.13.0", |
45 | 81 | "babel-eslint": "^10.0.2", |
46 | 82 | "babel-jest": "^24.8.0", |
| 83 | + "babel-loader": "^8.0.5", |
47 | 84 | "babel-plugin-istanbul": "^5.2.0", |
48 | 85 | "codecov": "^3.5.0", |
| 86 | + "dedent": "^0.7.0", |
| 87 | + "del": "^5.1.0", |
49 | 88 | "eslint": "^6.1.0", |
50 | 89 | "jest": "^24.8.0", |
51 | 90 | "metro": "^0.56.0", |
52 | | - "typescript": "^3.5.3" |
| 91 | + "react-native": "0.60.0", |
| 92 | + "snapshot-diff": "^0.5.2", |
| 93 | + "source-map": "^0.7.3", |
| 94 | + "terser": "^4.1.3", |
| 95 | + "typescript": "^3.5.3", |
| 96 | + "webpack": "^4.39.1", |
| 97 | + "webpack-sources": "^1.4.3" |
53 | 98 | } |
54 | 99 | } |
0 commit comments