|
23 | 23 | ],
|
24 | 24 | "scripts": {
|
25 | 25 | "build": "tsup --clean && yarn build:types",
|
26 |
| - "build:clean": "rimraf dist && yarn build", |
27 | 26 | "build:storybook": "storybook build",
|
28 | 27 | "build:types": "tsc --project tsconfig.build.json",
|
29 | 28 | "lint": "yarn lint:eslint && yarn lint:constraints && yarn lint:misc --check && yarn lint:dependencies --check && yarn lint:changelog",
|
|
33 | 32 | "lint:eslint": "eslint . --cache --ext js,ts",
|
34 | 33 | "lint:fix": "yarn lint:eslint --fix && yarn lint:constraints --fix && yarn lint:misc --write && yarn lint:dependencies && yarn lint:changelog",
|
35 | 34 | "lint:misc": "prettier '**/*.json' '**/*.md' '**/*.yml' '!.yarnrc.yml' --ignore-path .gitignore --no-error-on-unmatched-pattern",
|
| 35 | + "prepack": "./scripts/prepack.sh", |
36 | 36 | "storybook": "storybook dev -p 6006",
|
37 |
| - "test": "jest", |
| 37 | + "test": "jest && jest-it-up", |
38 | 38 | "test:watch": "jest --watch"
|
39 | 39 | },
|
40 | 40 | "devDependencies": {
|
|
57 | 57 | "@storybook/react": "^7.6.10",
|
58 | 58 | "@storybook/react-webpack5": "^7.6.10",
|
59 | 59 | "@types/jest": "^28.1.6",
|
| 60 | + "@types/node": "^16", |
60 | 61 | "@typescript-eslint/eslint-plugin": "^5.43.0",
|
61 | 62 | "@typescript-eslint/parser": "^5.43.0",
|
62 | 63 | "babel-loader": "^8.2.3",
|
63 | 64 | "css-loader": "5.2.7",
|
64 |
| - "dependency-tree": "^8.1.2", |
| 65 | + "depcheck": "^1.4.3", |
65 | 66 | "eslint": "^8.44.0",
|
66 | 67 | "eslint-config-prettier": "^8.8.0",
|
67 | 68 | "eslint-plugin-import": "~2.26.0",
|
68 | 69 | "eslint-plugin-jest": "^27.2.2",
|
69 | 70 | "eslint-plugin-jsdoc": "^39.9.1",
|
70 | 71 | "eslint-plugin-n": "^15.7.0",
|
71 |
| - "eslint-plugin-node": "^11.1.0", |
72 | 72 | "eslint-plugin-prettier": "^4.2.1",
|
73 | 73 | "eslint-plugin-promise": "^6.1.1",
|
74 | 74 | "eslint-plugin-storybook": "^0.6.15",
|
75 | 75 | "jest": "^28.1.3",
|
76 |
| - "node-fetch": "^2.6.0", |
| 76 | + "jest-it-up": "^2.0.2", |
77 | 77 | "prettier": "^2.7.1",
|
78 | 78 | "prettier-plugin-packagejson": "^2.3.0",
|
79 |
| - "react": "^18.2.0", |
80 |
| - "react-dom": "^18.2.0", |
| 79 | + "react": "^17.0.2", |
| 80 | + "react-dom": "^17.0.2", |
81 | 81 | "rimraf": "^3.0.2",
|
82 | 82 | "sass": "^1.54.3",
|
83 | 83 | "sass-loader": "10.1.1",
|
84 | 84 | "storybook": "^7.6.10",
|
85 | 85 | "style-loader": "2.0.0",
|
86 | 86 | "ts-jest": "^28.0.7",
|
87 | 87 | "ts-node": "^10.7.0",
|
88 |
| - "tsup": "^8.0.1", |
| 88 | + "tsup": "^7.2.0", |
89 | 89 | "typescript": "~4.8.4",
|
90 | 90 | "webpack": "5"
|
91 | 91 | },
|
|
105 | 105 | "core-js-pure": false,
|
106 | 106 | "esbuild": false,
|
107 | 107 | "@swc/core": false,
|
108 |
| - "@storybook/addon-essentials>@storybook/core-common>esbuild": false, |
109 |
| - "@storybook/react-webpack5>@storybook/builder-webpack5>@swc/core": false, |
| 108 | + "tsup>esbuild": true, |
110 | 109 | "@storybook/react-webpack5>@storybook/preset-react-webpack>@pmmmwh/react-refresh-webpack-plugin>core-js-pure": false,
|
111 |
| - "ts-node>@swc/core": false, |
112 |
| - "tsup>@swc/core": false, |
113 |
| - "tsup>esbuild": false |
| 110 | + "tsup>@swc/core": false |
114 | 111 | }
|
115 | 112 | }
|
116 | 113 | }
|
0 commit comments