Skip to content

Commit

Permalink
[javascript] Mark "fs" package as absent in browser in package.mustac…
Browse files Browse the repository at this point in the history
…he (#5768)
  • Loading branch information
kemurphy authored and wing328 committed Jun 6, 2017
1 parent 9b93d33 commit 6239ec0
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"scripts": {
"test": "mocha --compilers js:babel-core/register --recursive"
},
"browser": {
"fs": false
},
"dependencies": {
"babel": "^6.23.0",
"babel-cli": "^6.24.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"scripts": {
"test": "./node_modules/mocha/bin/mocha --recursive"
},
"browser": {
"fs": false
},
"dependencies": {
"superagent": "3.5.2"
},
Expand Down
3 changes: 3 additions & 0 deletions samples/client/petstore-security-test/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"scripts": {
"test": "./node_modules/mocha/bin/mocha --recursive"
},
"browser": {
"fs": false
},
"dependencies": {
"superagent": "3.5.2"
},
Expand Down
3 changes: 3 additions & 0 deletions samples/client/petstore/javascript-es6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"scripts": {
"test": "./node_modules/mocha/bin/mocha --recursive"
},
"browser": {
"fs": false
},
"dependencies": {
"superagent": "3.5.2"
},
Expand Down
3 changes: 3 additions & 0 deletions samples/client/petstore/javascript-promise-es6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"scripts": {
"test": "./node_modules/mocha/bin/mocha --recursive"
},
"browser": {
"fs": false
},
"dependencies": {
"superagent": "3.5.2"
},
Expand Down
3 changes: 3 additions & 0 deletions samples/client/petstore/javascript-promise/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"scripts": {
"test": "./node_modules/mocha/bin/mocha --recursive"
},
"browser": {
"fs": false
},
"dependencies": {
"superagent": "3.5.2"
},
Expand Down
3 changes: 3 additions & 0 deletions samples/client/petstore/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"scripts": {
"test": "./node_modules/mocha/bin/mocha --recursive"
},
"browser": {
"fs": false
},
"dependencies": {
"superagent": "3.5.2"
},
Expand Down

0 comments on commit 6239ec0

Please sign in to comment.