build(web): use files in package.json instead of .npmignore
This commit is contained in:
parent
6941497c7a
commit
07a86b1729
2 changed files with 6 additions and 5 deletions
|
|
@ -1,5 +0,0 @@
|
|||
*
|
||||
!README.md
|
||||
!tree-sitter.js
|
||||
!tree-sitter.wasm
|
||||
!tree-sitter-web.d.ts
|
||||
|
|
@ -7,6 +7,12 @@
|
|||
"directories": {
|
||||
"test": "test"
|
||||
},
|
||||
"files": [
|
||||
"README.md",
|
||||
"tree-sitter.js",
|
||||
"tree-sitter.wasm",
|
||||
"tree-sitter-web.d.ts"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "mocha",
|
||||
"prepack": "cp ../../LICENSE .",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue