Skip to content

Commit

Permalink
ignore package-lock:
Browse files Browse the repository at this point in the history
  • Loading branch information
tlivings committed May 26, 2018
1 parent bdceee0 commit 8e86d19
Show file tree
Hide file tree
Showing 5 changed files with 146 additions and 2,191 deletions.
97 changes: 63 additions & 34 deletions .gitignore
@@ -1,38 +1,67 @@
*.seed
# Logs
logs
*.log
*.csv
*.dat
*.out
*.pid
*.gz
*.orig
npm-debug.log*
yarn-debug.log*
yarn-error.log*

work
build
# Runtime data
pids
logs
results
coverage
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
html-report
xunit.xml
node_modules
npm-debug.log
launch.json

.project
.idea
.settings
.iml
*.sublime-workspace
*.sublime-project
.vscode

.DS_Store*
ehthumbs.db
Icon?
Thumbs.db
.AppleDouble
.LSOverride
.Spotlight-V100
.Trashes

# 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

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

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

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# next.js build output
.next

# nyc
.nyc_output

#package-lock
package-lock.json
108 changes: 63 additions & 45 deletions .npmignore
@@ -1,49 +1,67 @@
# Automatically ignored per:
# https://www.npmjs.org/doc/developers.html#Keeping-files-out-of-your-package
#
# .*.swp
# ._*
# .DS_Store
# .git
# .hg
# .lock-wscript
# .svn
# .wafpickle-*
# CVS
# npm-debug.log
# node_modules

*.seed
# Logs
logs
*.log
*.csv
*.dat
*.out
*.pid
*.gz
*.orig
npm-debug.log*
yarn-debug.log*
yarn-error.log*

work
build
test
# Runtime data
pids
logs
results
coverage
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
html-report
xunit.xml

.project
.idea
.settings
.iml
*.sublime-workspace
*.sublime-project

ehthumbs.db
Icon?
Thumbs.db
.AppleDouble
.LSOverride
.Spotlight-V100
.Trashes

# 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

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

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

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# next.js build output
.next

# nyc
.nyc_output

# package-lock
package-lock.json
17 changes: 17 additions & 0 deletions .vscode/launch.json
@@ -0,0 +1,17 @@
{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceRoot}/node_modules/.bin/tape", //"${workspaceRoot}/lib/index"
"args": [
"test/test-swaggerize-hapi"
]
}
]
}
3 changes: 3 additions & 0 deletions lib/mimes.js
@@ -0,0 +1,3 @@
'use strict';

const typeCheck = new RegExp('application\/json|application\/*+json|application\/octet-stream|application\/x-www-form-urlencoded|multipart\/form-data|text\/*');

0 comments on commit 8e86d19

Please sign in to comment.