|
23 | 23 | "analyze": "craco build; source-map-explorer '../static/js/*.js'",
|
24 | 24 | "build": "NODE_ENV=production ./scripts/build.sh",
|
25 | 25 | "eject": "react-scripts eject",
|
26 |
| - "lint": "yarn prettier \"src/**/*.{js,jsx,ts,tsx,json,md}\" --write && yarn eslint ./src --fix && yarn stylelint \"src/**/*.{css,less}\" --fix && yarn lint:cypress", |
| 26 | + "lint": "yarn prettier \"src/**/*.{js,jsx,ts,tsx,json,md}\" --write && yarn eslint ./src --fix && yarn stylelint \"src/**/*.{css,scss}\" --fix && yarn lint:cypress", |
27 | 27 | "lint:cypress": "yarn eslint ./cypress --fix",
|
28 | 28 | "prepare": "husky",
|
29 | 29 | "release": "yarn run build && release-it --npm.skipChecks",
|
|
38 | 38 | "@babel/preset-react": "^7.24.7",
|
39 | 39 | "@babel/runtime": "^7.24.7",
|
40 | 40 | "@cfpb/browserslist-config": "0.0.2",
|
41 |
| - "@cfpb/cfpb-atomic-component": "1.2.0", |
42 |
| - "@cfpb/cfpb-buttons": "1.3.0", |
43 |
| - "@cfpb/cfpb-core": "1.2.0", |
44 |
| - "@cfpb/cfpb-design-system": "^1.3.2", |
45 |
| - "@cfpb/cfpb-expandables": "^1.2.0", |
46 |
| - "@cfpb/cfpb-forms": "1.3.0", |
47 |
| - "@cfpb/cfpb-grid": "1.2.0", |
48 |
| - "@cfpb/cfpb-icons": "^1.2.0", |
49 |
| - "@cfpb/cfpb-layout": "1.3.0", |
50 |
| - "@cfpb/cfpb-notifications": "1.3.0", |
51 |
| - "@cfpb/cfpb-pagination": "1.3.0", |
52 |
| - "@cfpb/cfpb-tables": "1.2.0", |
53 |
| - "@cfpb/cfpb-typography": "1.3.2", |
| 41 | + "@cfpb/cfpb-design-system": "^3.2.2", |
54 | 42 | "@craco/craco": "^7.1.0",
|
| 43 | + "@csstools/postcss-sass": "^5.1.1", |
| 44 | + "@csstools/sass-import-resolve": "^1.0.0", |
55 | 45 | "@reduxjs/toolkit": "^2.2.7",
|
56 | 46 | "@testing-library/cypress": "^10.0.2",
|
57 | 47 | "@testing-library/dom": "^10.4.0",
|
|
62 | 52 | "britecharts": "git+https://github.com/cfpb/britecharts.git#v2.4.2",
|
63 | 53 | "coveralls": "^3.0.9",
|
64 | 54 | "craco-esbuild": "^0.6.1",
|
65 |
| - "craco-less": "^3.0.1", |
66 | 55 | "cypress": "^13.11.0",
|
67 | 56 | "d3": "^7.9.0",
|
68 | 57 | "dayjs": "^1.11.10",
|
|
79 | 68 | "intro.js": "^7.2.0",
|
80 | 69 | "intro.js-react": "1.0.0",
|
81 | 70 | "jest-fetch-mock": "^3.0.3",
|
82 |
| - "less": "^4.2.0", |
83 |
| - "less-loader": "^12.2.0", |
84 |
| - "less-plugin-clean-css": "^1.5.1", |
85 | 71 | "lint-staged": "^15.2.7",
|
86 | 72 | "lodash": "^4.17.21",
|
87 | 73 | "mini-css-extract-plugin": "^2.9.0",
|
88 | 74 | "mockdate": "^3.0.5",
|
89 | 75 | "postcss": "^8.4.38",
|
90 |
| - "postcss-less": "^6.0.0", |
91 | 76 | "postcss-preset-env": "^9.5.13",
|
92 | 77 | "postcss-safe-parser": "^7.0.0",
|
| 78 | + "postcss-scss": "^4.0.9", |
93 | 79 | "prettier": "^3.3.1",
|
94 | 80 | "prop-types": "^15.5.10",
|
95 | 81 | "query-string": "^9.0.0",
|
|
103 | 89 | "react-scripts": "^5.0.1",
|
104 | 90 | "react-test-renderer": "^18.2.0",
|
105 | 91 | "release-it": "^17.3.0",
|
| 92 | + "sass": "^1.79.4", |
106 | 93 | "string-replace-loader": "^3.1.0",
|
107 | 94 | "stylelint": "^16.5.0",
|
108 | 95 | "stylelint-config-standard": "^36.0.0",
|
109 |
| - "stylelint-less": "^3.0.1" |
| 96 | + "stylelint-config-standard-scss": "^13.1.0" |
110 | 97 | },
|
111 | 98 | "lint-staged": {
|
112 |
| - "src/**/*.{css,less}": [ |
| 99 | + "src/**/*.{css,scss}": [ |
113 | 100 | "stylelint --fix"
|
114 | 101 | ],
|
115 | 102 | "{cypress,src}/**/*.{js,jsx,ts,tsx,json,md}": [
|
|
144 | 131 | "text-summary"
|
145 | 132 | ],
|
146 | 133 | "moduleNameMapper": {
|
147 |
| - "\\.(css|less)$": "identity-obj-proxy" |
| 134 | + "\\.(css|scss)$": "identity-obj-proxy" |
148 | 135 | },
|
149 | 136 | "transformIgnorePatterns": [
|
150 |
| - "^.+\\.module\\.(css|less)$" |
| 137 | + "^.+\\.module\\.(css|scss)$" |
151 | 138 | ]
|
152 | 139 | },
|
153 | 140 | "publishConfig": {
|
|
0 commit comments