Skip to content

Commit e7ccfd8

Browse files
committedJul 16, 2019
(pkg): replace .npmignore with files array
- because whitelist are better practices and safer than blacklists
1 parent b6944fd commit e7ccfd8

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed
 

‎.npmignore

-10
This file was deleted.

‎package.json

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"version": "1.0.2",
44
"description": "A React wrapper component around signature_pad. Unopinionated and heavily updated fork of react-signature-pad",
55
"main": "build/index.js",
6+
"files": [
7+
"src/",
8+
"build/"
9+
],
610
"scripts": {
711
"lint": "standard --parser babel-eslint",
812
"lint:fix": "standard --parser babel-eslint --fix",

0 commit comments

Comments
 (0)
Please sign in to comment.