Skip to content

Commit c72275f

Browse files
committed
Fix files included in package
- package.json -> files is not working correctly - Switch to npmignore
1 parent ced1267 commit c72275f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
src/compiler/grammar
22
test.ts
33
dist/
4+
node_modules/

.npmignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*
2+
!dist/**
3+
!index.*

package.json

-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@
4040
"lib": "src",
4141
"test": "test"
4242
},
43-
"files": [
44-
"dist/"
45-
],
4643
"homepage": "https://github.com/Bitcoin-com/cashscript#readme",
4744
"keywords": [
4845
"bitcoin",

0 commit comments

Comments
 (0)