diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 17fd09e7..00000000 --- a/.npmignore +++ /dev/null @@ -1,28 +0,0 @@ -scripts -test -build -package-lock.json -yarn.lock -src -website -LICENSE -coverage - -.DS_Store -.babelrc -.travis.yml -.eslintrc -.eslintignore -.editorconfig -.postcssrc -.cache -.vscode -.idea - -*.bak -*.tem -*.temp -#.swp -*.*~ -~*.* - diff --git a/package.json b/package.json index 8021fcf4..d2a92c54 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,10 @@ "doc:dev": "NODE_ENV=development parcel website/index.html --out-dir doc --no-cache", "doc:build": "rimraf doc && NODE_ENV=production parcel build website/index.html --out-dir doc --public-url ./ --no-cache --no-source-maps" }, + "files": [ + "dist", + "doc" + ], "husky": { "hooks": { "pre-commit": "npm run lint"