Skip to content

Commit

Permalink
Ensure tests are not included in generated build
Browse files Browse the repository at this point in the history
  • Loading branch information
albertogasparin committed Mar 15, 2022
1 parent 658412c commit 5a55f14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"homepage": "https://github.com/atlassian/react-sweet-state#readme",
"scripts": {
"clean:build": "rm -rf ./lib",
"build:cjs": "babel src/ -d lib/cjs --ignore **/__tests__ --presets @babel/env",
"build:esm": "babel src/ -d lib/esm --ignore **/__tests__",
"build:cjs": "babel src/ -d lib/cjs --ignore \"src/**/__tests__\" --presets @babel/env",
"build:esm": "babel src/ -d lib/esm --ignore \"src/**/__tests__\"",
"build:flow": "echo lib/cjs lib/esm | xargs -n 1 cp src/index.js.flow",
"build": "npm run clean:build -s && npm run build:cjs -s && npm run build:esm -s && npm run build:flow -s",
"test": "jest",
Expand Down

0 comments on commit 5a55f14

Please sign in to comment.