зеркало из https://github.com/Azure/autorest.git
Родитель
9f09509394
Коммит
b3dcc28d08
|
@ -34,7 +34,7 @@
|
|||
"typings": "./dist/main.d.ts",
|
||||
"devDependencies": {
|
||||
"@types/commonmark": "^0.27.0",
|
||||
"@types/js-yaml": "^3.5.31",
|
||||
"@types/js-yaml": "^3.10.0",
|
||||
"@types/jsonpath": "^0.1.29",
|
||||
"@types/node": "^8.0.28",
|
||||
"@types/source-map": "^0.5.0",
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"typings": "./dist/main.d.ts",
|
||||
"devDependencies": {
|
||||
"@types/commonmark": "^0.22.29",
|
||||
"@types/node": "^7.0.5",
|
||||
"@types/node": "^7.0.48",
|
||||
"@types/semver": "^5.3.30",
|
||||
"mocha": "3.2.0",
|
||||
"mocha-typescript": "1.0.22",
|
||||
|
@ -57,4 +57,4 @@
|
|||
},
|
||||
"patch": "const fs = require(`fs`); let txt = fs.readFileSync('./node_modules/npm/lib/install/action/extract.js','utf8').replace(`const ENABLE_WORKERS = process.platform === 'darwin'`, `const ENABLE_WORKERS = false;`); fs.writeFileSync('./node_modules/npm/lib/install/action/extract.js', txt ); txt = fs.readFileSync(`./node_modules/npm/lib/npm.js`,`utf8`).replace(`var j = parseJSON(fs.readFileSync(`, `var j = require(path.join(__dirname, '../package.json'));` ).replace(`path.join(__dirname, '../package.json')) + '')`,``); fs.writeFileSync(`./node_modules/npm/lib/npm.js`, txt ); txt = fs.readFileSync('./node_modules/npm/lib/pack.js','utf8').replace(`require.main.filename`, `require.resolve('../bin/npm-cli.js')`); fs.writeFileSync('./node_modules/npm/lib/pack.js', txt ); "
|
||||
}
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче