Skip to content

Commit

Permalink
fix: add npmignore and public access (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
thorwebdev authored Feb 14, 2022
1 parent e0de6fa commit 6997bb8
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
*.log
npm-debug.log*

# Coverage directory used by tools like istanbul
coverage
.nyc_output

# Dependency directories
node_modules

# npm package lock
package-lock.json
yarn.lock

# project files
src
test
examples
example
example-next-js
umd_temp
CHANGELOG.md
.travis.yml
.editorconfig
.eslintignore
.eslintrc
.babelrc
.gitignore
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
"engines": {
"node": "^10.13.0 || >=12.0.0"
},
"release": {
"branches": [
"main"
]
},
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "rimraf dist",
"pretty": "prettier --write \"src/**/*.{ts,tsx}\" \"src/*.ts\"",
Expand Down

0 comments on commit 6997bb8

Please sign in to comment.