|
1 | 1 | {
|
2 | 2 | "name": "platform",
|
3 | 3 | "private": true,
|
4 |
| - "workspaces": [ |
5 |
| - "packages/*" |
6 |
| - ], |
| 4 | + "workspaces": { |
| 5 | + "packages": [ |
| 6 | + "packages/*" |
| 7 | + ], |
| 8 | + "nohoist": [ |
| 9 | + "example-app/@angular-redux/store", |
| 10 | + "example-app/@angular-redux/form", |
| 11 | + "example-app/@angular-redux/router", |
| 12 | + "example-app/ng-packagr" |
| 13 | + ] |
| 14 | + }, |
7 | 15 | "scripts": {
|
8 | 16 | "build": "npm-run-all build:*",
|
9 |
| - "build:store": "ng-packagr -p packages/store", |
10 |
| - "build:form": "ng-packagr -p packages/form", |
11 |
| - "build:router": "ng-packagr -p packages/router", |
12 |
| - "release:canary": "lerna publish --canary --npm-tag next --npm-client npm", |
| 17 | + "build:store": "yarn workspace @angular-redux/store build", |
| 18 | + "build:form": "yarn workspace @angular-redux/form build", |
| 19 | + "build:router": "yarn workspace @angular-redux/router build", |
| 20 | + "release:canary": "lerna publish --canary --contents dist --dist-tag next", |
13 | 21 | "release:stable": "lerna version",
|
14 |
| - "release:stable:ci": "lerna publish from-git", |
| 22 | + "release:stable:ci": "lerna publish from-git --contents dist", |
15 | 23 | "clean": "npm-run-all -p clean:*",
|
16 | 24 | "clean:deps": "npm-run-all -p clean:deps:*",
|
17 | 25 | "clean:deps:workspace": "rimraf node_modules",
|
|
26 | 34 | "test:ci": "jest --coverage --ci --maxWorkers=2",
|
27 | 35 | "test:watch": "jest --watch",
|
28 | 36 | "commit": "commit",
|
29 |
| - "prettier": "prettier --write \"**/*.*(ts|js|css|scss|json|md)\"" |
| 37 | + "prettier": "prettier --write \"**/*.*(ts|js|css|scss|json|md)\"", |
| 38 | + "run:app": "yarn workspace example-app bootstrap && yarn workspace example-app start" |
30 | 39 | },
|
31 | 40 | "lint-staged": {
|
32 | 41 | "*.{ts,js,css,scss,json,md}": [
|
|
0 commit comments