|
8 | 8 | "postinstall": "lerna bootstrap", |
9 | 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 --stream && yarn types", |
| 11 | + "build": "yarn clean && yarn build:data && yarn scripts:build && yarn types", |
| 12 | + "build:data": "yarn workspace @email-types/data build", |
| 13 | + "scripts:build": "yarn workspace @email-types/scripts build", |
| 14 | + "scripts:prerelease": "yarn workspace @email-types/scripts prerelease", |
12 | 15 | "test": "yarn build && yarn lint && yarn jest:coverage", |
13 | 16 | "jest": "jest --colors --logHeapUsage", |
14 | | - "jest:coverage": "yarn run jest --coverage", |
| 17 | + "jest:coverage": "yarn jest --coverage", |
15 | 18 | "lint": "eslint . --ext js,jsx,ts,tsx --max-warnings=0 --report-unused-disable-directives", |
16 | 19 | "prettier": "prettier \"**/*.{js,jsx,ts,tsx,md,mdx,json}\" --write", |
17 | 20 | "types": "tsc --build packages/*/tsconfig.json", |
18 | | - "prepublishOnly": "NODE_ENV=production yarn run build", |
19 | | - "release": "lerna publish", |
20 | | - "release:publish": "lerna publish from-git", |
| 21 | + "prerelease": "yarn build && yarn scripts:prerelease", |
| 22 | + "release": "yarn prerelease && lerna publish", |
| 23 | + "release:publish": "yarn prerelease && lerna publish from-git", |
21 | 24 | "release:version": "lerna version --conventional-commits --changelog-preset conventional-changelog-beemo --create-release github --push", |
22 | 25 | "canary:version": "lerna version prerelease --preid canary --conventional-commits --changelog-preset conventional-changelog-beemo --create-release github --push" |
23 | 26 | }, |
24 | 27 | "lint-staged": { |
25 | 28 | "**/*.{js,jsx,ts,tsx,md,mdx,json}": [ |
26 | | - "yarn run prettier" |
| 29 | + "yarn prettier" |
27 | 30 | ], |
28 | 31 | "**/*.{js,jsx,ts,tsx}": [ |
29 | | - "yarn run lint --fix" |
| 32 | + "yarn lint --fix" |
30 | 33 | ] |
31 | 34 | }, |
32 | 35 | "husky": { |
|
35 | 38 | } |
36 | 39 | }, |
37 | 40 | "devDependencies": { |
38 | | - "@babel/cli": "^7.7.0", |
39 | | - "@babel/core": "^7.7.2", |
40 | | - "@babel/preset-env": "^7.7.1", |
41 | | - "@babel/preset-typescript": "^7.7.2", |
| 41 | + "@babel/cli": "^7.7.7", |
| 42 | + "@babel/core": "^7.7.7", |
| 43 | + "@babel/preset-env": "^7.7.7", |
| 44 | + "@babel/preset-typescript": "^7.7.7", |
42 | 45 | "@postmates/eslint-config": "^5.1.1", |
43 | 46 | "@types/eslint": "^6.1.3", |
44 | | - "@types/fs-extra": "^8.0.1", |
45 | | - "@types/jest": "^24.0.23", |
46 | | - "@types/mri": "^1.1.0", |
47 | | - "@types/node": "^12.12.14", |
| 47 | + "@types/jest": "^24.0.24", |
| 48 | + "@types/node": "^12.12.21", |
48 | 49 | "@types/prettier": "^1.19.0", |
49 | 50 | "@typescript-eslint/eslint-plugin": "^2.7.0", |
50 | 51 | "@typescript-eslint/parser": "^2.7.0", |
51 | | - "conventional-changelog-beemo": "^1.5.3", |
52 | | - "eslint": "^6.6.0", |
53 | | - "eslint-config-prettier": "^6.6.0", |
54 | | - "eslint-plugin-import": "^2.18.2", |
55 | | - "eslint-plugin-jest": "^23.0.4", |
| 52 | + "conventional-changelog-beemo": "^1.6.0", |
| 53 | + "eslint": "^6.8.0", |
| 54 | + "eslint-config-prettier": "^6.7.0", |
| 55 | + "eslint-plugin-import": "^2.19.1", |
| 56 | + "eslint-plugin-jest": "^23.1.1", |
56 | 57 | "eslint-plugin-jsx-a11y": "^6.2.3", |
57 | | - "eslint-plugin-prettier": "^3.1.1", |
58 | | - "eslint-plugin-react": "^7.16.0", |
| 58 | + "eslint-plugin-prettier": "^3.1.2", |
| 59 | + "eslint-plugin-react": "^7.17.0", |
59 | 60 | "eslint-plugin-react-hooks": "^1.7.0", |
60 | | - "fs-extra": "^8.1.0", |
61 | 61 | "husky": "^3.0.9", |
62 | 62 | "jest": "^24.9.0", |
63 | | - "lerna": "^3.18.4", |
| 63 | + "lerna": "^3.19.0", |
64 | 64 | "lint-staged": "^10.0.0-1", |
65 | 65 | "prettier": "^1.19.1", |
66 | 66 | "react": "^16.12.0", |
67 | | - "typescript": "^3.7.2" |
| 67 | + "typescript": "^3.7.4" |
68 | 68 | }, |
69 | 69 | "keywords": [ |
70 | 70 | "css-in-js", |
|
0 commit comments