|
27 | 27 | "gatsby-recipes": "^0.2.30", |
28 | 28 | "gatsby-telemetry": "^1.3.37", |
29 | 29 | "hosted-git-info": "^3.0.5", |
30 | | - "ink": "^2.7.1", |
31 | | - "ink-spinner": "^3.1.0", |
32 | 30 | "is-valid-path": "^0.1.1", |
33 | 31 | "lodash": "^4.17.20", |
34 | 32 | "meant": "^1.0.2", |
|
37 | 35 | "pretty-error": "^2.1.1", |
38 | 36 | "progress": "^2.0.3", |
39 | 37 | "prompts": "^2.3.2", |
40 | | - "react": "^16.8.0", |
41 | 38 | "redux": "^4.0.5", |
42 | 39 | "resolve-cwd": "^3.0.0", |
43 | 40 | "semver": "^7.3.2", |
|
48 | 45 | "update-notifier": "^4.1.1", |
49 | 46 | "uuid": "3.4.0", |
50 | 47 | "yargs": "^15.4.1", |
| 48 | + "yoga-layout-prebuilt": "^1.9.6", |
51 | 49 | "yurnalist": "^1.1.2" |
52 | 50 | }, |
53 | 51 | "devDependencies": { |
54 | 52 | "@babel/cli": "^7.11.6", |
55 | 53 | "@babel/core": "^7.11.6", |
| 54 | + "@rollup/plugin-babel": "^5.1.0", |
| 55 | + "@rollup/plugin-commonjs": "^14.0.0", |
| 56 | + "@rollup/plugin-json": "^4.1.0", |
| 57 | + "@rollup/plugin-node-resolve": "^8.4.0", |
| 58 | + "@rollup/plugin-replace": "^2.3.3", |
56 | 59 | "@types/hosted-git-info": "^3.0.0", |
57 | 60 | "@types/yargs": "^15.0.7", |
58 | 61 | "babel-preset-gatsby-package": "^0.5.3", |
| 62 | + "concurrently": "^5.0.0", |
59 | 63 | "cross-env": "^7.0.2", |
60 | 64 | "rimraf": "^3.0.2", |
| 65 | + "ink": "^2.7.1", |
| 66 | + "ink-spinner": "^3.1.0", |
| 67 | + "react": "^16.8.0", |
| 68 | + "rollup": "^2.23.0", |
| 69 | + "rollup-plugin-auto-external": "^2.0.0", |
| 70 | + "rollup-plugin-internal": "^1.0.0", |
61 | 71 | "typescript": "^3.9.7" |
62 | 72 | }, |
63 | 73 | "files": [ |
|
77 | 87 | "directory": "packages/gatsby-cli" |
78 | 88 | }, |
79 | 89 | "scripts": { |
80 | | - "build": "babel src --out-dir lib --ignore \"**/__tests__\" --extensions \".ts,.js,.tsx\"", |
| 90 | + "build:babel": "babel --config-file ./non-rollup-babel.config.js src --out-dir lib --ignore \"**/__tests__\" --ignore \"src/reporter/loggers/ink/**/*\" --extensions \".ts,.js,.tsx\"", |
| 91 | + "build:rollup": "rollup -c", |
| 92 | + "build": "concurrently \"npm run build:babel\" \"npm run build:rollup\"", |
81 | 93 | "prepare": "cross-env NODE_ENV=production npm run build && npm run typegen", |
82 | 94 | "typegen": "rimraf \"lib/**/*.d.ts\" && tsc --emitDeclarationOnly --declaration --declarationDir lib/", |
83 | | - "watch": "babel -w src --out-dir lib --ignore \"**/__tests__\" --extensions \".ts,.js,.tsx\"", |
| 95 | + "watch:babel": "npm run build:babel -- --watch", |
| 96 | + "watch:rollup": "npm run build:rollup -- -w", |
| 97 | + "watch": "concurrently \"npm run watch:babel\" \"npm run watch:rollup\"", |
84 | 98 | "postinstall": "node scripts/postinstall.js" |
85 | 99 | }, |
86 | 100 | "engines": { |
|
0 commit comments