Skip to content

Commit

Permalink
refactor: Defined minimal workspaces in the package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mnasyrov committed Apr 27, 2024
1 parent a6b2701 commit 0e3043b
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 5 deletions.
20 changes: 20 additions & 0 deletions benchmarks/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"private": true,
"name": "nrgy-benchmarks",
"version": "0.0.34",
"description": "Benchmarks for Nrgy library",
"license": "MIT",
"author": "Mikhail Nasyrov (https://github.com/mnasyrov)",
"homepage": "https://github.com/mnasyrov/nrgy",
"bugs": "https://github.com/mnasyrov/nrgy/issues",
"repository": "github:mnasyrov/nrgy",
"type": "module",
"scripts": {
"clean": "rm -rf build coverage dist",
"start": "npm run -w nrgy build -- --silent && tsx ./index.ts"
},
"devDependencies": {
"nrgy-reference": "npm:nrgy@0.0.27",
"tinybench": "2.6.0"
}
}
22 changes: 20 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"homepage": "https://github.com/mnasyrov/nrgy",
"bugs": "https://github.com/mnasyrov/nrgy/issues",
"repository": "github:mnasyrov/nrgy",
"workspaces": [
".",
"benchmarks"
],
"type": "module",
"main": "index.cjs",
"module": "index.js",
Expand Down Expand Up @@ -69,7 +73,6 @@
"tsc": "tsc --noEmit --jsx react-jsx",
"test": "jest",
"build": "tsx build.ts",
"benchmarks": "npm run build -- --silent && tsx ./benchmarks",
"pack": "npm run build && cd dist && npm pack",
"preversion": "npm run build && npm run lint && npm run test && git add --all",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
Expand Down Expand Up @@ -103,13 +106,11 @@
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"lint-staged": "15.2.2",
"nrgy-reference": "npm:nrgy@0.0.27",
"prettier": "3.2.5",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-test-renderer": "18.2.0",
"rxjs": "7.8.1",
"tinybench": "2.6.0",
"ts-jest": "29.1.2",
"tsup": "8.0.2",
"tsx": "4.7.2",
Expand Down

0 comments on commit 0e3043b

Please sign in to comment.