|
1 | 1 | { |
2 | 2 | "name": "design-system", |
3 | 3 | "version": "1.0.0", |
4 | | - "main": "./lib/index.js", |
5 | | - "types": "./lib/index.d.ts", |
| 4 | + "main": "lib/index.js", |
| 5 | + "types": "lib/index.d.ts", |
6 | 6 | "scripts": { |
7 | 7 | "build": "yarn lint && vite build", |
8 | 8 | "build-release": "yarn install --immutable && yarn build", |
9 | | - "lint": "npx eslint --ext js,ts,tsx,snap --quiet src" |
| 9 | + "lint": "eslint --ext js,ts,tsx,snap --quiet src", |
| 10 | + "lint-report-ci": "yarn install --immutable && eslint --ext js,ts,tsx -f json -o eslint-report/eslint-report.json src || yarn lint", |
| 11 | + "test": "jest", |
| 12 | + "validate-ci": "yarn install --immutable && yarn test --coverage --ci" |
10 | 13 | }, |
11 | 14 | "devDependencies": { |
12 | 15 | "@babel/core": "7.20.5", |
13 | 16 | "@babel/plugin-transform-react-jsx": "7.20.13", |
| 17 | + "@babel/preset-env": "7.20.2", |
| 18 | + "@babel/preset-typescript": "7.18.6", |
| 19 | + "@emotion/babel-plugin": "11.10.6", |
14 | 20 | "@emotion/babel-plugin-jsx-pragmatic": "0.2.0", |
| 21 | + "@testing-library/dom": "8.20.0", |
| 22 | + "@testing-library/jest-dom": "5.16.5", |
| 23 | + "@testing-library/react": "12.1.5", |
| 24 | + "@testing-library/user-event": "14.4.3", |
| 25 | + "@types/react": "16.14.34", |
| 26 | + "@typescript-eslint/parser": "5.49.0", |
15 | 27 | "@vitejs/plugin-react": "3.1.0", |
| 28 | + "autoprefixer": "10.4.13", |
| 29 | + "eslint": "8.32.0", |
16 | 30 | "eslint-plugin-header": "3.1.1", |
17 | 31 | "eslint-plugin-typescript-sort-keys": "2.1.0", |
18 | | - "twin.macro": "3.1.0", |
| 32 | + "history": "5.3.0", |
| 33 | + "jest": "29.3.1", |
| 34 | + "postcss": "8.4.21", |
| 35 | + "postcss-calc": "8.2.4", |
| 36 | + "postcss-custom-properties": "12.1.11", |
| 37 | + "twin.macro": "2.8.2", |
| 38 | + "typescript": "4.9.4", |
19 | 39 | "vite": "4.1.1", |
20 | | - "vite-plugin-dts": "1.7.2" |
| 40 | + "vite-plugin-dts": "2.0.2", |
| 41 | + "whatwg-fetch": "3.6.2" |
21 | 42 | }, |
22 | 43 | "peerDependencies": { |
23 | 44 | "@emotion/react": "11.10.5", |
24 | 45 | "@emotion/styled": "11.10.5", |
25 | | - "@typescript-eslint/parser": "5.49.0", |
26 | | - "eslint": "8.32.0", |
| 46 | + "@primer/octicons-react": "17.11.1", |
| 47 | + "classnames": "2.3.2", |
| 48 | + "clipboard": "2.0.11", |
| 49 | + "lodash": "4.17.21", |
27 | 50 | "react": "16.14.0", |
28 | 51 | "react-dom": "16.14.0", |
29 | | - "tailwindcss": "3.2.6", |
30 | | - "typescript": "4.9.4" |
| 52 | + "react-helmet-async": "1.3.0", |
| 53 | + "react-intl": "6.2.5", |
| 54 | + "react-router-dom": "6.7.0", |
| 55 | + "tailwindcss": "2.2.19" |
| 56 | + }, |
| 57 | + "babelMacros": { |
| 58 | + "twin": { |
| 59 | + "config": "../tailwind.config.js", |
| 60 | + "preset": "emotion" |
| 61 | + } |
31 | 62 | } |
32 | 63 | } |
0 commit comments