forked from loafle/openapi-generator-original
[javascript] Mark "fs" package as absent in browser in package.mustache (#5768)
This commit is contained in:
parent
9b93d3363f
commit
6239ec0807
@ -7,6 +7,9 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha --compilers js:babel-core/register --recursive"
|
"test": "mocha --compilers js:babel-core/register --recursive"
|
||||||
},
|
},
|
||||||
|
"browser": {
|
||||||
|
"fs": false
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"babel": "^6.23.0",
|
"babel": "^6.23.0",
|
||||||
"babel-cli": "^6.24.1",
|
"babel-cli": "^6.24.1",
|
||||||
|
@ -7,6 +7,9 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "./node_modules/mocha/bin/mocha --recursive"
|
"test": "./node_modules/mocha/bin/mocha --recursive"
|
||||||
},
|
},
|
||||||
|
"browser": {
|
||||||
|
"fs": false
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"superagent": "3.5.2"
|
"superagent": "3.5.2"
|
||||||
},
|
},
|
||||||
|
@ -7,6 +7,9 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "./node_modules/mocha/bin/mocha --recursive"
|
"test": "./node_modules/mocha/bin/mocha --recursive"
|
||||||
},
|
},
|
||||||
|
"browser": {
|
||||||
|
"fs": false
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"superagent": "3.5.2"
|
"superagent": "3.5.2"
|
||||||
},
|
},
|
||||||
|
@ -7,6 +7,9 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "./node_modules/mocha/bin/mocha --recursive"
|
"test": "./node_modules/mocha/bin/mocha --recursive"
|
||||||
},
|
},
|
||||||
|
"browser": {
|
||||||
|
"fs": false
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"superagent": "3.5.2"
|
"superagent": "3.5.2"
|
||||||
},
|
},
|
||||||
|
@ -7,6 +7,9 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "./node_modules/mocha/bin/mocha --recursive"
|
"test": "./node_modules/mocha/bin/mocha --recursive"
|
||||||
},
|
},
|
||||||
|
"browser": {
|
||||||
|
"fs": false
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"superagent": "3.5.2"
|
"superagent": "3.5.2"
|
||||||
},
|
},
|
||||||
|
@ -7,6 +7,9 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "./node_modules/mocha/bin/mocha --recursive"
|
"test": "./node_modules/mocha/bin/mocha --recursive"
|
||||||
},
|
},
|
||||||
|
"browser": {
|
||||||
|
"fs": false
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"superagent": "3.5.2"
|
"superagent": "3.5.2"
|
||||||
},
|
},
|
||||||
|
@ -7,6 +7,9 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "./node_modules/mocha/bin/mocha --recursive"
|
"test": "./node_modules/mocha/bin/mocha --recursive"
|
||||||
},
|
},
|
||||||
|
"browser": {
|
||||||
|
"fs": false
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"superagent": "3.5.2"
|
"superagent": "3.5.2"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user