|
1 | 1 | { |
| 2 | + "workspaces": { |
| 3 | + "packages": [ |
| 4 | + "packages/*" |
| 5 | + ], |
| 6 | + "nohoist": [ |
| 7 | + "@pattern-lab/engine-*", |
| 8 | + "**/@pattern-lab/engine-*", |
| 9 | + "**/@pattern-lab/uikit-workshop" |
| 10 | + ] |
| 11 | + }, |
2 | 12 | "dependencies": { |
3 | 13 | "@babel/plugin-proposal-decorators": "^7.4.4", |
4 | 14 | "@babel/plugin-syntax-jsx": "^7.2.0", |
|
8 | 18 | "eslint-config-prettier": "^6.0.0", |
9 | 19 | "eslint-plugin-import": "^2.18.2", |
10 | 20 | "eslint-plugin-prettier": "^3.1.0", |
11 | | - "lerna": "3.11.0", |
12 | 21 | "prettier": "^1.14.3", |
13 | | - "pretty-quick": "^1.11.1" |
| 22 | + "lerna": "3.17.0", |
| 23 | + "pretty-quick": "^1.11.1", |
| 24 | + "auto": "^7.8.0" |
| 25 | + }, |
| 26 | + "repository": { |
| 27 | + "type": "git", |
| 28 | + "url": "git+https://github.com/pattern-lab/patternlab-node.git" |
14 | 29 | }, |
15 | 30 | "private": true, |
16 | 31 | "scripts": { |
17 | | - "postinstall": "npm run bootstrap", |
18 | | - "bootstrap": "lerna bootstrap", |
19 | | - "setup": "npm install && npm run build:uikit", |
| 32 | + "postinstall": "lerna run postbootstrap", |
| 33 | + "setup": "yarn", |
20 | 34 | "build:uikit": "cd packages/uikit-workshop && npm run build", |
21 | 35 | "precommit": "pretty-quick --staged", |
22 | 36 | "lint:fix": "npm run lint -- --fix", |
23 | 37 | "lint": "eslint --max-warnings 0 './packages/{core,cli,uikit-workshop}/**/*.js ' --ignore-path .eslintignore", |
24 | 38 | "test": "lerna run test", |
25 | | - "clean": "git clean -dfx" |
| 39 | + "clean": "git clean -dfx", |
| 40 | + "publish": "npx lerna publish -m \"[skip travis] chore(release): publish %s\"", |
| 41 | + "postpublish": "auto release", |
| 42 | + "preview:hbs": "cd packages/development-edition-engine-handlebars && npx patternlab add --starterkits @pattern-lab/starterkit-handlebars-vanilla && npm run pl:build" |
26 | 43 | }, |
27 | 44 | "nyc": { |
28 | 45 | "exclude": [ |
|
0 commit comments