Skip to content

Commit

Permalink
chore: Add husky and good ignore files
Browse files Browse the repository at this point in the history
  • Loading branch information
sospedra committed Sep 11, 2017
1 parent b1afcff commit cd44103
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 57 deletions.
71 changes: 17 additions & 54 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,59 +1,22 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# VSCode
.vscode/
jsconfig.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock
# IntelliJ/Webstorm
.idea

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# NodeJS
npm-debug.log
node_modules
lib-rn
lib
yarn-error.log

# 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 (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/
# OS X
.DS_Store

# 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
# Exponent
.exponent

# Jest
coverage
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
src
examples
__tests__
32 changes: 32 additions & 0 deletions package-lock.json

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

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@
"eslint-plugin-node": "^5.1.1",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-react": "^7.3.0",
"eslint-plugin-standard": "^3.0.1"
"eslint-plugin-standard": "^3.0.1",
"husky": "^0.14.3"
},
"scripts": {
"build": "babel src -d lib",
"precommit": "npm test",
"prepublish": "npm run build",
"test:style": "eslint src/**/*.js",
"test": "npm run test:style"
"test:lint": "eslint src",
"test": "npm run test:lint"
}
}

0 comments on commit cd44103

Please sign in to comment.