Skip to content

Commit

Permalink
chore(gatsby): remove unused nyc dependency (gatsbyjs#10063)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandernanberg authored and pieh committed Nov 21, 2018
1 parent 3ae518c commit ec2cef3
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 311 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ lib-cov

# Coverage directory used by tools like istanbul
coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
Expand Down
3 changes: 0 additions & 3 deletions benchmarks/create-pages/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ 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

Expand Down
3 changes: 0 additions & 3 deletions benchmarks/markdown/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ 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

Expand Down
3 changes: 0 additions & 3 deletions examples/using-gatsby-source-graphql/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ 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

Expand Down
3 changes: 0 additions & 3 deletions examples/using-local-plugins/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ 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

Expand Down
5 changes: 1 addition & 4 deletions examples/using-typescript/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ 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

Expand Down Expand Up @@ -136,4 +133,4 @@ $RECYCLE.BIN/

### Gatsby ###
public
.cache
.cache
3 changes: 0 additions & 3 deletions examples/using-unstructured-data/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ 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

Expand Down
80 changes: 0 additions & 80 deletions flow-typed/npm/nyc_vx.x.x.js

This file was deleted.

2 changes: 0 additions & 2 deletions packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"babel-preset-gatsby-package": "^0.1.2",
"cross-env": "^5.1.4",
"lerna": "^2.9.0",
"nyc": "^7.0.0",
"rimraf": "^2.6.1"
},
"engines": {
Expand Down Expand Up @@ -173,7 +172,6 @@
"clean-test-bundles": "find test/ -type f -name bundle.js* -exec rm -rf {} +",
"prebuild": "rimraf dist && rimraf cache-dir/commonjs",
"prepare": "cross-env NODE_ENV=production npm run build",
"test-coverage": "node_modules/.bin/nyc --reporter=lcov --reporter=text npm test",
"watch": "rimraf dist && mkdir dist && npm run build:internal-plugins && npm run build:rawfiles && npm run build:src -- --watch"
},
"types": "index.d.ts",
Expand Down
Loading

0 comments on commit ec2cef3

Please sign in to comment.