Skip to content

Commit

Permalink
chore: cleanup dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Sep 10, 2024
1 parent f472333 commit be3bffb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 208 deletions.
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

0 comments on commit be3bffb

Please sign in to comment.