Skip to content

Commit

Permalink
include tsc files in npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
diracdeltas committed Jul 1, 2024
1 parent db179a9 commit d4b61b1
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 6 deletions.
41 changes: 41 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

testbundle.js
browser/*.js
yarn.lock
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "brave-crypto",
"version": "1.0.0",
"version": "1.0.1",
"description": "Crypto utils for Brave Browser",
"keywords": [
"nacl",
Expand Down
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"target": "ES6",
"allowJs": true,
"declaration": true,
"emitDeclarationOnly": true,
"emitDeclarationOnly": true
},
"include": ["index.js", "random-lib.js", "**/*.ts"],
}
"include": ["index.js", "random-lib.js", "**/*.ts"]
}

0 comments on commit d4b61b1

Please sign in to comment.