Merge pull request #8 from felipeochoa/npm-fix
Npm fixes - prepublish and files
This commit is contained in:
40
.npmignore
Normal file
40
.npmignore
Normal file
@ -0,0 +1,40 @@
|
||||
# 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
|
||||
|
||||
# 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 directory
|
||||
node_modules
|
||||
|
||||
# Optional npm cache directory
|
||||
.npm
|
||||
|
||||
# Optional REPL history
|
||||
.node_repl_history
|
||||
|
||||
# build
|
||||
# build <-- we want this in the package
|
||||
build-tests
|
||||
|
||||
# vscode
|
||||
.vscode
|
@ -6,9 +6,13 @@
|
||||
"scripts": {
|
||||
"pretest": "rimraf ./build-tests && tsc -p ts/test-tsconfig.json",
|
||||
"test": "mocha ./build-tests --recursive",
|
||||
"prepublish": "tsc -p ts",
|
||||
"prepublishOnly": "tsc -p ts",
|
||||
"lint": "tslint --project ./ts"
|
||||
},
|
||||
"files": [
|
||||
"ts",
|
||||
"build"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/dolanmiu/docx.git"
|
||||
|
Reference in New Issue
Block a user