Skip to content

Commit

Permalink
changed build folder from dist/ to build/ because parcel was putting the
Browse files Browse the repository at this point in the history
example build files into the dist/ folder, let's not have the example's
build files published by accident
  • Loading branch information
couetilc committed Mar 15, 2021
1 parent aa3e78f commit 4408a75
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ node_modules
npm-debug.log
__build__
dist
dist.tar.gz
build
build.tar.gz
lib
.cache
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist
src
test
scripts
Expand All @@ -7,3 +8,4 @@ webpack.config.js
.babelrc
.eslintrc
.gitignore
build.tar.gz
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
"name": "react-social-icons",
"version": "4.1.0",
"description": "beautiful, easy svg social icons in react",
"main": "./dist/react-social-icons.js",
"main": "./build/react-social-icons.js",
"scripts": {
"build": "babel -d ./dist ./src",
"build": "babel -d ./build ./src",
"build:watch": "npm run build -- --watch",
"examples:serve": "parcel examples/index.html",
"prepublish": "NODE_ENV=production npm run build",
"start": "npm run examples:serve",
"test": "mocha",
"test:watch": "npm run test -- --watch",
"bundlesize": "npm run prepublish && tar -c dist | gzip > dist.tar.gz && du -h dist dist.tar.gz"
"bundlesize": "npm run prepublish && tar -c build | gzip > build.tar.gz && du -h build build.tar.gz"
},
"author": "jaketrent",
"license": "MIT",
Expand Down

0 comments on commit 4408a75

Please sign in to comment.