|
10 | 10 | },
|
11 | 11 | "scripts": {
|
12 | 12 | "start": "start-storybook -p 9001 -c .storybook",
|
13 |
| - "dev": "yarn start", |
14 | 13 | "test": "cross-env CI=true ts-node ./scripts/test packages",
|
15 | 14 | "test:pkg": "cross-env CI=true ts-node ./scripts/test --pkg",
|
16 | 15 | "test:watch": "ts-node ./scripts/test packages",
|
17 | 16 | "test:coverage": "yarn test --coverage",
|
18 |
| - "build": "node -r ts-node/register --max-old-space-size=3049 scripts/build-all", |
19 |
| - "build:pkg": "ts-node --transpile-only scripts/build-package", |
| 17 | + "build": "yarn build:packages", |
| 18 | + "build:packages": "preconstruct build", |
20 | 19 | "ver": "lerna version --no-push --exact",
|
21 | 20 | "changes": "dotenv lerna-changelog",
|
22 | 21 | "clean": "git clean -e '!/.env' -e '!/website-deploy-key' -e '!/website-deploy-key.pub' -fdX .",
|
23 | 22 | "lint": "eslint .",
|
| 23 | + "fix": "manypkg fix && preconstruct fix", |
| 24 | + "dev": "yarn start", |
| 25 | + "postinstall": "manypkg check && preconstruct dev", |
24 | 26 | "release": "lerna publish from-git --yes --pre-dist-tag next"
|
25 | 27 | },
|
26 | 28 | "dependencies": {
|
27 |
| - "@babel/core": "^7.11.4", |
28 |
| - "@babel/plugin-proposal-class-properties": "^7.10.4", |
29 |
| - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4", |
30 |
| - "@babel/plugin-proposal-optional-chaining": "^7.11.0", |
31 |
| - "@babel/preset-env": "^7.11.0", |
32 |
| - "@babel/preset-react": "^7.10.4", |
| 29 | + "@babel/core": "^7.12.10", |
| 30 | + "@babel/plugin-proposal-class-properties": "^7.12.1", |
| 31 | + "@babel/preset-env": "^7.12.11", |
| 32 | + "@babel/preset-react": "^7.12.10", |
| 33 | + "@babel/preset-typescript": "^7.12.7", |
| 34 | + "@manypkg/cli": "^0.17.0", |
| 35 | + "@preconstruct/cli": "^2.0.1", |
33 | 36 | "@reach/router": "^1.3.4",
|
34 | 37 | "@rollup/plugin-commonjs": "^15.0.0",
|
35 | 38 | "@rollup/plugin-json": "^4.1.0",
|
|
66 | 69 | "@typescript-eslint/eslint-plugin": "^3.9.1",
|
67 | 70 | "@typescript-eslint/parser": "^3.9.1",
|
68 | 71 | "autoprefixer": "^9.8.6",
|
69 |
| - "awesome-typescript-loader": "^5.2.1", |
70 | 72 | "babel-eslint": "^10.1.0",
|
71 |
| - "babel-jest": "^26.3.0", |
72 |
| - "babel-loader": "^8.1.0", |
| 73 | + "babel-jest": "^26.6.3", |
| 74 | + "babel-loader": "^8.2.2", |
73 | 75 | "babel-plugin-annotate-pure-calls": "0.4.0",
|
74 | 76 | "babel-plugin-dev-expression": "0.2.2",
|
75 |
| - "babel-plugin-macros": "^2.8.0", |
| 77 | + "babel-plugin-macros": "^3.0.1", |
76 | 78 | "chalk": "^4.1.0",
|
77 | 79 | "cross-env": "^7.0.2",
|
78 | 80 | "dotenv-cli": "^3.2.0",
|
|
86 | 88 | "fs-extra": "^9.0.1",
|
87 | 89 | "husky": "^4.2.5",
|
88 | 90 | "jest": "^26.4.1",
|
89 |
| - "jest-watch-typeahead": "0.6.0", |
90 | 91 | "jest-axe": "^3.5.0",
|
| 92 | + "jest-watch-typeahead": "0.6.0", |
91 | 93 | "lerna": "^3.22.1",
|
92 | 94 | "lerna-changelog": "^1.0.1",
|
93 | 95 | "lerna-script": "^1.3.2",
|
|
105 | 107 | "react-router-dom": "^5.2.0",
|
106 | 108 | "react-spring": "^8.0.27",
|
107 | 109 | "react-test-renderer": "^16.13.1",
|
108 |
| - "rollup": "^2.26.4", |
109 |
| - "rollup-plugin-babel": "^4.4.0", |
110 |
| - "rollup-plugin-sourcemaps": "0.6.2", |
111 |
| - "rollup-plugin-terser": "^7.0.0", |
112 |
| - "rollup-plugin-typescript2": "0.27.2", |
113 | 110 | "sinon": "^9.0.3",
|
114 | 111 | "styled-components": "^5.1.1",
|
115 | 112 | "ts-jest": "^26.3.0",
|
|
182 | 179 | ],
|
183 | 180 | "prettier": {
|
184 | 181 | "singleQuote": false
|
| 182 | + }, |
| 183 | + "preconstruct": { |
| 184 | + "packages": [ |
| 185 | + "packages/*" |
| 186 | + ] |
185 | 187 | }
|
186 | 188 | }
|
0 commit comments