Home
last modified time | relevance | path

Searched refs:readJson (Results 1 – 25 of 35) sorted by relevance

12

/third_party/node/deps/npm/node_modules/init-package-json/
Dinit-package-json.js16 var readJson = require('read-package-json') variable
48 var es = readJson.extraSet
49 readJson.extraSet = es.filter(function (fn) {
52 readJson(packageFile, function (er, d) {
53 readJson.extraSet = es
79 var es = readJson.extraSet
80 readJson.extraSet = es.filter(function (fn) {
83 readJson.extras(packageFile, pkg, function (er, pkg) {
84 readJson.extraSet = es
/third_party/node/deps/npm/test/tap/
Dshrinkwrap-resolve-conflict.js74 function readJson (file) { function
88 readJson('npm-shrinkwrap.json'),
89 readJson('node_modules/modA/package.json'),
90 readJson('node_modules/modB/package.json'),
91 readJson('node_modules/modC/package.json'),
Dspec-local-specifiers.js37 function readJson (file) { function
544 var pjson = readJson(sbdir + '/package.json')
545 var shrinkwrap = readJson(sbdir + '/npm-shrinkwrap.json')
557 var pjson = readJson(sbdir + '/package.json')
558 var shrinkwrap = readJson(sbdir + '/npm-shrinkwrap.json')
569 var pjson = readJson(sbdir + '/package.json')
570 var shrinkwrap = readJson(sbdir + '/npm-shrinkwrap.json')
583 var pjson = readJson(sbdir + '/package.json')
584 var shrinkwrap = readJson(sbdir + '/npm-shrinkwrap.json')
600 var pjson = readJson(sbdirp + '/package.json')
[all …]
Dgit-dependency-install-link.js7 var readJson = require('read-package-json') variable
74 readJson(resolve(pkg, 'node_modules', 'child', 'package.json'), function (err, data) {
95 readJson(resolve(pkg, 'node_modules', 'child', 'package.json'), function (err, data) {
/third_party/node/deps/npm/lib/
Drun-script.js6 var readJson = require('read-package-json') variable
29 return readJson(json, function (er, d) {
39 readJson(pkgDir, function (er, d) {
48 readJson(path.join(npm.localPrefix, 'package.json'), function (er, d) {
61 readJson(path.resolve(pkgdir, 'package.json'), function (er, d) {
81 return readJson(json, function (er, d) {
Dpublish.js19 const readJson = BB.promisify(require('read-package-json')) constant
98 return readJson(path.join(arg, 'package.json'))
102 return readJson(path.join(arg, 'package.json'))
112 return readJson(path.join(arg, 'package.json'))
127 .then(() => readJson(path.join(extracted, 'package.json')))
Dpack.js33 const readJson = BB.promisify(require('read-package-json')) constant
98 .then(() => readJson(path.join(tmpTarget, 'package.json')))
105 return readJson(path.join(dir, 'package.json')).then((pkg) => {
135 return readJson(path.join(dir, 'package.json')).then((pkg) => {
138 return readJson(path.join(dir, 'package.json'))
294 readJson(path.join(dir, 'package.json')).then((pkg) => {
351 return readJson(path.join(dir, 'package.json'))
Dbuild.js16 var readJson = require('read-package-json') variable
42 readJson(path.resolve(npm.localPrefix, 'package.json'), function (er, pkg) {
66 readJson(path.resolve(folder, 'package.json'), function (er, pkg) {
Duninstall.js8 const readJson = require('read-package-json') constant
43 readJson(path.resolve(npm.localPrefix, 'package.json'), function (er, pkg) {
Dunpublish.js19 const readJson = BB.promisify(require('read-package-json')) constant
88 return readJson(cwdJson).then(data => {
Dunbuild.js5 const readJson = require('read-package-json') constant
36 readJson(path.resolve(folder, 'package.json'), function (er, pkg) {
Dlink.js138 var readJson = require('read-package-json')
142 readJson(path.resolve(me, 'package.json'), function (er, d) {
/third_party/node/deps/npm/node_modules/lock-verify/
Dindex.js12 const pjson = readJson(`${check}/package.json`)
13 let plock = readJson(`${check}/npm-shrinkwrap.json`)
14 .catch(() => readJson(`${check}/package-lock.json`))
74 function readJson (file) { function
/third_party/node/deps/npm/lib/utils/completion/
Dinstalled-shallow.js7 var readJson = require('read-package-json') variable
57 readJson(path.join(npm.dir, p, 'package.json'), function (er, d) {
68 readJson(path.join(globalDir, p, 'package.json'), function (er, d) {
/third_party/node/deps/npm/lib/utils/
Dread-local-package.js4 var readJson = require('read-package-json') variable
9 readJson(path.resolve(npm.prefix, 'package.json'), function (er, d) {
/third_party/node/deps/npm/node_modules/read-package-json/
DREADME.md18 var readJson = require('read-package-json')
20 // readJson(filename, [logFunction=noop], [strict=false], cb)
21 readJson('/path/to/package.json', console.error, false, function (er, data) {
31 ## readJson(file, [logFn = noop], [strict = false], cb)
45 ## readJson.log
53 ## readJson.extras(file, data, cb)
59 ## readJson.extraSet = [fn, fn, ...]
Dread-json.js16 module.exports = readJson
19 readJson.extraSet = [
34 function readJson (file, log_, strict_, cb_) { function
136 readJson.extras = extras
150 var set = readJson.extraSet
/third_party/node/deps/npm/node_modules/pacote/lib/fetchers/
Ddirectory.js8 const readJson = require('../util/read-json') constant
39 readFileAsync(pkgPath).then(readJson).catch({ code: 'ENOENT' }, err => {
43 readFileAsync(srPath).then(readJson).catch({ code: 'ENOENT' }, () => null),
/third_party/node/deps/npm/node_modules/libcipm/
Dindex.js117 readJson(prefix, 'package.json'),
118 readJson(prefix, 'package-lock.json', true),
119 readJson(prefix, 'npm-shrinkwrap.json', true),
261 .then(() => readJson(depPath, 'package.json'))
326 return readJson(parent.path(this.prefix), 'package.json')
420 module.exports._readJson = readJson
421 function readJson (jsonPath, name, ignoreMissing) { function
/third_party/typescript/scripts/build/
Dutils.js115 function readJson(jsonPath) { function
124 exports.readJson = readJson;
265 const project = readJson(resolvedProjectSpec);
290 const referencedProject = readJson(referencedSpec);
/third_party/node/deps/npm/lib/install/action/
Drefresh-package-json.js9 const readJson = Bluebird.promisify(require('read-package-json')) constant
15 return readJson(path.join(pkg.path, 'package.json'), false).then((metadata) => {
/third_party/node/deps/npm/test/need-npm5-update/
Dshrinkwrap-dev-dep-cycle.js73 function readJson (file) { function
93 var actualShrinkwrap = readJson(path.join(testdir, 'npm-shrinkwrap.json'))
/third_party/node/deps/npm/node_modules/pacote/lib/
Dfinalize-manifest.js16 const readJson = require('./util/read-json') constant
209 cb(null, readJson(data))
/third_party/node/deps/npm/node_modules/read-installed/
Dread-installed.js99 var readJson = require("read-package-json") variable
160 readJson(path.resolve(folder, "package.json"), function (er, data) {
/third_party/typescript/
DGulpfile.js15 const { exec, readJson, needsUpdate, getDiffTool, getDirSize, rm } = require("./scripts/build/utils…
30 const libraries = readJson("./src/lib/libs.json");

12