Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: cleanup dependencies #564

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: pnpm install --frozen-lockfile

- name: Build website
run: pnpm website
run: pnpm run --sequential '/website:.*/'

deploy:
name: Deploy
Expand All @@ -57,7 +57,7 @@ jobs:
run: pnpm install --frozen-lockfile

- name: Build
run: pnpm website
run: pnpm run --sequential '/website:.*/'

- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
Expand Down
13 changes: 5 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,18 @@
"module": "esm/index.js",
"typings": "index.d.ts",
"scripts": {
"clean:commonjs": "rimraf lib",
"clean:esm": "rimraf esm",
"clean:commonjs": "rm -rf lib",
"clean:esm": "rm -rf esm",
"build:commonjs": "cross-env BABEL_OUTPUT=commonjs babel src/ --out-dir lib/ --ignore **/__tests__,**/__mocks__",
"build:esm": "babel src/ --out-dir esm/ --ignore **/__tests__,**/__mocks__",
"build": "npm-run-all clean:* --parallel build:*",
"build": "pnpm run --sequential '/clean:.*|build:.*/'",
"format": "eslint src --fix --report-unused-disable-directives",
"lint": "eslint src --report-unused-disable-directives",
"prebump": "run-s lint test",
"prebump": "pnpm run --sequential '/lint|test/'",
"prepublishOnly": "pnpm run build",
"test": "cross-env BABEL_OUTPUT=commonjs jest",
"start": "webpack serve",
"website": "run-s website:clean website:build website:redirect",
"website:clean": "rimraf examples/dist",
"website:clean": "rm -rf examples/dist",
"website:build": "cross-env BABEL_TARGET=examples NODE_ENV=production webpack",
"website:redirect": "cp -R examples/src/example examples/dist"
},
Expand Down Expand Up @@ -78,15 +77,13 @@
"less": "4.2.0",
"less-loader": "11.1.4",
"mini-css-extract-plugin": "2.9.1",
"npm-run-all": "4.1.5",
"prettier": "3.3.3",
"prism-react-renderer": "2.4.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-live": "4.1.7",
"react-modal": "3.16.1",
"react-test-renderer": "18.3.1",
"rimraf": "5.0.10",
"webpack": "5.94.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "4.15.2"
Expand Down
Loading
Loading