Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

Commit 1ed9a51

Browse files
committed
updated dependencies
1 parent b4577e8 commit 1ed9a51

14 files changed

+8501
-48170
lines changed

.github/workflows/minify_css.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
env:
2727
CI: true
2828

29-
- name: Clean CSS
30-
run: npm run clean-css
29+
- name: Build CSS
30+
run: npm run build
3131

3232
- uses: stefanzweifel/git-auto-commit-action@v4
3333
with:

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@
1717
],
1818
"scripts": {
1919
"start": "npm run watch:less",
20-
"build": "npm run compile && npm run clean-css",
20+
"build": "npm run compile && npm run clean-css && npm run copy-website",
2121
"compile": "lessc src/sbuttons.less dist/sbuttons.css && npm run prettier",
2222
"prettier": "prettier --write \"src/**/*.less\" \"dist/sbuttons.css\" ",
2323
"watch:less": "onchange -v src/**/*.less -- npm run compile",
24-
"clean-css": "cleancss -o dist/sbuttons.min.css dist/sbuttons.css"
24+
"clean-css": "cleancss -o dist/sbuttons.min.css dist/sbuttons.css",
25+
"copy-website": "cp dist/sbuttons.min.css website/src/sbuttons.min.css"
2526
},
2627
"devDependencies": {
2728
"axios": ">=0.21.1",

website/.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
/coverage
1010

1111
# production
12-
dist
13-
build
12+
/build
1413

1514
# misc
1615
.DS_Store

website/README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ This project was bootstrapped with [Create React App](https://github.com/faceboo
66

77
In the project directory, you can run:
88

9-
### `yarn start`
9+
### `npm start`
1010

1111
Runs the app in the development mode.\
12-
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
12+
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
1313

14-
The page will reload if you make edits.\
15-
You will also see any lint errors in the console.
14+
The page will reload when you make changes.\
15+
You may also see any lint errors in the console.
1616

17-
### `yarn test`
17+
### `npm test`
1818

1919
Launches the test runner in the interactive watch mode.\
2020
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
2121

22-
### `yarn build`
22+
### `npm run build`
2323

2424
Builds the app for production to the `build` folder.\
2525
It correctly bundles React in production mode and optimizes the build for the best performance.
@@ -29,15 +29,15 @@ Your app is ready to be deployed!
2929

3030
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
3131

32-
### `yarn eject`
32+
### `npm run eject`
3333

34-
**Note: this is a one-way operation. Once you `eject`, you cant go back!**
34+
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
3535

36-
If you arent satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
36+
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
3737

38-
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.
38+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
3939

40-
You dont have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.
40+
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
4141

4242
## Learn More
4343

@@ -65,6 +65,6 @@ This section has moved here: [https://facebook.github.io/create-react-app/docs/a
6565

6666
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
6767

68-
### `yarn build` fails to minify
68+
### `npm run build` fails to minify
6969

7070
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)

website/craco.config.js

-24
This file was deleted.

0 commit comments

Comments
 (0)