|
1 | 1 | { |
2 | 2 | "name": "spectacle-monorepo", |
3 | 3 | "scripts": { |
4 | | - "start:js": "pnpm run --filter spectacle-example-js start", |
5 | | - "start:ts": "pnpm run --filter spectacle-example-ts start", |
6 | | - "start:md": "pnpm run --filter spectacle-example-md start", |
| 4 | + "start:js": "pnpm run build:core && pnpm run --filter spectacle-example-js start", |
| 5 | + "start:ts": "pnpm run build:core && pnpm run --filter spectacle-example-ts start", |
| 6 | + "start:md": "pnpm run build:core && pnpm run --filter spectacle-example-md start", |
7 | 7 | "start:one-page": "pnpm run --filter spectacle-example-one-page start", |
8 | | - "start:examples": "pnpm run --parallel --filter \"*example*\" start", |
| 8 | + "start:examples": "pnpm run build:core && pnpm run --parallel --filter \"*example*\" start", |
9 | 9 | "start:cli": "pnpm run --filter spectacle-cli start", |
10 | 10 | "lint": "eslint --ext .tsx,.ts,.jsx,.js ./examples ./scripts packages/spectacle/src packages/cli/src", |
11 | 11 | "lint:fix": "pnpm run lint --fix", |
|
17 | 17 | "check": "pnpm run lint && pnpm run prettier:check && pnpm run test && pnpm run typecheck", |
18 | 18 | "check-ci": "pnpm run check", |
19 | 19 | "clean": "pnpm run -r clean", |
| 20 | + "flush:deps": "rimraf **/node_modules", |
| 21 | + "nuke": "pnpm run -r clean && pnpm run flush:deps", |
20 | 22 | "build:examples": "pnpm run --filter spectacle build && pnpm run -r --filter \"*example*\" build", |
21 | 23 | "build:core": "pnpm run --filter spectacle build", |
22 | | - "build": "pnpm run -r build", |
| 24 | + "build": "pnpm run build:core && pnpm run build:examples", |
23 | 25 | "build:one-page": "node ./scripts/one-page.js", |
24 | 26 | "build:cli": "pnpm run --filter spectacle-cli build", |
25 | 27 | "changeset": "changeset", |
|
38 | 40 | "eslint-plugin-prettier": "^4.0.0", |
39 | 41 | "eslint-plugin-react": "^7.27.0", |
40 | 42 | "eslint-plugin-react-hooks": "^4.3.0", |
| 43 | + "rimraf": "^3.0.0", |
41 | 44 | "prettier": "^2.4.1", |
42 | 45 | "pretty": "^2.0.0", |
43 | 46 | "typescript": "^4.5.2" |
|
0 commit comments