|
31 | 31 | }, |
32 | 32 | "scripts": { |
33 | 33 | "dev": "npm run storybook", |
34 | | - "build": "npm run clean && npm run build:graph && npm run build:react", |
35 | | - "build:graph": "npm run clean:graph && rollup -c --config-package graph && tsc --project packages/graph/tsconfig.json --emitDeclarationOnly && npm run build:graph:umd", |
36 | | - "build:graph:umd": "rollup -c rollup.config.umd.mjs", |
37 | | - "build:react": "npm run clean:react && rollup -c --config-package react && tsc --project packages/react/tsconfig.json --emitDeclarationOnly", |
38 | | - "watch": "rollup -c --watch", |
39 | | - "typecheck": "tsc -b", |
40 | | - "typecheck:watch": "tsc -b --watch", |
| 34 | + "build": "npm run build --workspaces --if-present", |
| 35 | + "build:graph": "npm run build --workspace=@gravity-ui/graph", |
| 36 | + "build:react": "npm run build --workspace=@gravity-ui/graph-react", |
| 37 | + "watch": "npm run watch --workspace=@gravity-ui/graph", |
| 38 | + "watch:graph": "npm run watch --workspace=@gravity-ui/graph", |
| 39 | + "watch:react": "npm run watch --workspace=@gravity-ui/graph-react", |
| 40 | + "clean": "npm run clean --workspaces --if-present", |
| 41 | + "clean:graph": "npm run clean --workspace=@gravity-ui/graph", |
| 42 | + "clean:react": "npm run clean --workspace=@gravity-ui/graph-react", |
| 43 | + "lint": "npm run lint --workspaces --if-present", |
| 44 | + "lint:graph": "npm run lint --workspace=@gravity-ui/graph", |
| 45 | + "lint:react": "npm run lint --workspace=@gravity-ui/graph-react", |
| 46 | + "lint:stories": "npm run lint --workspace=@gravity-ui/graph-stories", |
| 47 | + "lint:fix": "npm run lint:fix --workspaces --if-present", |
| 48 | + "typecheck": "npm run typecheck --workspaces --if-present", |
| 49 | + "typecheck:graph": "npm run typecheck --workspace=@gravity-ui/graph", |
| 50 | + "typecheck:react": "npm run typecheck --workspace=@gravity-ui/graph-react", |
| 51 | + "typecheck:stories": "npm run typecheck --workspace=@gravity-ui/graph-stories", |
41 | 52 | "test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests", |
| 53 | + "test:graph": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --selectProjects=graph", |
| 54 | + "test:react": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --selectProjects=react", |
42 | 55 | "test:watch": "npm run test -- --watch", |
43 | 56 | "test:update": "npm run test -- --updateSnapshot", |
44 | | - "lint": "eslint \"packages/*/src/**/*.{js,jsx,ts,tsx}\"", |
45 | | - "lint:fix": "npm run lint -- --fix", |
46 | 57 | "storybook": "storybook dev -p 6006", |
47 | 58 | "build-storybook": "storybook build", |
48 | 59 | "ci:storybook:build": "npm run build-storybook", |
49 | | - "clean": "rm -rf packages/*/dist packages/*/build", |
50 | | - "clean:graph": "rm -rf packages/graph/dist packages/graph/build", |
51 | | - "clean:react": "rm -rf packages/react/dist packages/react/build", |
52 | 60 | "size": "npm run build && size-limit" |
53 | 61 | }, |
54 | 62 | "size-limit": [ |
|
0 commit comments