|
6 | 6 | ], |
7 | 7 | "scripts": { |
8 | 8 | "postinstall": "lerna bootstrap", |
9 | | - "clean": "lerna exec \"rm -rf ./{dist,*.tsbuildinfo}\"", |
| 9 | + "clean": "rm -rf ./packages/*/{*.tsbuildinfo,dist}", |
10 | 10 | "clean:prune": "rm -rf ./{,*/,**/*/}{node_modules,coverage,*.lock,*.log,*.tsbuildinfo,dist}", |
11 | | - "build": "yarn clean && lerna run build --ignore=@email-types/scripts && yarn types", |
| 11 | + "build": "yarn clean && lerna run build --ignore=@email-types/scripts && yarn types && yarn run gen mso", |
12 | 12 | "dev": "run-p dev:* ", |
13 | 13 | "dev:all": "lerna run dev --parallel", |
14 | 14 | "dev:types": "run-p \"types:* --watch\"", |
| 15 | + "gen": "yarn workspace @email-types/scripts build", |
15 | 16 | "test": "yarn build && yarn lint && yarn jest:coverage", |
16 | 17 | "jest": "jest --colors --logHeapUsage", |
17 | 18 | "jest:coverage": "yarn run jest --coverage", |
18 | | - "lint": "yarn run eslint .", |
19 | | - "eslint": "eslint --ext js,jsx,ts,tsx --max-warnings=0 --report-unused-disable-directives", |
| 19 | + "lint": "eslint . --ext js,jsx,ts,tsx --max-warnings=0 --report-unused-disable-directives", |
20 | 20 | "prettier": "prettier \"**/*.{js,jsx,ts,tsx,md,mdx,json}\" --write", |
21 | 21 | "types": "tsc --build packages/*/tsconfig.json", |
22 | 22 | "prepublishOnly": "NODE_ENV=production yarn run build", |
23 | 23 | "release": "lerna publish", |
24 | 24 | "release:publish": "lerna publish from-git", |
25 | 25 | "release:version": "lerna version --conventional-commits --changelog-preset conventional-changelog-beemo --create-release github --push", |
26 | | - "canary:version": "lerna version prerelease --preid canary --conventional-commits --changelog-preset conventional-changelog-beemo --create-release github --push", |
27 | | - "emailtypes": "yarn workspace @email-types/scripts build" |
| 26 | + "canary:version": "lerna version prerelease --preid canary --conventional-commits --changelog-preset conventional-changelog-beemo --create-release github --push" |
28 | 27 | }, |
29 | 28 | "lint-staged": { |
30 | 29 | "**/*.{js,jsx,ts,tsx,md,mdx,json}": [ |
|
0 commit comments