Skip to content

Commit

Permalink
update deps & npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
gucong3000 committed Sep 1, 2017
1 parent faea402 commit 7fa17cb
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 10 deletions.
62 changes: 60 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,61 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

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

# Coverage directory used by tools like istanbul
coverage
node_modules
npm-debug.log
lint-reports

# 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/

# 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

.vscode/
1 change: 1 addition & 0 deletions .jshintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
coverage
24 changes: 24 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
*.log
*.pid
*.seed
.editorconfig
.eslintrc*
.jshintrc
.jshintignore
.gitignore
.grunt
.lock-wscript
.node_repl_history
.stylelintrc*
.travis.yml
.vscode
appveyor.yml
coverage
lint-reports
gulpfile.js
lib-cov
logs
node_modules
npm-debug.log*
pids
test
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
language: node_js
node_js:
- "0.12"
script: "npm run validate"
- stable
- 4
after_success:
- "npm run coveralls"
17 changes: 11 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
{
"name": "checkstyle-formatter",
"nyc": {
"reporter": [
"lcov",
"text-summary"
],
"cache": true
},
"version": "1.0.0",
"description": "Simple Checkstyle data formatter",
"main": "index.js",
"scripts": {
"coverage": "istanbul cover test/*.js",
"coveralls": "npm run coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"lint": "jshint .",
"test": "tape test/*.js",
"validate": "npm run lint && npm test && npm run coveralls"
"coveralls": "coveralls < coverage/lcov.info",
"pretest": "jshint .",
"test": "nyc tape test/*.js"
},
"repository": {
"type": "git",
Expand All @@ -31,8 +36,8 @@
},
"devDependencies": {
"coveralls": "^2.11.2",
"istanbul": "^0.3.14",
"jshint": "^2.7.0",
"nyc": "^11.1.0",
"tape": "^4.0.0"
}
}

0 comments on commit 7fa17cb

Please sign in to comment.