aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohd Imran <[email protected]>2022-01-17 00:59:25 +0530
committerGitHub <[email protected]>2022-01-16 20:29:25 +0100
commitdb4c0189ee82cad0dd7bb4e5cfa211e453172a9e (patch)
treeb07a3731e7d2759f3b8e8e34d40a73fabaef250c
parent8ab656b601901b53bf33f04bf1ff9812fda2f4cc (diff)
downloadfaker-db4c0189ee82cad0dd7bb4e5cfa211e453172a9e.tar.xz
faker-db4c0189ee82cad0dd7bb4e5cfa211e453172a9e.zip
chore: add files field in package.json (#173)
Co-authored-by: Shinigami <[email protected]>
-rw-r--r--.npmignore27
-rw-r--r--package.json13
2 files changed, 12 insertions, 28 deletions
diff --git a/.npmignore b/.npmignore
deleted file mode 100644
index a710c22e..00000000
--- a/.npmignore
+++ /dev/null
@@ -1,27 +0,0 @@
-.nyc_output/
-.github
-.vscode
-.editorconfig
-.eslintignore
-.eslintrc
-.gitattributes
-.prettierignore
-.prettierrc.cjs
-.npm/
-build/*
-build/build/*
-!build/build/faker.js
-!build/build/faker.min.js
-CODE_OF_CONDUCT.md
-conf.json
-CONTRIBUTING.md
-doc/
-docs/
-examples/
-gulpfile.js
-logo.png
-meteor/
-netlify.toml
-scripts
-test/
-reports/
diff --git a/package.json b/package.json
index 9fcc74b0..a36c878a 100644
--- a/package.json
+++ b/package.json
@@ -102,5 +102,16 @@
"vinyl-source-stream": "^2.0.0",
"vinyl-transform": "^1.0.0",
"vitepress": "^0.21.4"
- }
+ },
+ "files": [
+ "CHANGELOG.md",
+ "CHANGELOG_old.md",
+ "dist",
+ "index.d.ts",
+ "index.js",
+ "lib",
+ "locale",
+ "tsconfig.json",
+ "vendor"
+ ]
}