Skip to content

Commit

Permalink
fix: modified build script
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyBeldone committed Mar 30, 2020
1 parent 57a5c1c commit 8324535
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
7 changes: 6 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
node_modules/*
dist/*
dist/*

BreakpointProvider.js
constants.js
gatsby-browser.js
index.js
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,9 @@ typings/
# next.js build output
.next

dist
dist

BreakpointProvider.js
constants.js
gatsby-browser.js
index.js
1 change: 0 additions & 1 deletion index.js

This file was deleted.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@
"lint": "eslint src --fix",
"pretty": "prettier --write 'src/**/*.js'",
"test": "echo 'No test specified'",
"prepare": "yarn clean && cross-env NODE_ENV=production yarn build",
"clean": "rimraf ./dist",
"build": "babel src --out-dir dist --ignore 'src/**/*.spec.js','src/**/*.test.js'",
"prepare": "cross-env NODE_ENV=production yarn build",
"build": "babel src --out-dir .",
"semantic-release": "semantic-release"
},
"license": "MIT",
Expand Down

0 comments on commit 8324535

Please sign in to comment.